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