toolkit/components/help/content/helpContextOverlay.xul

Sat, 03 Jan 2015 20:18:00 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Sat, 03 Jan 2015 20:18:00 +0100
branch
TOR_BUG_3246
changeset 7
129ffea94266
permissions
-rw-r--r--

Conditionally enable double key logic according to:
private browsing mode or privacy.thirdparty.isolate preference and
implement in GetCookieStringCommon and FindCookie where it counts...
With some reservations of how to convince FindCookie users to test
condition and pass a nullptr when disabling double key logic.

michael@0 1 <?xml version="1.0"?>
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
michael@0 6 <!DOCTYPE overlay [
michael@0 7 <!ENTITY % helpDTD SYSTEM "chrome://help/locale/help.dtd">
michael@0 8 %helpDTD;
michael@0 9 ]>
michael@0 10 <overlay id="contentAreaContextOverlay"
michael@0 11 xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
michael@0 12
michael@0 13 # Help Window's right-click menu
michael@0 14 <popupset id="contentAreaContextSet">
michael@0 15 <menupopup id="contentAreaContextMenu"
michael@0 16 onpopupshowing="goUpdateCommand('cmd_copy')">
michael@0 17 <menuitem id="context-back"
michael@0 18 label="&backButton.label;"
michael@0 19 accesskey="&backButton.accesskey;"
michael@0 20 observes="canGoBack"
michael@0 21 oncommand="goBack()"/>
michael@0 22 <menuitem id="context-forward"
michael@0 23 label="&forwardButton.label;"
michael@0 24 accesskey="&forwardButton.accesskey;"
michael@0 25 observes="canGoForward"
michael@0 26 oncommand="goForward()"/>
michael@0 27 <menuseparator/>
michael@0 28 <menuitem id="context-copy"
michael@0 29 label="&copyCmd.label;"
michael@0 30 accesskey="&copyCmd.accesskey;"
michael@0 31 command="cmd_copy"
michael@0 32 disabled="true"/>
michael@0 33 <menuitem id="context-selectall"
michael@0 34 label="&selectAllCmd.label;"
michael@0 35 accesskey="&selectAllCmd.accesskey;"
michael@0 36 command="cmd_selectAll"/>
michael@0 37 <menuseparator/>
michael@0 38 <menuitem id="zoom-in"
michael@0 39 label="&fullZoomEnlargeBtn.label;"
michael@0 40 accesskey="&fullZoomEnlargeBtn.accesskey;"
michael@0 41 oncommand="ZoomManager.enlarge();"/>
michael@0 42 <menuitem id="zoom-out"
michael@0 43 label="&fullZoomReduceBtn.label;"
michael@0 44 accesskey="&fullZoomReduceBtn.accesskey;"
michael@0 45 oncommand="ZoomManager.reduce();"/>
michael@0 46 #ifdef XP_WIN
michael@0 47 #define HELP_ALWAYS_RAISED_TOGGLE
michael@0 48 #endif
michael@0 49 #ifdef HELP_ALWAYS_RAISED_TOGGLE
michael@0 50 <menuseparator/>
michael@0 51 <menuitem id="context-zlevel"
michael@0 52 type="checkbox"
michael@0 53 checked="true"
michael@0 54 persist="checked"
michael@0 55 label="&zLevel.label;"
michael@0 56 accesskey="&zLevel.accesskey;"
michael@0 57 oncommand="toggleZLevel(this);"/>
michael@0 58 #endif
michael@0 59 </menupopup>
michael@0 60 </popupset>
michael@0 61 </overlay>

mercurial