browser/base/content/sync/aboutSyncTabs.xul

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/browser/base/content/sync/aboutSyncTabs.xul	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,68 @@
     1.4 +<?xml version="1.0" encoding="UTF-8"?>
     1.5 +
     1.6 +<!-- This Source Code Form is subject to the terms of the Mozilla Public
     1.7 +   - License, v. 2.0. If a copy of the MPL was not distributed with this
     1.8 +   - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
     1.9 +
    1.10 +<?xml-stylesheet href="chrome://browser/skin/" type="text/css"?>
    1.11 +<?xml-stylesheet href="chrome://browser/skin/aboutSyncTabs.css" type="text/css"?>
    1.12 +<?xml-stylesheet href="chrome://browser/content/sync/aboutSyncTabs.css" type="text/css"?>
    1.13 +
    1.14 +<!DOCTYPE window [
    1.15 +  <!ENTITY % aboutSyncTabsDTD SYSTEM "chrome://browser/locale/aboutSyncTabs.dtd">
    1.16 +  %aboutSyncTabsDTD;
    1.17 +]>
    1.18 +
    1.19 +<window id="tabs-display"
    1.20 +        onload="RemoteTabViewer.init()"
    1.21 +        onunload="RemoteTabViewer.uninit()"
    1.22 +        xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
    1.23 +        xmlns:html="http://www.w3.org/1999/xhtml"
    1.24 +        title="&tabs.otherDevices.label;">
    1.25 +  <script type="application/javascript;version=1.8" src="chrome://browser/content/sync/aboutSyncTabs.js"/>
    1.26 +  <script type="application/javascript" src="chrome://browser/content/utilityOverlay.js"/>
    1.27 +  <html:head>
    1.28 +    <html:link rel="icon" href="chrome://browser/skin/sync-16.png"/>
    1.29 +  </html:head>
    1.30 +
    1.31 +  <popupset id="contextmenus">
    1.32 +    <menupopup id="tabListContext">
    1.33 +      <menuitem label="&tabs.context.openTab.label;"
    1.34 +                accesskey="&tabs.context.openTab.accesskey;"
    1.35 +                oncommand="RemoteTabViewer.openSelected()"
    1.36 +                showFor="single"/>
    1.37 +      <menuitem label="&tabs.context.bookmarkSingleTab.label;"
    1.38 +                accesskey="&tabs.context.bookmarkSingleTab.accesskey;"
    1.39 +                oncommand="RemoteTabViewer.bookmarkSingleTab(event)"
    1.40 +                showFor="single"/>
    1.41 +      <menuitem label="&tabs.context.openMultipleTabs.label;"
    1.42 +                accesskey="&tabs.context.openMultipleTabs.accesskey;"
    1.43 +                oncommand="RemoteTabViewer.openSelected()"
    1.44 +                showFor="multiple"/>
    1.45 +      <menuitem label="&tabs.context.bookmarkMultipleTabs.label;"
    1.46 +                accesskey="&tabs.context.bookmarkMultipleTabs.accesskey;"
    1.47 +                oncommand="RemoteTabViewer.bookmarkSelectedTabs()"
    1.48 +                showFor="multiple"/>
    1.49 +      <menuseparator/>
    1.50 +      <menuitem label="&tabs.context.refreshList.label;"
    1.51 +                accesskey="&tabs.context.refreshList.accesskey;"
    1.52 +                oncommand="RemoteTabViewer.buildList()"
    1.53 +                showFor="all"/>
    1.54 +    </menupopup>
    1.55 +  </popupset>
    1.56 +  <richlistbox context="tabListContext" id="tabsList" seltype="multiple"
    1.57 +               align="center" flex="1"
    1.58 +               onclick="RemoteTabViewer.handleClick(event)"
    1.59 +               oncontextmenu="RemoteTabViewer.adjustContextMenu(event)">
    1.60 +    <hbox id="headers" align="center">
    1.61 +      <label id="tabsListHeading"
    1.62 +             value="&tabs.otherDevices.label;"/>
    1.63 +      <spacer flex="1"/>
    1.64 +      <textbox type="search"
    1.65 +               emptytext="&tabs.searchText.label;"
    1.66 +               oncommand="RemoteTabViewer.filterTabs(event)"/>
    1.67 +    </hbox>
    1.68 +
    1.69 +  </richlistbox>
    1.70 +</window>
    1.71 +

mercurial