Wed, 31 Dec 2014 13:27:57 +0100
Ignore runtime configuration files generated during quality assurance.
michael@0 | 1 | <?xml version="1.0"?> |
michael@0 | 2 | |
michael@0 | 3 | # -*- Mode: HTML -*- |
michael@0 | 4 | # This Source Code Form is subject to the terms of the Mozilla Public |
michael@0 | 5 | # License, v. 2.0. If a copy of the MPL was not distributed with this |
michael@0 | 6 | # file, You can obtain one at http://mozilla.org/MPL/2.0/. |
michael@0 | 7 | |
michael@0 | 8 | <bindings id="tabPreviews" |
michael@0 | 9 | xmlns="http://www.mozilla.org/xbl" |
michael@0 | 10 | xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" |
michael@0 | 11 | xmlns:xbl="http://www.mozilla.org/xbl"> |
michael@0 | 12 | <binding id="ctrlTab-preview" extends="chrome://global/content/bindings/button.xml#button-base"> |
michael@0 | 13 | <content pack="center"> |
michael@0 | 14 | <xul:stack> |
michael@0 | 15 | <xul:vbox class="ctrlTab-preview-inner" align="center" pack="center" |
michael@0 | 16 | xbl:inherits="width=canvaswidth"> |
michael@0 | 17 | <xul:hbox class="tabPreview-canvas" xbl:inherits="style=canvasstyle"> |
michael@0 | 18 | <children/> |
michael@0 | 19 | </xul:hbox> |
michael@0 | 20 | <xul:label xbl:inherits="value=label,crop" class="plain"/> |
michael@0 | 21 | </xul:vbox> |
michael@0 | 22 | <xul:hbox class="ctrlTab-favicon-container" xbl:inherits="hidden=noicon"> |
michael@0 | 23 | <xul:image class="ctrlTab-favicon" xbl:inherits="src=image"/> |
michael@0 | 24 | </xul:hbox> |
michael@0 | 25 | </xul:stack> |
michael@0 | 26 | </content> |
michael@0 | 27 | <handlers> |
michael@0 | 28 | <handler event="mouseover" action="ctrlTab._mouseOverFocus(this);"/> |
michael@0 | 29 | <handler event="command" action="ctrlTab.pick(this);"/> |
michael@0 | 30 | <handler event="click" button="1" action="ctrlTab.remove(this);"/> |
michael@0 | 31 | #ifdef XP_MACOSX |
michael@0 | 32 | # Control+click is a right click on OS X |
michael@0 | 33 | <handler event="click" button="2" action="ctrlTab.pick(this);"/> |
michael@0 | 34 | #endif |
michael@0 | 35 | </handlers> |
michael@0 | 36 | </binding> |
michael@0 | 37 | </bindings> |