Thu, 22 Jan 2015 13:21:57 +0100
Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6
michael@0 | 1 | <?xml version="1.0"?> |
michael@0 | 2 | <!-- This Source Code Form is subject to the terms of the Mozilla Public |
michael@0 | 3 | - License, v. 2.0. If a copy of the MPL was not distributed with this |
michael@0 | 4 | - file, You can obtain one at http://mozilla.org/MPL/2.0/. --> |
michael@0 | 5 | <?xml-stylesheet href="chrome://browser/skin/" type="text/css"?> |
michael@0 | 6 | <?xml-stylesheet href="chrome://browser/content/devtools/widgets.css" type="text/css"?> |
michael@0 | 7 | <?xml-stylesheet href="chrome://browser/skin/devtools/common.css" type="text/css"?> |
michael@0 | 8 | <?xml-stylesheet href="chrome://browser/skin/devtools/widgets.css" type="text/css"?> |
michael@0 | 9 | <?xml-stylesheet href="chrome://browser/skin/devtools/canvasdebugger.css" type="text/css"?> |
michael@0 | 10 | <!DOCTYPE window [ |
michael@0 | 11 | <!ENTITY % canvasDebuggerDTD SYSTEM "chrome://browser/locale/devtools/canvasdebugger.dtd"> |
michael@0 | 12 | %canvasDebuggerDTD; |
michael@0 | 13 | ]> |
michael@0 | 14 | |
michael@0 | 15 | <window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> |
michael@0 | 16 | <script src="chrome://browser/content/devtools/theme-switching.js"/> |
michael@0 | 17 | <script type="application/javascript" src="canvasdebugger.js"/> |
michael@0 | 18 | |
michael@0 | 19 | <hbox class="theme-body" flex="1"> |
michael@0 | 20 | <vbox id="snapshots-pane"> |
michael@0 | 21 | <toolbar id="snapshots-toolbar" |
michael@0 | 22 | class="devtools-toolbar"> |
michael@0 | 23 | <hbox id="snapshots-controls" |
michael@0 | 24 | class="devtools-toolbarbutton-group"> |
michael@0 | 25 | <toolbarbutton id="record-snapshot" |
michael@0 | 26 | class="devtools-toolbarbutton" |
michael@0 | 27 | oncommand="SnapshotsListView._onRecordButtonClick()" |
michael@0 | 28 | tooltiptext="&canvasDebuggerUI.recordSnapshot.tooltip;" |
michael@0 | 29 | hidden="true"/> |
michael@0 | 30 | <toolbarbutton id="import-snapshot" |
michael@0 | 31 | class="devtools-toolbarbutton" |
michael@0 | 32 | oncommand="SnapshotsListView._onImportButtonClick()" |
michael@0 | 33 | label="&canvasDebuggerUI.importSnapshot;"/> |
michael@0 | 34 | <toolbarbutton id="clear-snapshots" |
michael@0 | 35 | class="devtools-toolbarbutton" |
michael@0 | 36 | oncommand="SnapshotsListView._onClearButtonClick()" |
michael@0 | 37 | label="&canvasDebuggerUI.clearSnapshots;"/> |
michael@0 | 38 | </hbox> |
michael@0 | 39 | </toolbar> |
michael@0 | 40 | <vbox id="snapshots-list" flex="1"/> |
michael@0 | 41 | </vbox> |
michael@0 | 42 | |
michael@0 | 43 | <vbox id="debugging-pane" flex="1"> |
michael@0 | 44 | <hbox id="reload-notice" |
michael@0 | 45 | class="notice-container" |
michael@0 | 46 | align="center" |
michael@0 | 47 | pack="center" |
michael@0 | 48 | flex="1"> |
michael@0 | 49 | <button id="reload-notice-button" |
michael@0 | 50 | class="devtools-toolbarbutton" |
michael@0 | 51 | label="&canvasDebuggerUI.reloadNotice1;" |
michael@0 | 52 | oncommand="gFront.setup({ reload: true })"/> |
michael@0 | 53 | <label id="reload-notice-label" |
michael@0 | 54 | class="plain" |
michael@0 | 55 | value="&canvasDebuggerUI.reloadNotice2;"/> |
michael@0 | 56 | </hbox> |
michael@0 | 57 | |
michael@0 | 58 | <hbox id="empty-notice" |
michael@0 | 59 | class="notice-container" |
michael@0 | 60 | align="center" |
michael@0 | 61 | pack="center" |
michael@0 | 62 | flex="1" |
michael@0 | 63 | hidden="true"> |
michael@0 | 64 | <label value="&canvasDebuggerUI.emptyNotice1;"/> |
michael@0 | 65 | <button id="canvas-debugging-empty-notice-button" |
michael@0 | 66 | class="devtools-toolbarbutton" |
michael@0 | 67 | oncommand="SnapshotsListView._onRecordButtonClick()"/> |
michael@0 | 68 | <label value="&canvasDebuggerUI.emptyNotice2;"/> |
michael@0 | 69 | </hbox> |
michael@0 | 70 | |
michael@0 | 71 | <hbox id="import-notice" |
michael@0 | 72 | class="notice-container" |
michael@0 | 73 | align="center" |
michael@0 | 74 | pack="center" |
michael@0 | 75 | flex="1" |
michael@0 | 76 | hidden="true"> |
michael@0 | 77 | <label value="&canvasDebuggerUI.importNotice;"/> |
michael@0 | 78 | </hbox> |
michael@0 | 79 | |
michael@0 | 80 | <box id="debugging-pane-contents" |
michael@0 | 81 | class="devtools-responsive-container" |
michael@0 | 82 | flex="1" |
michael@0 | 83 | hidden="true"> |
michael@0 | 84 | <vbox id="calls-list-container" flex="1"> |
michael@0 | 85 | <toolbar id="debugging-toolbar" |
michael@0 | 86 | class="devtools-toolbar"> |
michael@0 | 87 | <hbox id="debugging-controls" |
michael@0 | 88 | class="devtools-toolbarbutton-group"> |
michael@0 | 89 | <toolbarbutton id="resume" |
michael@0 | 90 | class="devtools-toolbarbutton" |
michael@0 | 91 | oncommand="CallsListView._onResume()"/> |
michael@0 | 92 | <toolbarbutton id="step-over" |
michael@0 | 93 | class="devtools-toolbarbutton" |
michael@0 | 94 | oncommand="CallsListView._onStepOver()"/> |
michael@0 | 95 | <toolbarbutton id="step-in" |
michael@0 | 96 | class="devtools-toolbarbutton" |
michael@0 | 97 | oncommand="CallsListView._onStepIn()"/> |
michael@0 | 98 | <toolbarbutton id="step-out" |
michael@0 | 99 | class="devtools-toolbarbutton" |
michael@0 | 100 | oncommand="CallsListView._onStepOut()"/> |
michael@0 | 101 | </hbox> |
michael@0 | 102 | <toolbarbutton id="debugging-toolbar-sizer-button" |
michael@0 | 103 | class="devtools-toolbarbutton" |
michael@0 | 104 | label=""/> |
michael@0 | 105 | <scale id="calls-slider" |
michael@0 | 106 | movetoclick="true" |
michael@0 | 107 | flex="100"/> |
michael@0 | 108 | <textbox id="calls-searchbox" |
michael@0 | 109 | class="devtools-searchinput" |
michael@0 | 110 | placeholder="&canvasDebuggerUI.searchboxPlaceholder;" |
michael@0 | 111 | type="search" |
michael@0 | 112 | flex="1"/> |
michael@0 | 113 | </toolbar> |
michael@0 | 114 | <vbox id="calls-list" flex="1"/> |
michael@0 | 115 | </vbox> |
michael@0 | 116 | |
michael@0 | 117 | <splitter class="devtools-side-splitter"/> |
michael@0 | 118 | |
michael@0 | 119 | <vbox id="screenshot-container" |
michael@0 | 120 | hidden="true"> |
michael@0 | 121 | <vbox id="screenshot-image" flex="1"/> |
michael@0 | 122 | <label id="screenshot-dimensions" class="plain"/> |
michael@0 | 123 | </vbox> |
michael@0 | 124 | </box> |
michael@0 | 125 | |
michael@0 | 126 | <hbox id="snapshot-filmstrip" |
michael@0 | 127 | hidden="true"/> |
michael@0 | 128 | </vbox> |
michael@0 | 129 | |
michael@0 | 130 | </hbox> |
michael@0 | 131 | </window> |