browser/components/downloads/content/indicatorOverlay.xul

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

     1 <?xml version="1.0"?>
     2 <!-- -*- Mode: HTML; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- -->
     3 <!-- vim: set ts=2 et sw=2 tw=80: -->
     5 <!-- This Source Code Form is subject to the terms of the Mozilla Public
     6    - License, v. 2.0. If a copy of the MPL was not distributed with this file,
     7    - You can obtain one at http://mozilla.org/MPL/2.0/. -->
     9 <!DOCTYPE overlay [
    10   <!ENTITY % browserDTD SYSTEM "chrome://browser/locale/browser.dtd" >
    11   %browserDTD;
    12 ]>
    14 <overlay xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    15          xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
    16          id="indicatorOverlay">
    18   <!-- We dynamically add the stack with the progress meter and notification icon,
    19        originally loaded lazily because of performance reasons, to the existing
    20        downloads-button. -->
    21   <toolbarbutton id="downloads-button" indicator="true">
    22     <!-- The panel's anchor area is smaller than the outer button, but must
    23          always be visible and must not move or resize when the indicator
    24          state changes, otherwise the panel could change its position or lose
    25          its arrow unexpectedly. -->
    26     <stack id="downloads-indicator-anchor" class="toolbarbutton-icon">
    27       <vbox id="downloads-indicator-progress-area" pack="center">
    28         <description id="downloads-indicator-counter"/>
    29         <progressmeter id="downloads-indicator-progress" class="plain"
    30                        min="0" max="100"/>
    31       </vbox>
    32       <vbox id="downloads-indicator-icon"/>
    33     </stack>
    34   </toolbarbutton>
    35 </overlay>

mercurial