browser/base/content/browser-allTabsMenu.inc.xul
author Mark Striemer <mstriemer@mozilla.com>
Wed, 06 Jun 2018 15:48:21 -0500
changeset 480134 b5c365e6f133c66e4b3b1e71f1343ba553a277ec
child 480692 c583095f5b08fdaaf8fde3b101c5bc306c3316e6
permissions -rw-r--r--
Bug 1446101 - Part 2: Convert the all tabs panel to photon styles r=dao MozReview-Commit-ID: 3VzqnG6X5rw

<!-- 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/. -->

<panel id="allTabsMenu"
       class="cui-widget-panel"
       role="group"
       type="arrow"
       hidden="true"
       flip="slide"
       position="bottomcenter topright"
       noautofocus="true">
  <panelmultiview mainViewId="allTabsMenu-allTabsView" disablekeynav="true">
    <panelview id="allTabsMenu-allTabsView" class="PanelUI-subView">
      <vbox class="panel-subview-body">
        <toolbarbutton id="allTabsUndoCloseButton"
                       class="undo-close-tab subviewbutton subviewbutton-iconic"
                       label="&undoCloseTab.label;"
                       key="key_undoCloseTab"
                       command="History:UndoCloseTab"/>
        <toolbarseparator/>
        <toolbarbutton class="container-tabs-button subviewbutton subviewbutton-nav"
                       closemenu="none"
                       oncommand="PanelUI.showSubView('allTabsMenu-containerTabsView', this);"
                       label="&newUserContext.label;"/>
        <toolbarseparator class="container-tabs-separator"/>
        <toolbarbutton id="allTabsMenu-hiddenTabsButton"
                       class="hidden-tabs-button subviewbutton subviewbutton-nav"
                       closemenu="none"
                       oncommand="PanelUI.showSubView('allTabsMenu-hiddenTabsView', this);"
                       label="&hiddenTabs.label;" />
        <toolbarseparator class="hidden-tabs-separator"/>
        <vbox id="allTabsMenu-allTabsViewTabs" class="panel-subview-body"/>
      </vbox>
    </panelview>

    <panelview id="allTabsMenu-hiddenTabsView" class="PanelUI-subView">
      <vbox class="panel-subview-body"/>
    </panelview>

    <panelview id="allTabsMenu-containerTabsView" class="PanelUI-subView">
      <vbox class="panel-subview-body">
        <toolbarseparator class="container-tabs-submenu-separator"/>
        <toolbarbutton class="subviewbutton"
                       label="&manageUserContext.label;"
                       accesskey="&manageUserContext.accesskey;"
                       command="Browser:OpenAboutContainers"/>
      </vbox>
    </panelview>
  </panelmultiview>
</panel>