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.

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

mercurial