browser/devtools/inspector/inspector.xul

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

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

mercurial