DXR is a code search and navigation tool aimed at making sense of large projects. It supports full-text and regex searches as well as structural queries.

Mercurial (9e2e265534e7)

VCS Links

Line Code
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 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125
<?xml version="1.0"?>
<!-- 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 overlay [

<!ENTITY % brandDTD SYSTEM "chrome://branding/locale/brand.dtd">
%brandDTD;
<!ENTITY % utilityDTD SYSTEM "chrome://communicator/locale/utilityOverlay.dtd">
%utilityDTD;

]>

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

  <script type="application/javascript" src="chrome://communicator/content/utilityOverlay.js"/>

  <!-- File Menu -->
  <menu id="menu_File" label="&fileMenu.label;" accesskey="&fileMenu.accesskey;"/>
  <menu id="menu_New" label="&newMenu.label;" accesskey="&newMenu.accesskey;"/>
  <menuitem id="menu_close" label="&closeCmd.label;" key="key_close" accesskey="&closeCmd.accesskey;" command="cmd_close"/>

  <!-- quit -->
  <menupopup id="menu_FilePopup">
    <menuseparator id="menu_FileQuitSeparator"/>
    <menuitem id="menu_FileQuitItem"
#ifdef XP_UNIX
      key="key_quit"
#ifndef XP_MACOSX
      label="&quitApplicationCmdUnix.label;"
      accesskey="&quitApplicationCmdUnix.accesskey;"
#else
      label="&quitApplicationCmdMac.label;"
      accesskey="&quitApplicationCmdMac.accesskey;"
#endif
#else
      label="&quitApplicationCmd.label;"
      accesskey="&quitApplicationCmd.accesskey;"
#endif
      command="cmd_quit"/>
  </menupopup>

  <!-- Edit Menu -->
  <menu id="menu_Edit" label="&editMenu.label;" accesskey="&editMenu.accesskey;"/>
  <menuitem id="menu_undo" label="&undoCmd.label;" key="key_undo"
            accesskey="&undoCmd.accesskey;" command="cmd_undo"/>
  <menuitem id="menu_redo" label="&redoCmd.label;" key="key_redo" accesskey="&redoCmd.accesskey;" command="cmd_redo"/>
  <menuitem id="menu_cut" label="&cutCmd.label;" key="key_cut" accesskey="&cutCmd.accesskey;" command="cmd_cut"/>
  <menuitem id="menu_copy" label="&copyCmd.label;" key="key_copy" accesskey="&copyCmd.accesskey;" command="cmd_copy"/>
  <menuitem id="menu_paste" label="&pasteCmd.label;" key="key_paste" accesskey="&pasteCmd.accesskey;" command="cmd_paste"/>
  <menuitem id="menu_delete" label="&deleteCmd.label;" key="key_delete" accesskey="&deleteCmd.accesskey;" command="cmd_delete"/>
  <menuitem id="menu_selectAll" label="&selectAllCmd.label;" key="key_selectAll" accesskey="&selectAllCmd.accesskey;" command="cmd_selectAll"/>

  <menu id="menu_Toolbars" label="&viewToolbarsMenu.label;" accesskey="&viewToolbarsMenu.accesskey;"/>

  <menuitem id="menu_showTaskbar" label="&showTaskbarCmd.label;" accesskey="&showTaskbarCmd.accesskey;"
            oncommand="goToggleToolbar('status-bar', 'menu_showTaskbar')"  checked="true"/>

  <!-- These key nodes are here only for show. The real bindings come from
       XBL, in platformHTMLBindings.xml. See bugs 57078 and 71779. -->

  <key id="key_close"  key="&closeCmd.key;" command="cmd_close" modifiers="accel"/>
#ifdef XP_UNIX
  <key id="key_quit" command="cmd_quit" modifiers="accel" key="&quitApplicationCmd.key;" />
#endif
  <key id="key_closeWindow"  key="&closeCmd.key;" command="cmd_closeWindow" modifiers="accel,shift"/>
#ifdef XP_MACOSX
  <key id="key_delete" keycode="VK_BACK"     command="cmd_delete"/>
  <key id="key_delete2" keycode="VK_DELETE"  command="cmd_delete"/>
#else
  <key id="key_delete" keycode="VK_DELETE" command="cmd_delete"/>
#endif
  <key id="key_selectAll" key="&selectAllCmd.key;"
       modifiers="accel"/>
  <key id="key_undo" key="&undoCmd.key;" modifiers="accel"/>
  <key id="key_redo"
#ifdef XP_UNIX
       key="&undoCmd.key;"
       modifiers="shift, accel"/>
#else
       key="&redoCmd.key;"
       modifiers="accel"/>
#endif
  <key id="key_cut" key="&cutCmd.key;" modifiers="accel"/>
  <key id="key_copy" key="&copyCmd.key;" modifiers="accel"/>
  <key id="key_paste" key="&pasteCmd.key;" modifiers="accel"/>

  <commandset id="globalEditMenuItems" commandupdater="true" events="focus" oncommandupdate="goUpdateGlobalEditMenuItems()"/>
  <commandset id="selectEditMenuItems" commandupdater="true" events="select" oncommandupdate="goUpdateSelectEditMenuItems()"/>
  <commandset id="undoEditMenuItems" commandupdater="true" events="undo" oncommandupdate="goUpdateUndoEditMenuItems()"/>
  <commandset id="clipboardEditMenuItems" commandupdater="true" events="clipboard" oncommandupdate="goUpdatePasteMenuItems()"/>

  <command id="cmd_quit" oncommand="goQuitApplication()"/>
  <command id="cmd_copyLink" oncommand="goDoCommand('cmd_copyLink')" disabled="false"/>
  <command id="cmd_copyImage" oncommand="goCopyImage()" disabled="false"/>
  <command id="cmd_undo" oncommand="goDoCommand('cmd_undo')" disabled="true"/>
  <command id="cmd_redo" oncommand="goDoCommand('cmd_redo')" disabled="true"/>
  <command id="cmd_cut" oncommand="goDoCommand('cmd_cut')" disabled="true"/>
  <command id="cmd_copy" oncommand="goDoCommand('cmd_copy')" disabled="true"/>
  <command id="cmd_paste"  oncommand="goDoCommand('cmd_paste')" disabled="true"/>
  <command id="cmd_delete" oncommand="goDoCommand('cmd_delete')" valueDefault="&deleteCmd.label;"
           valueDefaultAccessKey="&deleteCmd.accesskey;" disabled="true"/>
  <command id="cmd_selectAll" oncommand="goDoCommand('cmd_selectAll')" disabled="true"/>

  <!-- Not needed yet, window will need this: -->
  <!-- broadcaster id="cmd_preferences"/ -->

#ifndef XP_MACOSX
  <menuitem id="menu_preferences"
#ifdef XP_UNIX

            label="&preferencesCmdUnix.label;"
            accesskey="&preferencesCmdUnix.accesskey;"/>
#else
            label="&preferencesCmd2.label;"
            accesskey="&preferencesCmd2.accesskey;"/>
#endif
#endif

  <!-- View Menu -->
  <menu id="menu_View" label="&viewMenu.label;" accesskey="&viewMenu.accesskey;"/>

</overlay>