|
1 <?xml version="1.0" encoding="utf-8"?> |
|
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/content/devtools/inspector/inspector.css" type="text/css"?> |
|
8 <?xml-stylesheet href="chrome://browser/skin/devtools/common.css" type="text/css"?> |
|
9 <?xml-stylesheet href="chrome://browser/skin/devtools/widgets.css" type="text/css"?> |
|
10 <?xml-stylesheet href="chrome://browser/skin/devtools/inspector.css" type="text/css"?> |
|
11 <!DOCTYPE window [ |
|
12 <!ENTITY % inspectorDTD SYSTEM "chrome://browser/locale/devtools/inspector.dtd" > |
|
13 %inspectorDTD; |
|
14 ]> |
|
15 |
|
16 <window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> |
|
17 |
|
18 <script type="application/javascript;version=1.8" |
|
19 src="chrome://browser/content/devtools/theme-switching.js"/> |
|
20 |
|
21 <script type="application/javascript" |
|
22 src="chrome://global/content/viewSourceUtils.js"/> |
|
23 |
|
24 <commandset> |
|
25 <command id="nodeSearchCommand" |
|
26 oncommand="inspector.searchBox.focus()"/> |
|
27 </commandset> |
|
28 |
|
29 <keyset> |
|
30 <key id="nodeSearchKey" |
|
31 key="&inspectorSearchHTML.key;" |
|
32 modifiers="accel" |
|
33 command="nodeSearchCommand"/> |
|
34 </keyset> |
|
35 |
|
36 <popupset id="inspectorPopupSet"> |
|
37 <!-- Used by the Markup Panel, the Highlighter and the Breadcrumbs --> |
|
38 <menupopup id="inspector-node-popup"> |
|
39 <menuitem id="node-menu-edithtml" |
|
40 label="&inspectorHTMLEdit.label;" |
|
41 accesskey="&inspectorHTMLEdit.accesskey;" |
|
42 oncommand="inspector.editHTML()"/> |
|
43 <menuitem id="node-menu-copyinner" |
|
44 label="&inspectorHTMLCopyInner.label;" |
|
45 accesskey="&inspectorHTMLCopyInner.accesskey;" |
|
46 oncommand="inspector.copyInnerHTML()"/> |
|
47 <menuitem id="node-menu-copyouter" |
|
48 label="&inspectorHTMLCopyOuter.label;" |
|
49 accesskey="&inspectorHTMLCopyOuter.accesskey;" |
|
50 oncommand="inspector.copyOuterHTML()"/> |
|
51 <menuitem id="node-menu-copyuniqueselector" |
|
52 label="&inspectorCopyUniqueSelector.label;" |
|
53 accesskey="&inspectorCopyUniqueSelector.accesskey;" |
|
54 oncommand="inspector.copyUniqueSelector()"/> |
|
55 <menuitem id="node-menu-copyimagedatauri" |
|
56 label="&inspectorCopyImageDataUri.label;" |
|
57 oncommand="inspector.copyImageDataUri()"/> |
|
58 <menuseparator/> |
|
59 <menuitem id="node-menu-delete" |
|
60 label="&inspectorHTMLDelete.label;" |
|
61 accesskey="&inspectorHTMLDelete.accesskey;" |
|
62 oncommand="inspector.deleteNode()"/> |
|
63 <menuseparator/> |
|
64 <menuitem id="node-menu-pseudo-hover" |
|
65 label=":hover" type="checkbox" |
|
66 oncommand="inspector.togglePseudoClass(':hover')"/> |
|
67 <menuitem id="node-menu-pseudo-active" |
|
68 label=":active" type="checkbox" |
|
69 oncommand="inspector.togglePseudoClass(':active')"/> |
|
70 <menuitem id="node-menu-pseudo-focus" |
|
71 label=":focus" type="checkbox" |
|
72 oncommand="inspector.togglePseudoClass(':focus')"/> |
|
73 </menupopup> |
|
74 </popupset> |
|
75 |
|
76 <box flex="1" class="devtools-responsive-container theme-body"> |
|
77 <vbox flex="1"> |
|
78 <toolbar id="inspector-toolbar" |
|
79 class="devtools-toolbar" |
|
80 nowindowdrag="true"> |
|
81 <arrowscrollbox id="inspector-breadcrumbs" |
|
82 class="breadcrumbs-widget-container" |
|
83 flex="1" orient="horizontal" |
|
84 clicktoscroll="true"/> |
|
85 <textbox id="inspector-searchbox" |
|
86 type="search" |
|
87 timeout="50" |
|
88 class="devtools-searchinput" |
|
89 placeholder="&inspectorSearchHTML.label;"/> |
|
90 </toolbar> |
|
91 <vbox flex="1" id="markup-box"> |
|
92 </vbox> |
|
93 </vbox> |
|
94 <splitter class="devtools-side-splitter"/> |
|
95 <tabbox id="inspector-sidebar" handleCtrlTab="false" class="devtools-sidebar-tabs" hidden="true"> |
|
96 <tabs/> |
|
97 <tabpanels flex="1"/> |
|
98 </tabbox> |
|
99 </box> |
|
100 </window> |