toolkit/components/printing/content/printProgress.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
michael@0 3 <!-- This Source Code Form is subject to the terms of the Mozilla Public
michael@0 4 - License, v. 2.0. If a copy of the MPL was not distributed with this
michael@0 5 - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
michael@0 6
michael@0 7 <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
michael@0 8 <?xul-overlay href="chrome://global/content/dialogOverlay.xul"?>
michael@0 9
michael@0 10 <!DOCTYPE window SYSTEM "chrome://global/locale/printProgress.dtd">
michael@0 11
michael@0 12 <window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
michael@0 13 class="dialog"
michael@0 14 title="&printWindow.title;"
michael@0 15 style="width: 36em;"
michael@0 16 onload="onLoad()"
michael@0 17 onunload="onUnload()">
michael@0 18
michael@0 19 <script type="application/javascript" src="chrome://global/content/printProgress.js"/>
michael@0 20
michael@0 21 <!-- This is non-visible content that simply adds translatable string
michael@0 22 into the document so that it is accessible to JS code.
michael@0 23
michael@0 24 XXX-TODO:
michael@0 25 convert to use string bundles.
michael@0 26 -->
michael@0 27
michael@0 28 <data id="dialog.strings.dialogCloseLabel">&dialogClose.label;</data>
michael@0 29 <data id="dialog.strings.printComplete">&printComplete;</data>
michael@0 30 <data id="dialog.strings.progressText">&percentPrint;</data>
michael@0 31 <data id="dialog.strings.progressLabel">&progress;</data>
michael@0 32 <data id="dialog.strings.preparing">&preparing;</data>
michael@0 33
michael@0 34 <grid flex="1">
michael@0 35 <columns>
michael@0 36 <column/>
michael@0 37 <column/>
michael@0 38 <column/>
michael@0 39 </columns>
michael@0 40
michael@0 41 <rows>
michael@0 42 <row>
michael@0 43 <hbox pack="end">
michael@0 44 <label id="dialog.titleLabel" value="&title;"/>
michael@0 45 </hbox>
michael@0 46 <label id="dialog.title"/>
michael@0 47 </row>
michael@0 48 <row class="thin-separator">
michael@0 49 <hbox pack="end">
michael@0 50 <label id="dialog.progressLabel" control="dialog.progress" value="&progress;"/>
michael@0 51 </hbox>
michael@0 52 <label id="dialog.tempLabel" value="&preparing;"/>
michael@0 53 <progressmeter id="dialog.progress" mode="normal" value="0"/>
michael@0 54 <hbox pack="end" style="min-width: 2.5em;">
michael@0 55 <label id="dialog.progressText"/>
michael@0 56 </hbox>
michael@0 57 </row>
michael@0 58 </rows>
michael@0 59 </grid>
michael@0 60 <separator/>
michael@0 61 <hbox id="CancelButton" pack="end">
michael@0 62 <button id="cancel" label="&dialogCancel.label;" icon="cancel"
michael@0 63 oncommand="doCancelButton()"/>
michael@0 64 </hbox>
michael@0 65 </window>

mercurial