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 | |
michael@0 | 3 | # -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- |
michael@0 | 4 | # This Source Code Form is subject to the terms of the Mozilla Public |
michael@0 | 5 | # License, v. 2.0. If a copy of the MPL was not distributed with this |
michael@0 | 6 | # file, You can obtain one at http://mozilla.org/MPL/2.0/. |
michael@0 | 7 | |
michael@0 | 8 | <?xml-stylesheet href="chrome://browser/skin/" type="text/css"?> |
michael@0 | 9 | <?xul-overlay href="chrome://global/content/editMenuOverlay.xul"?> |
michael@0 | 10 | <?xul-overlay href="chrome://browser/content/places/placesOverlay.xul"?> |
michael@0 | 11 | |
michael@0 | 12 | <!DOCTYPE page [ |
michael@0 | 13 | <!ENTITY % browserDTD SYSTEM "chrome://browser/locale/browser.dtd"> |
michael@0 | 14 | %browserDTD; |
michael@0 | 15 | <!ENTITY % textcontextDTD SYSTEM "chrome://global/locale/textcontext.dtd"> |
michael@0 | 16 | %textcontextDTD; |
michael@0 | 17 | ]> |
michael@0 | 18 | |
michael@0 | 19 | <page id="webpanels-window" |
michael@0 | 20 | xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" |
michael@0 | 21 | xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" |
michael@0 | 22 | onload="load()" onunload="unload()"> |
michael@0 | 23 | <script type="application/javascript" src="chrome://global/content/contentAreaUtils.js"/> |
michael@0 | 24 | <script type="application/javascript" src="chrome://browser/content/browser.js"/> |
michael@0 | 25 | <script type="application/javascript" src="chrome://global/content/inlineSpellCheckUI.js"/> |
michael@0 | 26 | <script type="application/javascript" src="chrome://browser/content/nsContextMenu.js"/> |
michael@0 | 27 | <script type="application/javascript" src="chrome://browser/content/web-panels.js"/> |
michael@0 | 28 | |
michael@0 | 29 | <stringbundleset id="stringbundleset"> |
michael@0 | 30 | <stringbundle id="bundle_browser" src="chrome://browser/locale/browser.properties"/> |
michael@0 | 31 | </stringbundleset> |
michael@0 | 32 | |
michael@0 | 33 | <broadcasterset id="mainBroadcasterSet"> |
michael@0 | 34 | <broadcaster id="isFrameImage"/> |
michael@0 | 35 | </broadcasterset> |
michael@0 | 36 | |
michael@0 | 37 | <commandset id="mainCommandset"> |
michael@0 | 38 | <command id="Browser:Back" |
michael@0 | 39 | oncommand="getPanelBrowser().webNavigation.goBack();" |
michael@0 | 40 | disabled="true"/> |
michael@0 | 41 | <command id="Browser:Forward" |
michael@0 | 42 | oncommand="getPanelBrowser().webNavigation.goForward();" |
michael@0 | 43 | disabled="true"/> |
michael@0 | 44 | <command id="Browser:Stop" oncommand="PanelBrowserStop();"/> |
michael@0 | 45 | <command id="Browser:Reload" oncommand="PanelBrowserReload();"/> |
michael@0 | 46 | </commandset> |
michael@0 | 47 | |
michael@0 | 48 | <popupset id="mainPopupSet"> |
michael@0 | 49 | <tooltip id="aHTMLTooltip" page="true"/> |
michael@0 | 50 | <menupopup id="contentAreaContextMenu" pagemenu="start" |
michael@0 | 51 | onpopupshowing="if (event.target != this) |
michael@0 | 52 | return true; |
michael@0 | 53 | gContextMenu = new nsContextMenu(this, event.shiftKey); |
michael@0 | 54 | if (gContextMenu.shouldDisplay) |
michael@0 | 55 | document.popupNode = this.triggerNode; |
michael@0 | 56 | return gContextMenu.shouldDisplay;" |
michael@0 | 57 | onpopuphiding="if (event.target != this) |
michael@0 | 58 | return; |
michael@0 | 59 | gContextMenu.hiding(); |
michael@0 | 60 | gContextMenu = null;"> |
michael@0 | 61 | #include browser-context.inc |
michael@0 | 62 | </menupopup> |
michael@0 | 63 | </popupset> |
michael@0 | 64 | |
michael@0 | 65 | <commandset id="editMenuCommands"/> |
michael@0 | 66 | <browser id="web-panels-browser" persist="cachedurl" type="content" flex="1" |
michael@0 | 67 | context="contentAreaContextMenu" tooltip="aHTMLTooltip" |
michael@0 | 68 | onclick="window.parent.contentAreaClick(event, true);"/> |
michael@0 | 69 | </page> |