browser/devtools/framework/toolbox.xul
author Girish Sharma <scrapmachines@gmail.com>
Fri, 21 Jun 2013 19:24:35 +0300
changeset 147652 c8bec69452510bdf8a342966b649570818b2a5c0
parent 142501 9ae9cc383d0ff2ad7cb44ed35a366ab8508890b9
child 151608 ed6e47fb4bfedbd974cd5a7fd895fea788259e01
permissions -rw-r--r--
Bug 873848 - Make the developer toolbar consistent with Toolbox design, r=jwalker, paul, jaws

<?xml version="1.0" encoding="utf-8"?>
<!-- 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/. -->
<!DOCTYPE window [
<!ENTITY % toolboxDTD SYSTEM "chrome://browser/locale/devtools/toolbox.dtd" >
 %toolboxDTD;
]>
<?xml-stylesheet href="chrome://browser/skin/" type="text/css"?>
<?xml-stylesheet href="chrome://browser/content/devtools/framework/toolbox.css" type="text/css"?>
<?xml-stylesheet href="chrome://browser/skin/devtools/common.css" type="text/css"?>
<?xml-stylesheet href="chrome://browser/skin/devtools/toolbox.css" type="text/css"?>
<?xul-overlay href="chrome://global/content/editMenuOverlay.xul"?>

<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">

  <script type="application/javascript" src="chrome://global/content/globalOverlay.js"/>

  <commandset id="editMenuCommands"/>
  <keyset id="editMenuKeys"/>
  <keyset id="toolbox-keyset">
    <key id="toolbox-options-key"
         key="&toolboxOptionsButton.key;"
         oncommand="void(0);"
         modifiers="shift, accel"/>
  </keyset>

  <notificationbox id="toolbox-notificationbox" flex="1">
    <toolbar class="devtools-tabbar">
#ifdef XP_MACOSX
      <hbox id="toolbox-controls">
        <toolbarbutton id="toolbox-close"
                       class="devtools-closebutton"
                       tooltiptext="&toolboxCloseButton.tooltip;"/>
        <hbox id="toolbox-dock-buttons"/>
      </hbox>
#endif
      <hbox id="toolbox-tabs" flex="1">
      </hbox>
      <hbox id="toolbox-buttons" pack="end"/>
#ifndef XP_MACOSX
      <vbox id="toolbox-controls-separator"/>
      <hbox id="toolbox-controls">
        <hbox id="toolbox-dock-buttons"/>
        <toolbarbutton id="toolbox-close"
                       class="devtools-closebutton"
                       tooltiptext="&toolboxCloseButton.tooltip;"/>
      </hbox>
#endif
    </toolbar>
    <deck id="toolbox-deck" flex="1">
    </deck>
  </notificationbox>
</window>