1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/browser/devtools/canvasdebugger/canvasdebugger.xul Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,131 @@ 1.4 +<?xml version="1.0"?> 1.5 +<!-- This Source Code Form is subject to the terms of the Mozilla Public 1.6 + - License, v. 2.0. If a copy of the MPL was not distributed with this 1.7 + - file, You can obtain one at http://mozilla.org/MPL/2.0/. --> 1.8 +<?xml-stylesheet href="chrome://browser/skin/" type="text/css"?> 1.9 +<?xml-stylesheet href="chrome://browser/content/devtools/widgets.css" type="text/css"?> 1.10 +<?xml-stylesheet href="chrome://browser/skin/devtools/common.css" type="text/css"?> 1.11 +<?xml-stylesheet href="chrome://browser/skin/devtools/widgets.css" type="text/css"?> 1.12 +<?xml-stylesheet href="chrome://browser/skin/devtools/canvasdebugger.css" type="text/css"?> 1.13 +<!DOCTYPE window [ 1.14 + <!ENTITY % canvasDebuggerDTD SYSTEM "chrome://browser/locale/devtools/canvasdebugger.dtd"> 1.15 + %canvasDebuggerDTD; 1.16 +]> 1.17 + 1.18 +<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> 1.19 + <script src="chrome://browser/content/devtools/theme-switching.js"/> 1.20 + <script type="application/javascript" src="canvasdebugger.js"/> 1.21 + 1.22 + <hbox class="theme-body" flex="1"> 1.23 + <vbox id="snapshots-pane"> 1.24 + <toolbar id="snapshots-toolbar" 1.25 + class="devtools-toolbar"> 1.26 + <hbox id="snapshots-controls" 1.27 + class="devtools-toolbarbutton-group"> 1.28 + <toolbarbutton id="record-snapshot" 1.29 + class="devtools-toolbarbutton" 1.30 + oncommand="SnapshotsListView._onRecordButtonClick()" 1.31 + tooltiptext="&canvasDebuggerUI.recordSnapshot.tooltip;" 1.32 + hidden="true"/> 1.33 + <toolbarbutton id="import-snapshot" 1.34 + class="devtools-toolbarbutton" 1.35 + oncommand="SnapshotsListView._onImportButtonClick()" 1.36 + label="&canvasDebuggerUI.importSnapshot;"/> 1.37 + <toolbarbutton id="clear-snapshots" 1.38 + class="devtools-toolbarbutton" 1.39 + oncommand="SnapshotsListView._onClearButtonClick()" 1.40 + label="&canvasDebuggerUI.clearSnapshots;"/> 1.41 + </hbox> 1.42 + </toolbar> 1.43 + <vbox id="snapshots-list" flex="1"/> 1.44 + </vbox> 1.45 + 1.46 + <vbox id="debugging-pane" flex="1"> 1.47 + <hbox id="reload-notice" 1.48 + class="notice-container" 1.49 + align="center" 1.50 + pack="center" 1.51 + flex="1"> 1.52 + <button id="reload-notice-button" 1.53 + class="devtools-toolbarbutton" 1.54 + label="&canvasDebuggerUI.reloadNotice1;" 1.55 + oncommand="gFront.setup({ reload: true })"/> 1.56 + <label id="reload-notice-label" 1.57 + class="plain" 1.58 + value="&canvasDebuggerUI.reloadNotice2;"/> 1.59 + </hbox> 1.60 + 1.61 + <hbox id="empty-notice" 1.62 + class="notice-container" 1.63 + align="center" 1.64 + pack="center" 1.65 + flex="1" 1.66 + hidden="true"> 1.67 + <label value="&canvasDebuggerUI.emptyNotice1;"/> 1.68 + <button id="canvas-debugging-empty-notice-button" 1.69 + class="devtools-toolbarbutton" 1.70 + oncommand="SnapshotsListView._onRecordButtonClick()"/> 1.71 + <label value="&canvasDebuggerUI.emptyNotice2;"/> 1.72 + </hbox> 1.73 + 1.74 + <hbox id="import-notice" 1.75 + class="notice-container" 1.76 + align="center" 1.77 + pack="center" 1.78 + flex="1" 1.79 + hidden="true"> 1.80 + <label value="&canvasDebuggerUI.importNotice;"/> 1.81 + </hbox> 1.82 + 1.83 + <box id="debugging-pane-contents" 1.84 + class="devtools-responsive-container" 1.85 + flex="1" 1.86 + hidden="true"> 1.87 + <vbox id="calls-list-container" flex="1"> 1.88 + <toolbar id="debugging-toolbar" 1.89 + class="devtools-toolbar"> 1.90 + <hbox id="debugging-controls" 1.91 + class="devtools-toolbarbutton-group"> 1.92 + <toolbarbutton id="resume" 1.93 + class="devtools-toolbarbutton" 1.94 + oncommand="CallsListView._onResume()"/> 1.95 + <toolbarbutton id="step-over" 1.96 + class="devtools-toolbarbutton" 1.97 + oncommand="CallsListView._onStepOver()"/> 1.98 + <toolbarbutton id="step-in" 1.99 + class="devtools-toolbarbutton" 1.100 + oncommand="CallsListView._onStepIn()"/> 1.101 + <toolbarbutton id="step-out" 1.102 + class="devtools-toolbarbutton" 1.103 + oncommand="CallsListView._onStepOut()"/> 1.104 + </hbox> 1.105 + <toolbarbutton id="debugging-toolbar-sizer-button" 1.106 + class="devtools-toolbarbutton" 1.107 + label=""/> 1.108 + <scale id="calls-slider" 1.109 + movetoclick="true" 1.110 + flex="100"/> 1.111 + <textbox id="calls-searchbox" 1.112 + class="devtools-searchinput" 1.113 + placeholder="&canvasDebuggerUI.searchboxPlaceholder;" 1.114 + type="search" 1.115 + flex="1"/> 1.116 + </toolbar> 1.117 + <vbox id="calls-list" flex="1"/> 1.118 + </vbox> 1.119 + 1.120 + <splitter class="devtools-side-splitter"/> 1.121 + 1.122 + <vbox id="screenshot-container" 1.123 + hidden="true"> 1.124 + <vbox id="screenshot-image" flex="1"/> 1.125 + <label id="screenshot-dimensions" class="plain"/> 1.126 + </vbox> 1.127 + </box> 1.128 + 1.129 + <hbox id="snapshot-filmstrip" 1.130 + hidden="true"/> 1.131 + </vbox> 1.132 + 1.133 + </hbox> 1.134 +</window>