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 (341e6b4a9882)

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

<?xml-stylesheet href="chrome://communicator/skin/" type="text/css"?>
<?xml-stylesheet href="chrome://communicator/skin/viewSourceOverlay.css" type="text/css"?>

<?xul-overlay href="chrome://communicator/content/utilityOverlay.xul"?>
<?xul-overlay href="chrome://communicator/content/tasksOverlay.xul"?>

<!DOCTYPE overlay [

<!ENTITY % navDTD SYSTEM "chrome://navigator/locale/navigator.dtd">
%navDTD;

]>

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

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

  <window id="viewSource">
    <commandset id="tasksCommands"/>
    <command id="cmd_newNavigator"/>
    <command id="cmd_newPrivateWindow"/>
    <command id="cmd_newEditor"/>
    <command id="cmd_editPage" oncommand="ViewSourceEditPage();"/>
    <command id="cmd_find"
             oncommand="findInPage(getFindInstData());"/>
    <command id="cmd_findAgain"
             oncommand="findAgainInPage(getFindInstData(), false);"/>
    <command id="cmd_findPrevious"
             oncommand="findAgainInPage(getFindInstData(), true);"/>
    <stringbundle id="findBundle"
                  src="chrome://global/locale/finddialog.properties"/>
  </window>

  <keyset id="viewSourceKeys">
    <keyset id="tasksKeys"/>
    <key id="key_newBlankPage"/>
    <key id="key_newNavigator"/>
    <key id="key_newPrivateWindow"/>
    <key id="key_editPage" key="&editPageCmd.commandkey;"
         command="Browser:EditPage" modifiers="accel"/>
  </keyset>

  <menubar id="viewSource-main-menubar"
           class="chromeclass-menubar"
           grippytooltiptext="&menuBar.tooltip;">
    <menu id="menu_file">
      <menupopup id="menu_FilePopup">
        <menu id="menu_New" position="1">
          <menupopup id="menu_NewPopup">
            <menuitem id="menu_newNavigator"/>
            <menuitem id="menu_newPrivateWindow"/>
            <menuitem id="menu_newEditor"/>
          </menupopup>
        </menu>
        <menuitem id="menu_editPage" insertafter="menu_savePage"
                  key="key_editPage" command="cmd_editPage"
                  label="&editPageCmd.label;"
                  accesskey="&editPageCmd.accesskey;"/>
        <menuseparator insertbefore="menu_pageSetup"/>
      </menupopup>
    </menu>

    <!-- tasks menu filled from tasksOverlay -->
    <menu id="tasksMenu"/>

    <!-- window menu filled from tasksOverlay -->
    <menu id="windowMenu"/>

    <!-- help menu filled from globalOverlay -->
    <menu id="menu_Help"/>
  </menubar>

</overlay>