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

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

Issue 6526453483044864: Issue 2193 - Added notification opt-out (Firefox) (Closed)
Patch Set: Created June 26, 2015, 3:29 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
« no previous file with comments | « no previous file | chrome/content/ui/settings.xul » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <?xml version="1.0"?> 1 <?xml version="1.0"?>
2 2
3 <!-- 3 <!--
4 - This file is part of Adblock Plus <https://adblockplus.org/>, 4 - This file is part of Adblock Plus <https://adblockplus.org/>,
5 - Copyright (C) 2006-2015 Eyeo GmbH 5 - Copyright (C) 2006-2015 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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 <menuseparator id="abp-status-whitelist-sep"/> 54 <menuseparator id="abp-status-whitelist-sep"/>
55 <menuitem id="abp-status-whitelistsite" labeltempl="&whitelist.site.label;" type="checkbox" command="abp-command-togglesitewhitelist"/> 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"/> 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"/> 57 <menuitem id="abp-status-disabled" label="&disable.label;" type="checkbox" k ey="abp-key-enable" command="abp-command-enable"/>
58 <menuseparator/> 58 <menuseparator/>
59 <menu id="abp-status-options" label="&options.label;"> 59 <menu id="abp-status-options" label="&options.label;">
60 <menupopup id="abp-status-options-popup"> 60 <menupopup id="abp-status-options-popup">
61 <menuitem id="abp-status-frameobjects" label="&objecttabs.label;" type=" checkbox" command="abp-command-toggleobjtabs"/> 61 <menuitem id="abp-status-frameobjects" label="&objecttabs.label;" type=" checkbox" command="abp-command-toggleobjtabs"/>
62 <menuitem id="abp-status-savestats" label="&counthits.label;" type="chec kbox" command="abp-command-togglesavestats"/> 62 <menuitem id="abp-status-savestats" label="&counthits.label;" type="chec kbox" command="abp-command-togglesavestats"/>
63 <menuitem id="abp-status-sync" label="&sync.label;" type="checkbox" comm and="abp-command-togglesync"/> 63 <menuitem id="abp-status-sync" label="&sync.label;" type="checkbox" comm and="abp-command-togglesync"/>
64 <menuitem id="abp-status-shownotifications" label="&shownotifications.la bel;" type="checkbox" command="abp-command-toggleshownotifications"/>
64 <menuseparator id="abp-status-iconSettingsSeparator"/> 65 <menuseparator id="abp-status-iconSettingsSeparator"/>
65 <menuitem id="abp-status-showintoolbar" label="&showintoolbar.label;" ty pe="checkbox" command="abp-command-toggleshowintoolbar"/> 66 <menuitem id="abp-status-showintoolbar" label="&showintoolbar.label;" ty pe="checkbox" command="abp-command-toggleshowintoolbar"/>
66 <menuitem id="abp-status-showinstatusbar" label="&showinstatusbar.label; " type="checkbox" command="abp-command-toggleshowinstatusbar"/> 67 <menuitem id="abp-status-showinstatusbar" label="&showinstatusbar.label; " type="checkbox" command="abp-command-toggleshowinstatusbar"/>
67 </menupopup> 68 </menupopup>
68 </menu> 69 </menu>
69 70
70 <hbox class="abp-contributebutton" id="abp-status-contributebutton" pack="ce nter" align="center"> 71 <hbox class="abp-contributebutton" id="abp-status-contributebutton" pack="ce nter" align="center">
71 <!-- noautoclose attribute tells Australis menu that it shouldn't close wh en 72 <!-- noautoclose attribute tells Australis menu that it shouldn't close wh en
72 these are clicked, see https://bugzilla.mozilla.org/show_bug.cgi?id=9 40693 --> 73 these are clicked, see https://bugzilla.mozilla.org/show_bug.cgi?id=9 40693 -->
73 <button class="abp-contributebutton-btn" label="&contribute.label;" comman d="abp-command-contribute" flex="1" noautoclose="true"/> 74 <button class="abp-contributebutton-btn" label="&contribute.label;" comman d="abp-command-contribute" flex="1" noautoclose="true"/>
(...skipping 12 matching lines...) Expand all
86 <command id="abp-command-togglesitewhitelist"/> 87 <command id="abp-command-togglesitewhitelist"/>
87 <command id="abp-command-togglepagewhitelist"/> 88 <command id="abp-command-togglepagewhitelist"/>
88 <command id="abp-command-toggleobjtabs"/> 89 <command id="abp-command-toggleobjtabs"/>
89 <command id="abp-command-togglesavestats"/> 90 <command id="abp-command-togglesavestats"/>
90 <command id="abp-command-togglesync"/> 91 <command id="abp-command-togglesync"/>
91 <command id="abp-command-toggleshowintoolbar"/> 92 <command id="abp-command-toggleshowintoolbar"/>
92 <command id="abp-command-toggleshowinstatusbar"/> 93 <command id="abp-command-toggleshowinstatusbar"/>
93 <command id="abp-command-enable" oncommand="//"/> 94 <command id="abp-command-enable" oncommand="//"/>
94 <command id="abp-command-contribute"/> 95 <command id="abp-command-contribute"/>
95 <command id="abp-command-contribute-hide"/> 96 <command id="abp-command-contribute-hide"/>
97 <command id="abp-command-toggleshownotifications"/>
96 </commandset> 98 </commandset>
97 99
98 <statusbarpanel id="abp-status" class="statusbarpanel-iconic" 100 <statusbarpanel id="abp-status" class="statusbarpanel-iconic"
99 tooltip="abp-tooltip"/> 101 tooltip="abp-tooltip"/>
100 102
101 <toolbarbutton id="abp-toolbarbutton" class="toolbarbutton-1" label="&toolbarb utton.label;" 103 <toolbarbutton id="abp-toolbarbutton" class="toolbarbutton-1" label="&toolbarb utton.label;"
102 tooltip="abp-tooltip"/> 104 tooltip="abp-tooltip"/>
103 105
104 <!-- Tools menu --> 106 <!-- Tools menu -->
105 <menu id="abp-menuitem" label="&toolbarbutton.label;"/> 107 <menu id="abp-menuitem" label="&toolbarbutton.label;"/>
106 108
107 <!-- Bottom bar --> 109 <!-- Bottom bar -->
108 <hbox id="abp-bottombar-container"> 110 <hbox id="abp-bottombar-container">
109 <splitter id="abp-bottombar-splitter"/> 111 <splitter id="abp-bottombar-splitter"/>
110 <vbox id="abp-bottombar"> 112 <vbox id="abp-bottombar">
111 <toolbox id="abp-bottombar-header"> 113 <toolbox id="abp-bottombar-header">
112 <toolbar id="abp-bottombar-toolbar" align="center" grippyhidden="true" f ullscreentoolbar="true"> 114 <toolbar id="abp-bottombar-toolbar" align="center" grippyhidden="true" f ullscreentoolbar="true">
113 <label id="abp-bottombar-title" control="abp-bottombar-browser" value= "&sidebar.title;" flex="1" crop="end"/> 115 <label id="abp-bottombar-title" control="abp-bottombar-browser" value= "&sidebar.title;" flex="1" crop="end"/>
114 <toolbarbutton id="abp-bottombar-close" command="abp-command-sidebar" tooltiptext="&closesidebar.label;"/> 116 <toolbarbutton id="abp-bottombar-close" command="abp-command-sidebar" tooltiptext="&closesidebar.label;"/>
115 </toolbar> 117 </toolbar>
116 </toolbox> 118 </toolbox>
117 <iframe id="abp-bottombar-browser" src="chrome://adblockplus/content/ui/si debar.xul" flex="1"/> 119 <iframe id="abp-bottombar-browser" src="chrome://adblockplus/content/ui/si debar.xul" flex="1"/>
118 </vbox> 120 </vbox>
119 </hbox> 121 </hbox>
120 122
121 <!-- Notification panel --> 123 <!-- Notification panel -->
122 <panel id="abp-notification" type="arrow" orient="vertical" 124 <panel id="abp-notification" type="arrow" orient="vertical"
123 xmlns:html="http://www.w3.org/1999/xhtml"> 125 xmlns:html="http://www.w3.org/1999/xhtml">
124 <label id="abp-notification-title" class="header"/> 126 <vbox id="abp-notification-content">
125 <html:p id="abp-notification-message"/> 127 <toolbar align="start">
126 <hbox id="abp-notification-question"> 128 <label id="abp-notification-title" class="header" flex="1" crop="end"/>
127 <button id="abp-notification-yes" label="&notification.button.yes;"/> 129 <toolbarbutton id="abp-notification-close" tooltiptext="&notification.bu tton.close;"/>
128 <button id="abp-notification-no" label="&notification.button.no;"/> 130 </toolbar>
129 <toolbarbutton id="abp-notification-close" label="&notification.button.clo se;"></toolbarbutton> 131 <html:p id="abp-notification-message"/>
130 </hbox> 132 <hbox id="abp-notification-question">
133 <button id="abp-notification-yes" label="&notification.button.yes;"/>
134 <button id="abp-notification-no" label="&notification.button.no;"/>
135 </hbox>
136 </vbox>
137 <vbox id="abp-notification-close-content">
138 <toolbarbutton id="abp-notification-hide" label="&notification.closing.but ton.hide;"/>
139 <toolbarbutton id="abp-notification-optout" label="&notification.closing.b utton.optout;"/>
140 </vbox>
131 </panel> 141 </panel>
132 </overlay> 142 </overlay>
OLDNEW
« no previous file with comments | « no previous file | chrome/content/ui/settings.xul » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld