|
1 <?xml version="1.0" encoding="UTF-8"?> |
|
2 |
|
3 <!-- This Source Code Form is subject to the terms of the Mozilla Public |
|
4 - License, v. 2.0. If a copy of the MPL was not distributed with this |
|
5 - file, You can obtain one at http://mozilla.org/MPL/2.0/. --> |
|
6 |
|
7 <?xml-stylesheet href="chrome://browser/skin/" type="text/css"?> |
|
8 <?xml-stylesheet href="chrome://browser/skin/aboutSyncTabs.css" type="text/css"?> |
|
9 <?xml-stylesheet href="chrome://browser/content/sync/aboutSyncTabs.css" type="text/css"?> |
|
10 |
|
11 <!DOCTYPE window [ |
|
12 <!ENTITY % aboutSyncTabsDTD SYSTEM "chrome://browser/locale/aboutSyncTabs.dtd"> |
|
13 %aboutSyncTabsDTD; |
|
14 ]> |
|
15 |
|
16 <window id="tabs-display" |
|
17 onload="RemoteTabViewer.init()" |
|
18 onunload="RemoteTabViewer.uninit()" |
|
19 xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" |
|
20 xmlns:html="http://www.w3.org/1999/xhtml" |
|
21 title="&tabs.otherDevices.label;"> |
|
22 <script type="application/javascript;version=1.8" src="chrome://browser/content/sync/aboutSyncTabs.js"/> |
|
23 <script type="application/javascript" src="chrome://browser/content/utilityOverlay.js"/> |
|
24 <html:head> |
|
25 <html:link rel="icon" href="chrome://browser/skin/sync-16.png"/> |
|
26 </html:head> |
|
27 |
|
28 <popupset id="contextmenus"> |
|
29 <menupopup id="tabListContext"> |
|
30 <menuitem label="&tabs.context.openTab.label;" |
|
31 accesskey="&tabs.context.openTab.accesskey;" |
|
32 oncommand="RemoteTabViewer.openSelected()" |
|
33 showFor="single"/> |
|
34 <menuitem label="&tabs.context.bookmarkSingleTab.label;" |
|
35 accesskey="&tabs.context.bookmarkSingleTab.accesskey;" |
|
36 oncommand="RemoteTabViewer.bookmarkSingleTab(event)" |
|
37 showFor="single"/> |
|
38 <menuitem label="&tabs.context.openMultipleTabs.label;" |
|
39 accesskey="&tabs.context.openMultipleTabs.accesskey;" |
|
40 oncommand="RemoteTabViewer.openSelected()" |
|
41 showFor="multiple"/> |
|
42 <menuitem label="&tabs.context.bookmarkMultipleTabs.label;" |
|
43 accesskey="&tabs.context.bookmarkMultipleTabs.accesskey;" |
|
44 oncommand="RemoteTabViewer.bookmarkSelectedTabs()" |
|
45 showFor="multiple"/> |
|
46 <menuseparator/> |
|
47 <menuitem label="&tabs.context.refreshList.label;" |
|
48 accesskey="&tabs.context.refreshList.accesskey;" |
|
49 oncommand="RemoteTabViewer.buildList()" |
|
50 showFor="all"/> |
|
51 </menupopup> |
|
52 </popupset> |
|
53 <richlistbox context="tabListContext" id="tabsList" seltype="multiple" |
|
54 align="center" flex="1" |
|
55 onclick="RemoteTabViewer.handleClick(event)" |
|
56 oncontextmenu="RemoteTabViewer.adjustContextMenu(event)"> |
|
57 <hbox id="headers" align="center"> |
|
58 <label id="tabsListHeading" |
|
59 value="&tabs.otherDevices.label;"/> |
|
60 <spacer flex="1"/> |
|
61 <textbox type="search" |
|
62 emptytext="&tabs.searchText.label;" |
|
63 oncommand="RemoteTabViewer.filterTabs(event)"/> |
|
64 </hbox> |
|
65 |
|
66 </richlistbox> |
|
67 </window> |
|
68 |