Wed, 31 Dec 2014 06:09:35 +0100
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"?> |
michael@0 | 2 | <!-- vim: set shiftwidth=2 tabstop=8 expandtab : |
michael@0 | 3 | - |
michael@0 | 4 | - |
michael@0 | 5 | - This Source Code Form is subject to the terms of the Mozilla Public |
michael@0 | 6 | - License, v. 2.0. If a copy of the MPL was not distributed with this |
michael@0 | 7 | - file, You can obtain one at http://mozilla.org/MPL/2.0/. --> |
michael@0 | 8 | |
michael@0 | 9 | <!DOCTYPE window [ |
michael@0 | 10 | <!ENTITY % layoutdebugDTD |
michael@0 | 11 | SYSTEM "chrome://layoutdebug/locale/layoutdebug.dtd"> |
michael@0 | 12 | %layoutdebugDTD; |
michael@0 | 13 | |
michael@0 | 14 | <!ENTITY W3C_RDFNS "http://www.w3.org/1999/02/22-rdf-syntax-ns#"> |
michael@0 | 15 | <!ENTITY NC_RDFNS "http://home.netscape.com/NC-rdf#"> |
michael@0 | 16 | <!ENTITY LDB_RDFNS "http://mozilla.org/newlayout/LDB-rdf#"> |
michael@0 | 17 | ]> |
michael@0 | 18 | |
michael@0 | 19 | <?xml-stylesheet href="chrome://communicator/skin/" type="text/css" ?> |
michael@0 | 20 | |
michael@0 | 21 | <?xul-overlay href="chrome://global/content/globalOverlay.xul"?> |
michael@0 | 22 | <?xul-overlay href="chrome://communicator/content/tasksOverlay.xul"?> |
michael@0 | 23 | |
michael@0 | 24 | <!-- |
michael@0 | 25 | |
michael@0 | 26 | NOTE: Because this window is used for layout regression tests, the |
michael@0 | 27 | persist attribute should never be used on anything. Otherwise there |
michael@0 | 28 | is a risk of running baseline and verify runs under different |
michael@0 | 29 | conditions. |
michael@0 | 30 | |
michael@0 | 31 | --> |
michael@0 | 32 | |
michael@0 | 33 | <window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" |
michael@0 | 34 | xmlns:rdf="&W3C_RDFNS;" |
michael@0 | 35 | id="main-window" |
michael@0 | 36 | align="stretch" |
michael@0 | 37 | title="&ldb.MainWindow.title;" |
michael@0 | 38 | titlemodifier="&ldb.MainWindow.title;" |
michael@0 | 39 | contenttitlesetting="true" |
michael@0 | 40 | titlemenuseparator=" - " |
michael@0 | 41 | windowtype="mozapp:layoutdebug" |
michael@0 | 42 | onload="OnLDBLoad();" |
michael@0 | 43 | onunload="OnLDBUnload();" |
michael@0 | 44 | width="610" height="450" |
michael@0 | 45 | screenX="4" screenY="4" |
michael@0 | 46 | > |
michael@0 | 47 | |
michael@0 | 48 | <script src="chrome://layoutdebug/content/layoutdebug.js"/> |
michael@0 | 49 | |
michael@0 | 50 | <commandset id="tasksCommands"> |
michael@0 | 51 | <command id="cmd_close" oncommand="window.close();"/> |
michael@0 | 52 | <command id="cmd_quit"/> |
michael@0 | 53 | </commandset> |
michael@0 | 54 | |
michael@0 | 55 | <keyset id="tasksKeys"> |
michael@0 | 56 | <key id="openFileKb" key="&ldb.Open.commandkey;" oncommand="openFile()" modifiers="accel"/> |
michael@0 | 57 | <key id="key_close"/> |
michael@0 | 58 | <key id="key_quit"/> |
michael@0 | 59 | </keyset> |
michael@0 | 60 | |
michael@0 | 61 | <vbox flex="1"> |
michael@0 | 62 | |
michael@0 | 63 | <toolbox> |
michael@0 | 64 | <menubar id="main-menubar" grippyhidden="true"> |
michael@0 | 65 | <menu id="menu_file" label="File" accesskey="F"> |
michael@0 | 66 | <menupopup id="menu_FilePopup"> |
michael@0 | 67 | <menuitem id="menu_open" label="&ldb.Open.label;" accesskey="&ldb.Open.accesskey;" key="openFileKb" oncommand="openFile()"/> |
michael@0 | 68 | <menuitem id="menu_close" label="Close" accesskey="C" oncommand="window.close();"/> |
michael@0 | 69 | </menupopup> |
michael@0 | 70 | </menu> |
michael@0 | 71 | <menu label="&ldb.RegressionTestMenu.label;" |
michael@0 | 72 | accesskey="&ldb.RegressionTestMenu.accesskey;"> |
michael@0 | 73 | <menupopup> |
michael@0 | 74 | <menuitem type="checkbox" id="menu_RTestPrintMode" label="&ldb.RegressionPrintMode.label;" accesskey="&ldb.RegressionPrintMode.accesskey;"/> |
michael@0 | 75 | <menu label="&ldb.RunBaselineMenu.label;" |
michael@0 | 76 | accesskey="&ldb.RunBaselineMenu.accesskey;" |
michael@0 | 77 | id="menu_RTest_baseline" |
michael@0 | 78 | datasources="rdf:null" |
michael@0 | 79 | containment="&NC_RDFNS;child" |
michael@0 | 80 | ref="&LDB_RDFNS;Root"> |
michael@0 | 81 | <template> |
michael@0 | 82 | <menupopup> |
michael@0 | 83 | <menuitem uri="rdf:*" |
michael@0 | 84 | label="rdf:&NC_RDFNS;name" |
michael@0 | 85 | name="rdf:&NC_RDFNS;name" |
michael@0 | 86 | oncommand="RunRTest(this.getAttribute('name'), true, document.getElementById('menu_RTestPrintMode').getAttribute('checked'));" /> |
michael@0 | 87 | </menupopup> |
michael@0 | 88 | </template> |
michael@0 | 89 | </menu> |
michael@0 | 90 | <menu label="&ldb.RunVerifyMenu.label;" |
michael@0 | 91 | accesskey="&ldb.RunVerifyMenu.accesskey;" |
michael@0 | 92 | id="menu_RTest_verify" |
michael@0 | 93 | datasources="rdf:null" |
michael@0 | 94 | containment="&NC_RDFNS;child" |
michael@0 | 95 | ref="&LDB_RDFNS;Root"> |
michael@0 | 96 | <template> |
michael@0 | 97 | <menupopup> |
michael@0 | 98 | <menuitem uri="rdf:*" |
michael@0 | 99 | label="rdf:&NC_RDFNS;name" |
michael@0 | 100 | name="rdf:&NC_RDFNS;name" |
michael@0 | 101 | oncommand="RunRTest(this.getAttribute('name'), false, document.getElementById('menu_RTestPrintMode').getAttribute('checked'));" /> |
michael@0 | 102 | </menupopup> |
michael@0 | 103 | </template> |
michael@0 | 104 | </menu> |
michael@0 | 105 | <menuseparator /> |
michael@0 | 106 | <menuitem id="menu_AddNewList" label="&ldb.AddNewList.label;" accesskey="&ldb.AddNewList.accesskey;" oncommand="gRTestIndexList.add();" /> |
michael@0 | 107 | <menu label="&ldb.RemoveListMenu.label;" |
michael@0 | 108 | accesskey="&ldb.RemoveListMenu.accesskey;" |
michael@0 | 109 | id="menu_RTest_remove" |
michael@0 | 110 | datasources="rdf:null" |
michael@0 | 111 | containment="&NC_RDFNS;child" |
michael@0 | 112 | ref="&LDB_RDFNS;Root"> |
michael@0 | 113 | <template> |
michael@0 | 114 | <menupopup> |
michael@0 | 115 | <menuitem uri="rdf:*" |
michael@0 | 116 | label="rdf:&NC_RDFNS;name" |
michael@0 | 117 | name="rdf:&NC_RDFNS;name" |
michael@0 | 118 | oncommand="gRTestIndexList.remove(this.getAttribute('name'));" /> |
michael@0 | 119 | </menupopup> |
michael@0 | 120 | </template> |
michael@0 | 121 | </menu> |
michael@0 | 122 | </menupopup> |
michael@0 | 123 | </menu> |
michael@0 | 124 | <menu label="&ldb.ToggleMenu.label;" |
michael@0 | 125 | accesskey="&ldb.ToggleMenu.accesskey;"> |
michael@0 | 126 | <menupopup> |
michael@0 | 127 | <menuitem type="checkbox" id="menu_visualDebugging" label="&ldb.visualDebugging.label;" accesskey="&ldb.visualDebugging.accesskey;" oncommand="toggle(this);" /> |
michael@0 | 128 | <menuitem type="checkbox" id="menu_visualEventDebugging" label="&ldb.visualEventDebugging.label;" accesskey="&ldb.visualEventDebugging.accesskey;" oncommand="toggle(this);" /> |
michael@0 | 129 | <menuseparator /> |
michael@0 | 130 | <menuitem type="checkbox" id="menu_paintFlashing" label="&ldb.paintFlashing.label;" accesskey="&ldb.paintFlashing.accesskey;" oncommand="toggle(this);" /> |
michael@0 | 131 | <menuitem type="checkbox" id="menu_paintDumping" label="&ldb.paintDumping.label;" accesskey="&ldb.paintDumping.accesskey;" oncommand="toggle(this);" /> |
michael@0 | 132 | <menuitem type="checkbox" id="menu_invalidateDumping" label="&ldb.invalidateDumping.label;" accesskey="&ldb.invalidateDumping.accesskey;" oncommand="toggle(this);" /> |
michael@0 | 133 | <menuseparator /> |
michael@0 | 134 | <menuitem type="checkbox" id="menu_eventDumping" label="&ldb.eventDumping.label;" accesskey="&ldb.eventDumping.accesskey;" oncommand="toggle(this);" /> |
michael@0 | 135 | <menuitem type="checkbox" id="menu_motionEventDumping" label="&ldb.motionEventDumping.label;" accesskey="&ldb.motionEventDumping.accesskey;" oncommand="toggle(this);" /> |
michael@0 | 136 | <menuitem type="checkbox" id="menu_crossingEventDumping" label="&ldb.crossingEventDumping.label;" accesskey="&ldb.crossingEventDumping.accesskey;" oncommand="toggle(this);" /> |
michael@0 | 137 | <menuseparator /> |
michael@0 | 138 | <menuitem type="checkbox" id="menu_reflowCounts" label="&ldb.reflowCounts.label;" accesskey="&ldb.reflowCounts.accesskey;" oncommand="toggle(this);" /> |
michael@0 | 139 | </menupopup> |
michael@0 | 140 | </menu> |
michael@0 | 141 | <menu label="&ldb.DumpMenu.label;" |
michael@0 | 142 | accesskey="&ldb.DumpMenu.accesskey;"> |
michael@0 | 143 | <menupopup> |
michael@0 | 144 | <menuitem id="menu_dumpWebShells" label="&ldb.dumpWebShells.label;" accesskey="&ldb.dumpWebShells.accesskey;" oncommand="gDebugger.dumpWebShells();" /> |
michael@0 | 145 | <menuitem id="menu_dumpContent" label="&ldb.dumpContent.label;" accesskey="&ldb.dumpContent.accesskey;" oncommand="gDebugger.dumpContent();" /> |
michael@0 | 146 | <menuitem id="menu_dumpFrames" label="&ldb.dumpFrames.label;" accesskey="&ldb.dumpFrames.accesskey;" oncommand="gDebugger.dumpFrames();" /> |
michael@0 | 147 | <menuitem id="menu_dumpViews" label="&ldb.dumpViews.label;" accesskey="&ldb.dumpViews.accesskey;" oncommand="gDebugger.dumpViews();" /> |
michael@0 | 148 | <menuseparator /> |
michael@0 | 149 | <menuitem id="menu_dumpStyleSheets" label="&ldb.dumpStyleSheets.label;" accesskey="&ldb.dumpStyleSheets.accesskey;" oncommand="gDebugger.dumpStyleSheets();" /> |
michael@0 | 150 | <menuitem id="menu_dumpStyleContexts" label="&ldb.dumpStyleContexts.label;" accesskey="&ldb.dumpStyleContexts.accesskey;" oncommand="gDebugger.dumpStyleContexts();" /> |
michael@0 | 151 | <menuseparator /> |
michael@0 | 152 | <menuitem id="menu_dumpReflowStats" label="&ldb.dumpReflowStats.label;" accesskey="&ldb.dumpReflowStats.accesskey;" oncommand="gDebugger.dumpReflowStats();" /> |
michael@0 | 153 | </menupopup> |
michael@0 | 154 | </menu> |
michael@0 | 155 | <menu id="tasksMenu"/> |
michael@0 | 156 | <menu id="windowMenu"/> |
michael@0 | 157 | <menu id="menu_Help"/> |
michael@0 | 158 | </menubar> |
michael@0 | 159 | |
michael@0 | 160 | <toolbar grippyhidden="true"> |
michael@0 | 161 | <toolbarbutton id="back-button" class="toolbarbutton-1" |
michael@0 | 162 | label="&ldb.BackButton.label;" |
michael@0 | 163 | oncommand="gBrowser.goBack();" /> |
michael@0 | 164 | <toolbarbutton id="forward-button" class="toolbarbutton-1" |
michael@0 | 165 | label="&ldb.ForwardButton.label;" |
michael@0 | 166 | oncommand="gBrowser.goForward();" /> |
michael@0 | 167 | <toolbarbutton id="reload-button" class="toolbarbutton-1" |
michael@0 | 168 | label="&ldb.ReloadButton.label;" |
michael@0 | 169 | oncommand="gBrowser.reload();" /> |
michael@0 | 170 | <toolbarbutton id="stop-button" class="toolbarbutton-1" |
michael@0 | 171 | label="&ldb.StopButton.label;" |
michael@0 | 172 | oncommand="gBrowser.stop();" /> |
michael@0 | 173 | |
michael@0 | 174 | <textbox id="urlbar" flex="1" |
michael@0 | 175 | onkeypress="if (event.keyCode == 13) |
michael@0 | 176 | gBrowser.loadURI(this.value);" /> |
michael@0 | 177 | </toolbar> |
michael@0 | 178 | </toolbox> |
michael@0 | 179 | |
michael@0 | 180 | <browser flex="1" id="browser" type="content-primary" |
michael@0 | 181 | homepage="about:blank" /> |
michael@0 | 182 | |
michael@0 | 183 | <hbox> |
michael@0 | 184 | <description id="status-text" value="" /> |
michael@0 | 185 | </hbox> |
michael@0 | 186 | </vbox> |
michael@0 | 187 | </window> |