/**
 * Map of ui elements accessible in a page info window
 *
 * @param {Object} aDocument Document of the chrome window
 */
function PageInfoUI(aDocument) {
  widgets.Region.call(this, "tag", "#main-window", aDocument);

  // Get the instance of the main menu
  this.mainMenu = this._controller.getMenu("menubar");

  this.panelSelector = new widgets.RadioGroup("tag", "#viewGroup", this);
  this.deck = new widgets.Region("tag", "#mainDeck", this);
}
/**
 * Map of ui elements accessible in a browser window.
 *
 * @param {Object} aDocument Document of the chrome or content window
 */
function BrowserUI(aDocument) {
  widgets.Region.call(this, "tag", "#main-window", aDocument);

  this.navBar = new navBar.NavBar("tag", "#nav-bar", this);
  this.tabBar = new tabBar.TabBar("tag", "#TabsToolbar", this);
}