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. 27, 2014, 9:40 p.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"/>
53 <menuitem id="abp-status-filters" label="&filters.label;…" key="abp-key-filt ers" command="abp-command-filters"/>
54 <menuseparator id="abp-status-whitelist-sep"/>
55 <menuitem id="abp-status-whitelistsite" labeltempl="&whitelist.site.label;" type="checkbox" command="abp-command-togglesitewhitelist"/>
56 <menuitem id="abp-status-whitelistpage" label="&whitelist.page.label;" type= "checkbox" command="abp-command-togglepagewhitelist"/>
57 <menuitem id="abp-status-disabled" label="&disable.label;" type="checkbox" k ey="abp-key-enable" command="abp-command-enable"/>
58 <menuseparator/>
59 <menu id="abp-status-options" label="&options.label;">
60 <menupopup id="abp-status-options-popup">
61 <menuitem id="abp-status-frameobjects" label="&objecttabs.label;" type=" checkbox" command="abp-command-toggleobjtabs"/>
62 <menuitem id="abp-status-slowcollapse" label="&hideplaceholders.label;" type="checkbox" command="abp-command-togglecollapse"/>
63 <menuitem id="abp-status-savestats" label="&counthits.label;" type="chec kbox" command="abp-command-togglesavestats"/>
64 <menuitem id="abp-status-sync" label="&sync.label;" type="checkbox" comm and="abp-command-togglesync"/>
65 <menuseparator id="abp-status-iconSettingsSeparator"/>
66 <menuitem id="abp-status-showintoolbar" label="&showintoolbar.label;" ty pe="checkbox" command="abp-command-toggleshowintoolbar"/>
67 <menuitem id="abp-status-showinstatusbar" label="&showinstatusbar.label; " type="checkbox" command="abp-command-toggleshowinstatusbar"/>
68 </menupopup>
69 </menu>
70 52
71 <hbox class="abp-contributebutton" id="abp-status-contributebutton" pack="ce nter" align="center"> 53 <!-- Tools menu -->
72 <!-- noautoclose attribute tells Australis menu that it shouldn't close wh en 54 <menu id="abp-menuitem" label="&toolbarbutton.label;">
73 these are clicked, see https://bugzilla.mozilla.org/show_bug.cgi?id=9 40693 --> 55 <menupopup id="abp-menuitem-popup" context="">
74 <button class="abp-contributebutton-btn" label="&contribute.label;" comman d="abp-command-contribute" flex="1" noautoclose="true"/> 56 <menuitem id="abp-menuitem-sendReport" label="&sendReport.label;…" key="ab p-key-sendReport" command="abp-command-sendReport"/>
75 <toolbarbutton class="abp-contributebutton-close" command="abp-command-con tribute-hide" noautoclose="true"/> 57 <menuitem id="abp-menuitem-openbottombar" label="&opensidebar.label;" key= "abp-key-sidebar" command="abp-command-sidebar"/>
76 </hbox> 58 <menuitem id="abp-menuitem-closebottombar" label="&closesidebar.label;" ke y="abp-key-sidebar" command="abp-command-sidebar"/>
77 </menupopup> 59 <menuitem id="abp-menuitem-filters" label="&filters.label;…" key="abp-key- filters" command="abp-command-filters"/>
60 <menuseparator id="abp-menuitem-whitelist-sep"/>
61 <menuitem id="abp-menuitem-whitelistsite" labeltempl="&whitelist.site.labe l;" type="checkbox" command="abp-command-togglesitewhitelist"/>
62 <menuitem id="abp-menuitem-whitelistpage" label="&whitelist.page.label;" t ype="checkbox" command="abp-command-togglepagewhitelist"/>
63 <menuitem id="abp-menuitem-disabled" label="&disable.label;" type="checkbo x" key="abp-key-enable" command="abp-command-enable"/>
64 <menuseparator/>
65 <menu id="abp-menuitem-options" label="&options.label;">
66 <menupopup id="abp-menuitem-options-popup">
67 <menuitem id="abp-menuitem-frameobjects" label="&objecttabs.label;" ty pe="checkbox" command="abp-command-toggleobjtabs"/>
68 <menuitem id="abp-menuitem-slowcollapse" label="&hideplaceholders.labe l;" type="checkbox" command="abp-command-togglecollapse"/>
69 <menuitem id="abp-menuitem-savestats" label="&counthits.label;" type=" checkbox" command="abp-command-togglesavestats"/>
70 <menuitem id="abp-menuitem-sync" label="&sync.label;" type="checkbox" command="abp-command-togglesync"/>
71 <menuseparator id="abp-menuitem-iconSettingsSeparator"/>
72 <menuitem id="abp-menuitem-showintoolbar" label="&showintoolbar.label; " type="checkbox" command="abp-command-toggleshowintoolbar"/>
73 <menuitem id="abp-menuitem-showinstatusbar" label="&showinstatusbar.la bel;" type="checkbox" command="abp-command-toggleshowinstatusbar"/>
74 </menupopup>
75 </menu>
78 76
77 <hbox class="abp-contributebutton" id="abp-status-contributebutton" pack=" center" align="center">
78 <!-- noautoclose attribute tells Australis menu that it shouldn't close when
79 these are clicked, see https://bugzilla.mozilla.org/show_bug.cgi?id =940693 -->
80 <button class="abp-contributebutton-btn" label="&contribute.label;" comm and="abp-command-contribute" flex="1" noautoclose="true"/>
81 <toolbarbutton class="abp-contributebutton-close" command="abp-command-c ontribute-hide" noautoclose="true"/>
82 </hbox>
83 </menupopup>
84 </menu>
79 <keyset id="abp-keyset"/> 85 <keyset id="abp-keyset"/>
80 86
81 <!-- Dummy oncommand attributes are work-arounds for bug 371900 --> 87 <!-- Dummy oncommand attributes are work-arounds for bug 371900 -->
82 <commandset id="abp-commandset"> 88 <commandset id="abp-commandset">
83 <command id="abp-command-sendReport" oncommand="//"/> 89 <command id="abp-command-sendReport" oncommand="//"/>
84 <command id="abp-command-filters" oncommand="//"/> 90 <command id="abp-command-filters" oncommand="//"/>
85 <command id="abp-command-settings" oncommand="//"/> 91 <command id="abp-command-settings" oncommand="//"/>
86 <command id="abp-command-sidebar" oncommand="//"/> 92 <command id="abp-command-sidebar" oncommand="//"/>
87 <command id="abp-command-togglesitewhitelist"/> 93 <command id="abp-command-togglesitewhitelist"/>
88 <command id="abp-command-togglepagewhitelist"/> 94 <command id="abp-command-togglepagewhitelist"/>
89 <command id="abp-command-toggleobjtabs"/> 95 <command id="abp-command-toggleobjtabs"/>
90 <command id="abp-command-togglecollapse"/> 96 <command id="abp-command-togglecollapse"/>
91 <command id="abp-command-togglesavestats"/> 97 <command id="abp-command-togglesavestats"/>
92 <command id="abp-command-togglesync"/> 98 <command id="abp-command-togglesync"/>
93 <command id="abp-command-toggleshowintoolbar"/> 99 <command id="abp-command-toggleshowintoolbar"/>
94 <command id="abp-command-toggleshowinstatusbar"/> 100 <command id="abp-command-toggleshowinstatusbar"/>
95 <command id="abp-command-enable" oncommand="//"/> 101 <command id="abp-command-enable" oncommand="//"/>
96 <command id="abp-command-contribute"/> 102 <command id="abp-command-contribute"/>
97 <command id="abp-command-contribute-hide"/> 103 <command id="abp-command-contribute-hide"/>
98 </commandset> 104 </commandset>
99 105
100 <statusbarpanel id="abp-status" class="statusbarpanel-iconic" 106 <statusbarpanel id="abp-status" class="statusbarpanel-iconic"
101 tooltip="abp-tooltip"/> 107 tooltip="abp-tooltip"/>
102 108
103 <toolbarbutton id="abp-toolbarbutton" class="toolbarbutton-1" label="&toolbarb utton.label;" 109 <toolbarbutton id="abp-toolbarbutton" class="toolbarbutton-1" label="&toolbarb utton.label;"
104 tooltip="abp-tooltip"/> 110 tooltip="abp-tooltip"/>
105 111
106 <!-- Tools menu -->
107 <menu id="abp-menuitem" label="&toolbarbutton.label;"/>
108
109 <!-- Bottom bar --> 112 <!-- Bottom bar -->
110 <hbox id="abp-bottombar-container"> 113 <hbox id="abp-bottombar-container">
111 <splitter id="abp-bottombar-splitter"/> 114 <splitter id="abp-bottombar-splitter"/>
112 <vbox id="abp-bottombar"> 115 <vbox id="abp-bottombar">
113 <toolbox id="abp-bottombar-header"> 116 <toolbox id="abp-bottombar-header">
114 <toolbar id="abp-bottombar-toolbar" align="center" grippyhidden="true" f ullscreentoolbar="true"> 117 <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"/> 118 <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;"/> 119 <toolbarbutton id="abp-bottombar-close" command="abp-command-sidebar" tooltiptext="&closesidebar.label;"/>
117 </toolbar> 120 </toolbar>
118 </toolbox> 121 </toolbox>
119 <iframe id="abp-bottombar-browser" src="chrome://adblockplus/content/ui/si debar.xul" flex="1"/> 122 <iframe id="abp-bottombar-browser" src="chrome://adblockplus/content/ui/si debar.xul" flex="1"/>
120 </vbox> 123 </vbox>
121 </hbox> 124 </hbox>
122 125
123 <!-- Notification panel --> 126 <!-- Notification panel -->
124 <panel id="abp-notification" type="arrow" orient="vertical" 127 <panel id="abp-notification" type="arrow" orient="vertical"
125 xmlns:html="http://www.w3.org/1999/xhtml"> 128 xmlns:html="http://www.w3.org/1999/xhtml">
126 <label id="abp-notification-title" class="header"/> 129 <label id="abp-notification-title" class="header"/>
127 <html:p id="abp-notification-message"/> 130 <html:p id="abp-notification-message"/>
128 <hbox id="abp-notification-question"> 131 <hbox id="abp-notification-question">
129 <button id="abp-notification-yes" label="&notification.button.yes;"/> 132 <button id="abp-notification-yes" label="&notification.button.yes;"/>
130 <button id="abp-notification-no" label="&notification.button.no;"/> 133 <button id="abp-notification-no" label="&notification.button.no;"/>
131 <toolbarbutton id="abp-notification-close" label="&notification.button.clo se;"></toolbarbutton> 134 <toolbarbutton id="abp-notification-close" label="&notification.button.clo se;"></toolbarbutton>
132 </hbox> 135 </hbox>
133 </panel> 136 </panel>
134 </overlay> 137 </overlay>
OLDNEW

Powered by Google App Engine
This is Rietveld