aboutSyncTabs.xul 2.9 KB

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