summaryrefslogtreecommitdiffstats
path: root/browser/base/content/browser-box.inc.xhtml
blob: b0308911446dd6fc549401371a85faa6341f8338 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.

<hbox flex="1" id="browser">
  <html:sidebar-main id="sidebar-main" flex="1" hidden="true"></html:sidebar-main>
  <vbox id="sidebar-box" hidden="true" class="chromeclass-extrachrome">
    <box id="sidebar-header" align="center">
      <toolbarbutton id="sidebar-switcher-target" class="tabbable" aria-expanded="false">
        <image id="sidebar-icon" consumeanchor="sidebar-switcher-target"/>
        <label id="sidebar-title" crop="end" control="sidebar"/>
        <image id="sidebar-switcher-arrow"/>
      </toolbarbutton>
      <image id="sidebar-throbber"/>
      <spacer id="sidebar-spacer"/>
      <toolbarbutton id="sidebar-close" class="close-icon tabbable" data-l10n-id="sidebar-close-button" oncommand="SidebarController.hide();"/>
    </box>
    <browser id="sidebar" autoscroll="false" disablehistory="true" disablefullscreen="true" tooltip="aHTMLTooltip"/>
  </vbox>
  <splitter id="sidebar-splitter" class="chromeclass-extrachrome sidebar-splitter" resizebefore="sibling" resizeafter="none" hidden="true"/>
  <vbox id="appcontent" flex="1">
    <!-- gNotificationBox will be added here lazily. -->
    <tabbox id="tabbrowser-tabbox"
            flex="1" tabcontainer="tabbrowser-tabs">
      <tabpanels id="tabbrowser-tabpanels"
                  flex="1" selectedIndex="0"/>
    </tabbox>
  </vbox>
</hbox>