toolbox.xul 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!-- This Source Code Form is subject to the terms of the Mozilla Public
  3. - License, v. 2.0. If a copy of the MPL was not distributed with this
  4. - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
  5. <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
  6. <?xml-stylesheet href="chrome://devtools/skin/toolbox.css" type="text/css"?>
  7. <?xml-stylesheet href="resource://devtools/client/shared/components/notification-box.css" type="text/css"?>
  8. <?xul-overlay href="chrome://global/content/editMenuOverlay.xul"?>
  9. <!DOCTYPE window [
  10. <!ENTITY % toolboxDTD SYSTEM "chrome://devtools/locale/toolbox.dtd" >
  11. %toolboxDTD;
  12. <!ENTITY % editMenuStrings SYSTEM "chrome://global/locale/editMenuOverlay.dtd">
  13. %editMenuStrings;
  14. <!ENTITY % globalKeysDTD SYSTEM "chrome://global/locale/globalKeys.dtd">
  15. %globalKeysDTD;
  16. ]>
  17. <window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  18. xmlns:html="http://www.w3.org/1999/xhtml">
  19. <script type="application/javascript;version=1.8"
  20. src="chrome://devtools/content/shared/theme-switching.js"/>
  21. <script type="application/javascript"
  22. src="chrome://global/content/viewSourceUtils.js"/>
  23. <script type="application/javascript" src="chrome://global/content/globalOverlay.js"/>
  24. <script type="application/javascript;version=1.8"
  25. src="chrome://devtools/content/framework/toolbox-init.js"/>
  26. <commandset id="editMenuCommands"/>
  27. <keyset id="editMenuKeys"/>
  28. <popupset>
  29. <menupopup id="toolbox-textbox-context-popup">
  30. <menuitem id="cMenu_undo"/>
  31. <menuseparator/>
  32. <menuitem id="cMenu_cut"/>
  33. <menuitem id="cMenu_copy"/>
  34. <menuitem id="cMenu_paste"/>
  35. <menuitem id="cMenu_delete"/>
  36. <menuseparator/>
  37. <menuitem id="cMenu_selectAll"/>
  38. </menupopup>
  39. </popupset>
  40. <vbox id="toolbox-container" flex="1">
  41. <div xmlns="http://www.w3.org/1999/xhtml" id="toolbox-notificationbox"/>
  42. <toolbar class="devtools-tabbar">
  43. <hbox id="toolbox-picker-container" />
  44. <hbox id="toolbox-tabs" flex="1" role="tablist" />
  45. <hbox id="toolbox-buttons" pack="end">
  46. <html:button id="command-button-frames"
  47. class="command-button command-button-invertable devtools-button"
  48. title="&toolboxFramesTooltip;"
  49. hidden="true" />
  50. <html:button id="command-button-noautohide"
  51. class="command-button command-button-invertable devtools-button"
  52. title="&toolboxNoAutoHideTooltip;"
  53. hidden="true" />
  54. </hbox>
  55. <vbox id="toolbox-controls-separator" class="devtools-separator"/>
  56. <hbox id="toolbox-option-container"/>
  57. <hbox id="toolbox-controls">
  58. <hbox id="toolbox-dock-buttons"/>
  59. <html:button id="toolbox-close"
  60. class="devtools-button"
  61. title="&toolboxCloseButton.tooltip;"/>
  62. </hbox>
  63. </toolbar>
  64. <vbox flex="1" class="theme-body">
  65. <!-- Set large flex to allow the toolbox-panel-webconsole to have a
  66. height set to a small value without flexing to fill up extra
  67. space. There must be a flex on both to ensure that the console
  68. panel itself is sized properly -->
  69. <box id="toolbox-deck" flex="1000" minheight="75" />
  70. <splitter id="toolbox-console-splitter" class="devtools-horizontal-splitter" hidden="true" />
  71. <box minheight="75" flex="1" id="toolbox-panel-webconsole" collapsed="true" />
  72. </vbox>
  73. <tooltip id="aHTMLTooltip" page="true" />
  74. </vbox>
  75. </window>