Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Side by Side Diff: chrome/content/ui/overlay.xul

Issue 5294633391226880: issue 1435 - Port popup.html from Chrome/Safari/Opera to Firefox (Closed)
Patch Set: Created Oct. 16, 2014, 11:07 a.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
OLDNEW
1 <?xml version="1.0"?> 1 <?xml version="1.0"?>
2 2
3 <!-- 3 <!--
4 - This file is part of Adblock Plus <http://adblockplus.org/>, 4 - This file is part of Adblock Plus <http://adblockplus.org/>,
5 - Copyright (C) 2006-2014 Eyeo GmbH 5 - Copyright (C) 2006-2014 Eyeo GmbH
6 - 6 -
7 - Adblock Plus is free software: you can redistribute it and/or modify 7 - Adblock Plus is free software: you can redistribute it and/or modify
8 - it under the terms of the GNU General Public License version 3 as 8 - it under the terms of the GNU General Public License version 3 as
9 - published by the Free Software Foundation. 9 - published by the Free Software Foundation.
10 - 10 -
(...skipping 28 matching lines...) Expand all
39 <description id="abp-tooltip-status"/> 39 <description id="abp-tooltip-status"/>
40 <label id="abp-tooltip-blocked-label" value="&blocked.tooltip;" hidden="tr ue"/> 40 <label id="abp-tooltip-blocked-label" value="&blocked.tooltip;" hidden="tr ue"/>
41 <description id="abp-tooltip-blocked" hidden="true"/> 41 <description id="abp-tooltip-blocked" hidden="true"/>
42 <label id="abp-tooltip-filters-label" value="&filters.tooltip;" hidden="tr ue"/> 42 <label id="abp-tooltip-filters-label" value="&filters.tooltip;" hidden="tr ue"/>
43 <vbox id="abp-tooltip-filters" hidden="true"/> 43 <vbox id="abp-tooltip-filters" hidden="true"/>
44 <description id="abp-tooltip-more-filters" value="…" hidden="true"/> 44 <description id="abp-tooltip-more-filters" value="…" hidden="true"/>
45 </tooltip> 45 </tooltip>
46 </popupset> 46 </popupset>
47 47
48 <!-- Icon's context menu --> 48 <!-- Icon's context menu -->
49 <menupopup id="abp-status-popup" context=""> 49 <panel id="abp-status-popup" type="arrow">
50 <menuitem id="abp-status-sendReport" label="&sendReport.label;…" key="abp-ke y-sendReport" command="abp-command-sendReport"/> 50 <iframe id="abp-status-popup-browser" src="about:blank" flex="1"/>
51 <menuitem id="abp-status-openbottombar" label="&opensidebar.label;" key="abp -key-sidebar" command="abp-command-sidebar"/> 51 </panel>
52 <menuitem id="abp-status-closebottombar" label="&closesidebar.label;" key="a bp-key-sidebar" command="abp-command-sidebar"/> 52
53 <menuitem id="abp-status-filters" label="&filters.label;…" key="abp-key-filt ers" command="abp-command-filters"/> 53 <menu id="abp-menuitem" label="&toolbarbutton.label;">
54 <menuseparator id="abp-status-whitelist-sep"/> 54 <menupopup id="abp-menuitem-popup" context="">
55 <menuitem id="abp-status-whitelistsite" labeltempl="&whitelist.site.label;" type="checkbox" command="abp-command-togglesitewhitelist"/> 55 <menuitem id="abp-menuitem-sendReport" label="&sendReport.label;…" key="ab p-key-sendReport" command="abp-command-sendReport"/>
56 <menuitem id="abp-status-whitelistpage" label="&whitelist.page.label;" type= "checkbox" command="abp-command-togglepagewhitelist"/> 56 <menuitem id="abp-menuitem-openbottombar" label="&opensidebar.label;" key= "abp-key-sidebar" command="abp-command-sidebar"/>
57 <menuitem id="abp-status-disabled" label="&disable.label;" type="checkbox" k ey="abp-key-enable" command="abp-command-enable"/> 57 <menuitem id="abp-menuitem-closebottombar" label="&closesidebar.label;" ke y="abp-key-sidebar" command="abp-command-sidebar"/>
58 <menuseparator/> 58 <menuitem id="abp-menuitem-filters" label="&filters.label;…" key="abp-key- filters" command="abp-command-filters"/>
59 <menu id="abp-status-options" label="&options.label;"> 59 <menuseparator id="abp-menuitem-whitelist-sep"/>
60 <menupopup id="abp-status-options-popup"> 60 <menuitem id="abp-menuitem-whitelistsite" labeltempl="&whitelist.site.labe l;" type="checkbox" command="abp-command-togglesitewhitelist"/>
61 <menuitem id="abp-status-frameobjects" label="&objecttabs.label;" type=" checkbox" command="abp-command-toggleobjtabs"/> 61 <menuitem id="abp-menuitem-whitelistpage" label="&whitelist.page.label;" t ype="checkbox" command="abp-command-togglepagewhitelist"/>
62 <menuitem id="abp-status-slowcollapse" label="&hideplaceholders.label;" type="checkbox" command="abp-command-togglecollapse"/> 62 <menuitem id="abp-menuitem-disabled" label="&disable.label;" type="checkbo x" key="abp-key-enable" command="abp-command-enable"/>
63 <menuitem id="abp-status-savestats" label="&counthits.label;" type="chec kbox" command="abp-command-togglesavestats"/> 63 <menuseparator/>
64 <menuitem id="abp-status-sync" label="&sync.label;" type="checkbox" comm and="abp-command-togglesync"/> 64 <menu id="abp-menuitem-options" label="&options.label;">
65 <menuseparator id="abp-status-iconSettingsSeparator"/> 65 <menupopup id="abp-menuitem-options-popup">
66 <menuitem id="abp-status-showintoolbar" label="&showintoolbar.label;" ty pe="checkbox" command="abp-command-toggleshowintoolbar"/> 66 <menuitem id="abp-menuitem-frameobjects" label="&objecttabs.label;" ty pe="checkbox" command="abp-command-toggleobjtabs"/>
67 <menuitem id="abp-status-showinstatusbar" label="&showinstatusbar.label; " type="checkbox" command="abp-command-toggleshowinstatusbar"/> 67 <menuitem id="abp-menuitem-slowcollapse" label="&hideplaceholders.labe l;" type="checkbox" command="abp-command-togglecollapse"/>
68 </menupopup> 68 <menuitem id="abp-menuitem-savestats" label="&counthits.label;" type=" checkbox" command="abp-command-togglesavestats"/>
69 </menu> 69 <menuitem id="abp-menuitem-sync" label="&sync.label;" type="checkbox" command="abp-command-togglesync"/>
70 <menuseparator id="abp-menuitem-iconSettingsSeparator"/>
71 <menuitem id="abp-menuitem-showintoolbar" label="&showintoolbar.label; " type="checkbox" command="abp-command-toggleshowintoolbar"/>
72 <menuitem id="abp-menuitem-showinstatusbar" label="&showinstatusbar.la bel;" type="checkbox" command="abp-command-toggleshowinstatusbar"/>
73 </menupopup>
74 </menu>
70 75
71 <hbox class="abp-contributebutton" id="abp-status-contributebutton" pack="ce nter" align="center"> 76 <hbox class="abp-contributebutton" id="abp-status-contributebutton" pack=" center" align="center">
72 <!-- noautoclose attribute tells Australis menu that it shouldn't close wh en 77 <!-- noautoclose attribute tells Australis menu that it shouldn't close when
73 these are clicked, see https://bugzilla.mozilla.org/show_bug.cgi?id=9 40693 --> 78 these are clicked, see https://bugzilla.mozilla.org/show_bug.cgi?id =940693 -->
74 <button class="abp-contributebutton-btn" label="&contribute.label;" comman d="abp-command-contribute" flex="1" noautoclose="true"/> 79 <button class="abp-contributebutton-btn" label="&contribute.label;" comm and="abp-command-contribute" flex="1" noautoclose="true"/>
75 <toolbarbutton class="abp-contributebutton-close" command="abp-command-con tribute-hide" noautoclose="true"/> 80 <toolbarbutton class="abp-contributebutton-close" command="abp-command-c ontribute-hide" noautoclose="true"/>
76 </hbox> 81 </hbox>
77 </menupopup> 82 </menupopup>
78 83 </menu>
79 <keyset id="abp-keyset"/> 84 <keyset id="abp-keyset"/>
80 85
81 <!-- Dummy oncommand attributes are work-arounds for bug 371900 --> 86 <!-- Dummy oncommand attributes are work-arounds for bug 371900 -->
82 <commandset id="abp-commandset"> 87 <commandset id="abp-commandset">
83 <command id="abp-command-sendReport" oncommand="//"/> 88 <command id="abp-command-sendReport" oncommand="//"/>
84 <command id="abp-command-filters" oncommand="//"/> 89 <command id="abp-command-filters" oncommand="//"/>
85 <command id="abp-command-settings" oncommand="//"/> 90 <command id="abp-command-settings" oncommand="//"/>
86 <command id="abp-command-sidebar" oncommand="//"/> 91 <command id="abp-command-sidebar" oncommand="//"/>
87 <command id="abp-command-togglesitewhitelist"/> 92 <command id="abp-command-togglesitewhitelist"/>
88 <command id="abp-command-togglepagewhitelist"/> 93 <command id="abp-command-togglepagewhitelist"/>
89 <command id="abp-command-toggleobjtabs"/> 94 <command id="abp-command-toggleobjtabs"/>
90 <command id="abp-command-togglecollapse"/> 95 <command id="abp-command-togglecollapse"/>
91 <command id="abp-command-togglesavestats"/> 96 <command id="abp-command-togglesavestats"/>
92 <command id="abp-command-togglesync"/> 97 <command id="abp-command-togglesync"/>
93 <command id="abp-command-toggleshowintoolbar"/> 98 <command id="abp-command-toggleshowintoolbar"/>
94 <command id="abp-command-toggleshowinstatusbar"/> 99 <command id="abp-command-toggleshowinstatusbar"/>
95 <command id="abp-command-enable" oncommand="//"/> 100 <command id="abp-command-enable" oncommand="//"/>
96 <command id="abp-command-contribute"/> 101 <command id="abp-command-contribute"/>
97 <command id="abp-command-contribute-hide"/> 102 <command id="abp-command-contribute-hide"/>
98 </commandset> 103 </commandset>
99 104
100 <statusbarpanel id="abp-status" class="statusbarpanel-iconic" 105 <statusbarpanel id="abp-status" class="statusbarpanel-iconic"
101 tooltip="abp-tooltip"/> 106 tooltip="abp-tooltip"/>
102 107
103 <toolbarbutton id="abp-toolbarbutton" class="toolbarbutton-1" label="&toolbarb utton.label;" 108 <toolbarbutton id="abp-toolbarbutton" class="toolbarbutton-1" label="&toolbarb utton.label;"
104 tooltip="abp-tooltip"/> 109 tooltip="abp-tooltip"/>
105 110
106 <!-- Tools menu -->
107 <menu id="abp-menuitem" label="&toolbarbutton.label;"/>
108
109 <!-- Bottom bar --> 111 <!-- Bottom bar -->
110 <hbox id="abp-bottombar-container"> 112 <hbox id="abp-bottombar-container">
111 <splitter id="abp-bottombar-splitter"/> 113 <splitter id="abp-bottombar-splitter"/>
112 <vbox id="abp-bottombar"> 114 <vbox id="abp-bottombar">
113 <toolbox id="abp-bottombar-header"> 115 <toolbox id="abp-bottombar-header">
114 <toolbar id="abp-bottombar-toolbar" align="center" grippyhidden="true" f ullscreentoolbar="true"> 116 <toolbar id="abp-bottombar-toolbar" align="center" grippyhidden="true" f ullscreentoolbar="true">
115 <label id="abp-bottombar-title" control="abp-bottombar-browser" value= "&sidebar.title;" flex="1" crop="end"/> 117 <label id="abp-bottombar-title" control="abp-bottombar-browser" value= "&sidebar.title;" flex="1" crop="end"/>
116 <toolbarbutton id="abp-bottombar-close" command="abp-command-sidebar" tooltiptext="&closesidebar.label;"/> 118 <toolbarbutton id="abp-bottombar-close" command="abp-command-sidebar" tooltiptext="&closesidebar.label;"/>
117 </toolbar> 119 </toolbar>
118 </toolbox> 120 </toolbox>
119 <iframe id="abp-bottombar-browser" src="chrome://adblockplus/content/ui/si debar.xul" flex="1"/> 121 <iframe id="abp-bottombar-browser" src="chrome://adblockplus/content/ui/si debar.xul" flex="1"/>
120 </vbox> 122 </vbox>
121 </hbox> 123 </hbox>
122 124
123 <!-- Notification panel --> 125 <!-- Notification panel -->
124 <panel id="abp-notification" type="arrow" orient="vertical" 126 <panel id="abp-notification" type="arrow" orient="vertical"
125 xmlns:html="http://www.w3.org/1999/xhtml"> 127 xmlns:html="http://www.w3.org/1999/xhtml">
126 <label id="abp-notification-title" class="header"/> 128 <label id="abp-notification-title" class="header"/>
127 <html:p id="abp-notification-message"/> 129 <html:p id="abp-notification-message"/>
128 <hbox id="abp-notification-question"> 130 <hbox id="abp-notification-question">
129 <button id="abp-notification-yes" label="&notification.button.yes;"/> 131 <button id="abp-notification-yes" label="&notification.button.yes;"/>
130 <button id="abp-notification-no" label="&notification.button.no;"/> 132 <button id="abp-notification-no" label="&notification.button.no;"/>
131 <toolbarbutton id="abp-notification-close" label="&notification.button.clo se;"></toolbarbutton> 133 <toolbarbutton id="abp-notification-close" label="&notification.button.clo se;"></toolbarbutton>
132 </hbox> 134 </hbox>
133 </panel> 135 </panel>
134 </overlay> 136 </overlay>
OLDNEW

Powered by Google App Engine
This is Rietveld