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 (d8847129d134)

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 126 127 128 129 130 131 132 133 134
<?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://browser/skin/" type="text/css"?>
<?xml-stylesheet href="chrome://browser/content/devtools/widgets.css" type="text/css"?>
<?xml-stylesheet href="chrome://browser/skin/devtools/common.css" type="text/css"?>
<?xml-stylesheet href="chrome://browser/skin/devtools/widgets.css" type="text/css"?>
<?xml-stylesheet href="chrome://browser/skin/devtools/canvasdebugger.css" type="text/css"?>
<!DOCTYPE window [
  <!ENTITY % canvasDebuggerDTD SYSTEM "chrome://browser/locale/devtools/canvasdebugger.dtd">
  %canvasDebuggerDTD;
]>

<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
  <script src="chrome://browser/content/devtools/theme-switching.js"/>
  <script type="application/javascript" src="canvasdebugger.js"/>

  <hbox class="theme-body" flex="1">
    <vbox id="snapshots-pane">
      <toolbar id="snapshots-toolbar"
               class="devtools-toolbar">
        <hbox id="snapshots-controls">
          <toolbarbutton id="record-snapshot"
                         class="devtools-toolbarbutton"
                         oncommand="SnapshotsListView._onRecordButtonClick()"
                         tooltiptext="&canvasDebuggerUI.recordSnapshot.tooltip;"
                         hidden="true"/>
          <hbox class="devtools-toolbarbutton-group">
            <toolbarbutton id="import-snapshot"
                           class="devtools-toolbarbutton"
                           oncommand="SnapshotsListView._onImportButtonClick()"
                           label="&canvasDebuggerUI.importSnapshot;"/>
            <toolbarbutton id="clear-snapshots"
                           class="devtools-toolbarbutton"
                           oncommand="SnapshotsListView._onClearButtonClick()"
                           label="&canvasDebuggerUI.clearSnapshots;"/>
           </hbox>
        </hbox>
      </toolbar>
      <vbox id="snapshots-list" flex="1"/>
    </vbox>

    <vbox id="debugging-pane" class="devtools-main-content" flex="1">
      <hbox id="reload-notice"
            class="notice-container"
            align="center"
            pack="center"
            flex="1">
        <button id="reload-notice-button"
                class="devtools-toolbarbutton"
                standalone="true"
                label="&canvasDebuggerUI.reloadNotice1;"
                oncommand="gFront.setup({ reload: true })"/>
        <label id="reload-notice-label"
               class="plain"
               value="&canvasDebuggerUI.reloadNotice2;"/>
      </hbox>

      <hbox id="empty-notice"
            class="notice-container"
            align="center"
            pack="center"
            flex="1"
            hidden="true">
        <label value="&canvasDebuggerUI.emptyNotice1;"/>
        <button id="canvas-debugging-empty-notice-button"
                class="devtools-toolbarbutton"
                standalone="true"
                oncommand="SnapshotsListView._onRecordButtonClick()"/>
        <label value="&canvasDebuggerUI.emptyNotice2;"/>
      </hbox>

      <hbox id="import-notice"
            class="notice-container"
            align="center"
            pack="center"
            flex="1"
            hidden="true">
        <label value="&canvasDebuggerUI.importNotice;"/>
      </hbox>

      <box id="debugging-pane-contents"
           class="devtools-responsive-container"
           flex="1"
           hidden="true">
        <vbox id="calls-list-container" flex="1">
          <toolbar id="debugging-toolbar"
                   class="devtools-toolbar">
            <hbox id="debugging-controls"
                  class="devtools-toolbarbutton-group">
              <toolbarbutton id="resume"
                             class="devtools-toolbarbutton"
                             oncommand="CallsListView._onResume()"/>
              <toolbarbutton id="step-over"
                             class="devtools-toolbarbutton"
                             oncommand="CallsListView._onStepOver()"/>
              <toolbarbutton id="step-in"
                             class="devtools-toolbarbutton"
                             oncommand="CallsListView._onStepIn()"/>
              <toolbarbutton id="step-out"
                             class="devtools-toolbarbutton"
                             oncommand="CallsListView._onStepOut()"/>
            </hbox>
            <toolbarbutton id="debugging-toolbar-sizer-button"
                           class="devtools-toolbarbutton"
                           label=""/>
            <scale id="calls-slider"
                   movetoclick="true"
                   flex="100"/>
            <textbox id="calls-searchbox"
                     class="devtools-searchinput"
                     placeholder="&canvasDebuggerUI.searchboxPlaceholder;"
                     type="search"
                     flex="1"/>
          </toolbar>
          <vbox id="calls-list" flex="1"/>
        </vbox>

        <splitter class="devtools-side-splitter"/>

        <vbox id="screenshot-container"
              hidden="true">
          <vbox id="screenshot-image" flex="1"/>
          <label id="screenshot-dimensions" class="plain"/>
        </vbox>
      </box>

      <hbox id="snapshot-filmstrip"
            hidden="true"/>
    </vbox>

  </hbox>
</window>