browser/devtools/framework/toolbox.xul
author Yeuk Hon Wong <yeukhon@acm.org>
Thu, 16 Jan 2014 08:21:30 -0500
changeset 163693 d470ebf7d063f6a8c20896ad1efb552beb1d5b3f
parent 158959 71fcb255a8cf1ed38f530a421d70bf989a824b24
child 185458 6940c3eb040ee476b0203d267c4cac6037962b41
permissions -rw-r--r--
Bug 918397 - CSP deprecation warning and dual CSP headers warning should be mutually exclusive. r=grobinson, r=sstamm

<?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/skin/devtools/common.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;version=1.8"
          src="chrome://browser/content/devtools/theme-switching.js"/>
  <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"/>
    <key id="toolbox-next-tool-key"
         key="&toolboxNextTool.key;"
         oncommand="void(0);"
         modifiers="accel"/>
    <key id="toolbox-previous-tool-key"
         key="&toolboxPreviousTool.key;"
         oncommand="void(0);"
         modifiers="accel"/>
    <key id="toolbox-zoom-in-key"
         key="&toolboxZoomIn.key;"
         oncommand="void(0);"
         modifiers="accel"/>
    <key id="toolbox-zoom-in-key2"
         key="&toolboxZoomIn.key2;"
         oncommand="void(0);"
         modifiers="accel"/>
    <key id="toolbox-zoom-out-key"
         key="&toolboxZoomOut.key;"
         oncommand="void(0);"
         modifiers="accel"/>
    <key id="toolbox-zoom-reset-key"
         key="&toolboxZoomReset.key;"
         oncommand="void(0);"
         modifiers="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>
    <vbox flex="1">
      <deck id="toolbox-deck" flex="1" minheight="75" />
      <splitter id="toolbox-console-splitter" class="devtools-horizontal-splitter" hidden="true" />
      <box minheight="75" flex="1" id="toolbox-panel-webconsole" collapsed="true" />
    </vbox>
  </notificationbox>
</window>