toolkit/components/printing/content/printPreviewProgress.xul

Thu, 15 Jan 2015 15:59:08 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 15:59:08 +0100
branch
TOR_BUG_9701
changeset 10
ac0c01689b40
permissions
-rw-r--r--

Implement a real Private Browsing Mode condition by changing the API/ABI;
This solves Tor bug #9701, complying with disk avoidance documented in
https://www.torproject.org/projects/torbrowser/design/#disk-avoidance.

     1 <?xml version="1.0"?> 
     3 <!-- This Source Code Form is subject to the terms of the Mozilla Public
     4    - License, v. 2.0. If a copy of the MPL was not distributed with this
     5    - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
     7 <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
     8 <?xul-overlay href="chrome://global/content/dialogOverlay.xul"?>
    10 <!DOCTYPE window SYSTEM "chrome://global/locale/printPreviewProgress.dtd">
    12 <window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
    13         class="dialog"
    14         title="&printWindow.title;"
    15         style="width: 36em;"
    16         onload="onLoad()"
    17         onunload="onUnload()">
    19   <script type="application/javascript" src="chrome://global/content/printPreviewProgress.js"/>
    21     <grid flex="1">
    22       <columns>
    23         <column/>
    24         <column/>
    25       </columns>
    27       <rows>
    28         <row>
    29           <hbox pack="end">
    30             <label id="dialog.titleLabel" value="&title;"/>
    31           </hbox>
    32           <label id="dialog.title"/>
    33         </row>
    34         <row class="thin-separator">             
    35           <hbox pack="end">
    36             <label id="dialog.progressSpaces" value="&progress;"/>
    37           </hbox>
    38             <label id="dialog.progressLabel" value="&preparing;"/>
    39         </row>
    40       </rows>
    41     </grid>
    42 </window>

mercurial