browser/base/content/browser-tabPreviews.xml

Wed, 31 Dec 2014 06:55:46 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:55:46 +0100
changeset 1
ca08bd8f51b2
permissions
-rw-r--r--

Added tag TORBROWSER_REPLICA for changeset 6474c204b198

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

mercurial