Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(57)

Side by Side Diff: chrome/browser/resources/options/content_settings.html

Issue 1156983002: Remove unused "Website Settings" view of content settings (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 <div id="content-settings-page" class="page" hidden> 1 <div id="content-settings-page" class="page" hidden>
2 <div class="close-button"></div> 2 <div class="close-button"></div>
3 <h1 i18n-content="contentSettingsPage"></h1> 3 <h1 i18n-content="contentSettingsPage"></h1>
4 <div class="content-area"> 4 <div class="content-area">
5 <!-- Cookie filter tab contents --> 5 <!-- Cookie filter tab contents -->
6 <section> 6 <section>
7 <h3 i18n-content="cookiesTabLabel"></h3> 7 <h3 i18n-content="cookiesTabLabel"></h3>
8 <div class="replace-with-website-settings"> 8 <div>
9 <div class="radio controlled-setting-with-label"> 9 <div class="radio controlled-setting-with-label">
10 <label> 10 <label>
11 <input type="radio" name="cookies" value="allow"> 11 <input type="radio" name="cookies" value="allow">
12 <span> 12 <span>
13 <span i18n-content="cookiesAllow"></span> 13 <span i18n-content="cookiesAllow"></span>
14 <span class="controlled-setting-indicator" 14 <span class="controlled-setting-indicator"
15 content-setting="cookies" value="allow"></span> 15 content-setting="cookies" value="allow"></span>
16 </span> 16 </span>
17 </label> 17 </label>
18 </div> 18 </div>
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 class="clear-plugin-lso-data-disabled"></span> 57 class="clear-plugin-lso-data-disabled"></span>
58 </label> 58 </label>
59 </div> 59 </div>
60 <div class="settings-row"> 60 <div class="settings-row">
61 <button class="exceptions-list-button" contentType="cookies" 61 <button class="exceptions-list-button" contentType="cookies"
62 i18n-content="manageExceptions"></button> 62 i18n-content="manageExceptions"></button>
63 <button id="show-cookies-button" 63 <button id="show-cookies-button"
64 i18n-content="cookiesShowCookies"></button> 64 i18n-content="cookiesShowCookies"></button>
65 </div> 65 </div>
66 </div> 66 </div>
67 <div class="experimental-website-settings" hidden>
68 <span id="cookies-default-string"></span>
69 <div class="settings-row">
70 <button class="website-settings-permission-button"
71 contentType="cookies" i18n-content="websitesManage"></button>
72 <button id="show-cookies-button"
73 i18n-content="cookiesShowCookies"></button>
74 </div>
75 </div>
76 </section> 67 </section>
77 <!-- Image filter --> 68 <!-- Image filter -->
78 <section> 69 <section>
79 <h3 i18n-content="imagesTabLabel"></h3> 70 <h3 i18n-content="imagesTabLabel"></h3>
80 <div class="replace-with-website-settings"> 71 <div>
81 <div class="radio controlled-setting-with-label"> 72 <div class="radio controlled-setting-with-label">
82 <label> 73 <label>
83 <input type="radio" name="images" value="allow"> 74 <input type="radio" name="images" value="allow">
84 <span> 75 <span>
85 <span i18n-content="imagesAllow"></span> 76 <span i18n-content="imagesAllow"></span>
86 <span class="controlled-setting-indicator" 77 <span class="controlled-setting-indicator"
87 content-setting="images" value="allow"></span> 78 content-setting="images" value="allow"></span>
88 </span> 79 </span>
89 </label> 80 </label>
90 </div> 81 </div>
91 <div class="radio controlled-setting-with-label"> 82 <div class="radio controlled-setting-with-label">
92 <label> 83 <label>
93 <input type="radio" name="images" value="block"> 84 <input type="radio" name="images" value="block">
94 <span> 85 <span>
95 <span i18n-content="imagesBlock"></span> 86 <span i18n-content="imagesBlock"></span>
96 <span class="controlled-setting-indicator" 87 <span class="controlled-setting-indicator"
97 content-setting="images" value="block"></span> 88 content-setting="images" value="block"></span>
98 </span> 89 </span>
99 </label> 90 </label>
100 </div> 91 </div>
101 <div class="settings-row"> 92 <div class="settings-row">
102 <button class="exceptions-list-button" contentType="images" 93 <button class="exceptions-list-button" contentType="images"
103 i18n-content="manageExceptions"></button> 94 i18n-content="manageExceptions"></button>
104 </div> 95 </div>
105 </div> 96 </div>
106 <div class="experimental-website-settings" hidden>
107 <span id="images-default-string"></span>
108 <div class="settings-row">
109 <button class="website-settings-permission-button"
110 contentType="images" i18n-content="websitesManage"></button>
111 </div>
112 </div>
113 </section> 97 </section>
114 <!-- JavaScript filter --> 98 <!-- JavaScript filter -->
115 <section> 99 <section>
116 <h3 i18n-content="javascriptTabLabel"></h3> 100 <h3 i18n-content="javascriptTabLabel"></h3>
117 <div class="replace-with-website-settings"> 101 <div>
118 <div class="radio controlled-setting-with-label"> 102 <div class="radio controlled-setting-with-label">
119 <label> 103 <label>
120 <input type="radio" name="javascript" value="allow"> 104 <input type="radio" name="javascript" value="allow">
121 <span> 105 <span>
122 <span i18n-content="javascriptAllow"></span> 106 <span i18n-content="javascriptAllow"></span>
123 <span class="controlled-setting-indicator" 107 <span class="controlled-setting-indicator"
124 content-setting="javascript" value="allow"></span> 108 content-setting="javascript" value="allow"></span>
125 </span> 109 </span>
126 </label> 110 </label>
127 </div> 111 </div>
128 <div class="radio controlled-setting-with-label"> 112 <div class="radio controlled-setting-with-label">
129 <label> 113 <label>
130 <input type="radio" name="javascript" value="block"> 114 <input type="radio" name="javascript" value="block">
131 <span> 115 <span>
132 <span i18n-content="javascriptBlock"></span> 116 <span i18n-content="javascriptBlock"></span>
133 <span class="controlled-setting-indicator" 117 <span class="controlled-setting-indicator"
134 content-setting="javascript" value="block"></span> 118 content-setting="javascript" value="block"></span>
135 </span> 119 </span>
136 </label> 120 </label>
137 </div> 121 </div>
138 <div class="settings-row"> 122 <div class="settings-row">
139 <button class="exceptions-list-button" contentType="javascript" 123 <button class="exceptions-list-button" contentType="javascript"
140 i18n-content="manageExceptions"></button> 124 i18n-content="manageExceptions"></button>
141 </div> 125 </div>
142 </div> 126 </div>
143 <div class="experimental-website-settings" hidden>
144 <span id="javascript-default-string"></span>
145 <div class="settings-row">
146 <button class="website-settings-permission-button"
147 contentType="javascript" i18n-content="websitesManage"></button>
148 </div>
149 </div>
150 </section> 127 </section>
151 <!-- Handlers settings --> 128 <!-- Handlers settings -->
152 <section id="handlers-section"> 129 <section id="handlers-section">
153 <h3 i18n-content="handlersTabLabel"></h3> 130 <h3 i18n-content="handlersTabLabel"></h3>
154 <div> 131 <div>
155 <div class="radio"> 132 <div class="radio">
156 <label> 133 <label>
157 <input type="radio" name="handlers" value="allow" 134 <input type="radio" name="handlers" value="allow"
158 class="handler-radio"> 135 class="handler-radio">
159 <span i18n-content="handlersAllow"></span> 136 <span i18n-content="handlersAllow"></span>
160 </label> 137 </label>
161 </div> 138 </div>
162 <div class="radio"> 139 <div class="radio">
163 <label> 140 <label>
164 <input type="radio" name="handlers" value="block" 141 <input type="radio" name="handlers" value="block"
165 class="handler-radio"> 142 class="handler-radio">
166 <span i18n-content="handlersBlock"></span> 143 <span i18n-content="handlersBlock"></span>
167 </label> 144 </label>
168 </div> 145 </div>
169 <div class="settings-row"> 146 <div class="settings-row">
170 <button id="manage-handlers-button" contentType="handlers" 147 <button id="manage-handlers-button" contentType="handlers"
171 i18n-content="manageHandlers"></button> 148 i18n-content="manageHandlers"></button>
172 </div> 149 </div>
173 </div> 150 </div>
174 </section> 151 </section>
175 <!-- Plugins filter --> 152 <!-- Plugins filter -->
176 <section> 153 <section>
177 <h3 i18n-content="pluginsTabLabel"></h3> 154 <h3 i18n-content="pluginsTabLabel"></h3>
178 <div class="replace-with-website-settings"> 155 <div>
179 <div class="radio controlled-setting-with-label"> 156 <div class="radio controlled-setting-with-label">
180 <label> 157 <label>
181 <input id="plugins-allow-radio" type="radio" name="plugins" 158 <input id="plugins-allow-radio" type="radio" name="plugins"
182 value="allow"> 159 value="allow">
183 <span> 160 <span>
184 <span i18n-content="pluginsAllow"></span> 161 <span i18n-content="pluginsAllow"></span>
185 <span class="controlled-setting-indicator" 162 <span class="controlled-setting-indicator"
186 content-setting="plugins" value="allow"></span> 163 content-setting="plugins" value="allow"></span>
187 </span> 164 </span>
188 </label> 165 </label>
(...skipping 20 matching lines...) Expand all
209 </div> 186 </div>
210 <div class="settings-row"> 187 <div class="settings-row">
211 <button class="exceptions-list-button" contentType="plugins" 188 <button class="exceptions-list-button" contentType="plugins"
212 i18n-content="manageExceptions"></button> 189 i18n-content="manageExceptions"></button>
213 </div> 190 </div>
214 <div id="disable-plugins-container"> 191 <div id="disable-plugins-container">
215 <a href="chrome://plugins" i18n-content="manageIndividualPlugins" 192 <a href="chrome://plugins" i18n-content="manageIndividualPlugins"
216 target="_blank"></a> 193 target="_blank"></a>
217 </div> 194 </div>
218 </div> 195 </div>
219 <div class="experimental-website-settings" hidden>
220 <span id="plugins-default-string"></span>
221 <div class="settings-row">
222 <button class="website-settings-permission-button"
223 contentType="plugins" i18n-content="websitesManage"></button>
224 </div>
225 </div>
226 </section> 196 </section>
227 <!-- Pop-ups filter --> 197 <!-- Pop-ups filter -->
228 <section> 198 <section>
229 <h3 i18n-content="popupsTabLabel" class="content-settings-header"></h3> 199 <h3 i18n-content="popupsTabLabel" class="content-settings-header"></h3>
230 <div class="replace-with-website-settings"> 200 <div>
231 <div class="radio controlled-setting-with-label"> 201 <div class="radio controlled-setting-with-label">
232 <label> 202 <label>
233 <input type="radio" name="popups" value="allow"> 203 <input type="radio" name="popups" value="allow">
234 <span> 204 <span>
235 <span i18n-content="popupsAllow"></span> 205 <span i18n-content="popupsAllow"></span>
236 <span class="controlled-setting-indicator" 206 <span class="controlled-setting-indicator"
237 content-setting="popups" value="allow"></span> 207 content-setting="popups" value="allow"></span>
238 </span> 208 </span>
239 </label> 209 </label>
240 </div> 210 </div>
241 <div class="radio controlled-setting-with-label"> 211 <div class="radio controlled-setting-with-label">
242 <label> 212 <label>
243 <input type="radio" name="popups" value="block"> 213 <input type="radio" name="popups" value="block">
244 <span> 214 <span>
245 <span i18n-content="popupsBlock"></span> 215 <span i18n-content="popupsBlock"></span>
246 <span class="controlled-setting-indicator" 216 <span class="controlled-setting-indicator"
247 content-setting="popups" value="block"></span> 217 content-setting="popups" value="block"></span>
248 </span> 218 </span>
249 </label> 219 </label>
250 </div> 220 </div>
251 <div class="settings-row"> 221 <div class="settings-row">
252 <button class="exceptions-list-button" contentType="popups" 222 <button class="exceptions-list-button" contentType="popups"
253 i18n-content="manageExceptions"></button> 223 i18n-content="manageExceptions"></button>
254 </div> 224 </div>
255 </div> 225 </div>
256 <div class="experimental-website-settings" hidden>
257 <span id="popups-default-string"></span>
258 <div class="settings-row">
259 <button class="website-settings-permission-button"
260 contentType="popups" i18n-content="websitesManage"></button>
261 </div>
262 </div>
263 </section> 226 </section>
264 <!-- Location filter --> 227 <!-- Location filter -->
265 <section> 228 <section>
266 <h3 i18n-content="locationTabLabel"></h3> 229 <h3 i18n-content="locationTabLabel"></h3>
267 <div class="replace-with-website-settings"> 230 <div>
268 <div class="radio controlled-setting-with-label"> 231 <div class="radio controlled-setting-with-label">
269 <label> 232 <label>
270 <input type="radio" name="location" value="allow"> 233 <input type="radio" name="location" value="allow">
271 <span> 234 <span>
272 <span i18n-content="locationAllow"></span> 235 <span i18n-content="locationAllow"></span>
273 <span class="controlled-setting-indicator" 236 <span class="controlled-setting-indicator"
274 content-setting="location" value="allow"></span> 237 content-setting="location" value="allow"></span>
275 </span> 238 </span>
276 </label> 239 </label>
277 </div> 240 </div>
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
309 pref="googlegeolocationaccess.enabled"></span> 272 pref="googlegeolocationaccess.enabled"></span>
310 </span> 273 </span>
311 </label> 274 </label>
312 </div> 275 </div>
313 </if> 276 </if>
314 <div class="settings-row"> 277 <div class="settings-row">
315 <button class="exceptions-list-button" contentType="location" 278 <button class="exceptions-list-button" contentType="location"
316 i18n-content="manageExceptions"></button> 279 i18n-content="manageExceptions"></button>
317 </div> 280 </div>
318 </div> 281 </div>
319 <div class="experimental-website-settings" hidden>
320 <span id="location-default-string"></span>
321 <div class="settings-row">
322 <button class="website-settings-permission-button"
323 contentType="geolocation" i18n-content="websitesManage"></button>
324 </div>
325 </div>
326 </section> 282 </section>
327 <!-- Notifications filter tab contents --> 283 <!-- Notifications filter tab contents -->
328 <section id="notifications-section"> 284 <section id="notifications-section">
329 <h3 i18n-content="notificationsTabLabel"></h3> 285 <h3 i18n-content="notificationsTabLabel"></h3>
330 <div class="replace-with-website-settings"> 286 <div>
331 <div class="radio controlled-setting-with-label"> 287 <div class="radio controlled-setting-with-label">
332 <label> 288 <label>
333 <input type="radio" name="notifications" value="allow"> 289 <input type="radio" name="notifications" value="allow">
334 <span> 290 <span>
335 <span i18n-content="notificationsAllow"></span> 291 <span i18n-content="notificationsAllow"></span>
336 <span class="controlled-setting-indicator" 292 <span class="controlled-setting-indicator"
337 content-setting="notifications" value="allow"></span> 293 content-setting="notifications" value="allow"></span>
338 </span> 294 </span>
339 </label> 295 </label>
340 </div> 296 </div>
(...skipping 15 matching lines...) Expand all
356 <span class="controlled-setting-indicator" 312 <span class="controlled-setting-indicator"
357 content-setting="notifications" value="block"></span> 313 content-setting="notifications" value="block"></span>
358 </span> 314 </span>
359 </label> 315 </label>
360 </div> 316 </div>
361 <div class="settings-row"> 317 <div class="settings-row">
362 <button class="exceptions-list-button" contentType="notifications" 318 <button class="exceptions-list-button" contentType="notifications"
363 i18n-content="manageExceptions"></button> 319 i18n-content="manageExceptions"></button>
364 </div> 320 </div>
365 </div> 321 </div>
366 <div class="experimental-website-settings" hidden>
367 <span id="notifications-default-string"></span>
368 <div class="settings-row">
369 <button class="website-settings-permission-button"
370 contentType="notifications"
371 i18n-content="websitesManage"></button>
372 </div>
373 </div>
374 </section> 322 </section>
375 <!-- Fullscreen filter --> 323 <!-- Fullscreen filter -->
376 <section> 324 <section>
377 <h3 i18n-content="fullscreenTabLabel"></h3> 325 <h3 i18n-content="fullscreenTabLabel"></h3>
378 <div class="settings-row"> 326 <div class="settings-row">
379 <button class="exceptions-list-button" contentType="fullscreen" 327 <button class="exceptions-list-button" contentType="fullscreen"
380 i18n-content="manageExceptions"></button> 328 i18n-content="manageExceptions"></button>
381 </div> 329 </div>
382 </section> 330 </section>
383 <!-- Mouse Lock filter --> 331 <!-- Mouse Lock filter -->
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
481 <input id="media-stream-block" type="radio" name="media-stream" 429 <input id="media-stream-block" type="radio" name="media-stream"
482 value="block"> 430 value="block">
483 <span> 431 <span>
484 <span id="media-stream-block-label" 432 <span id="media-stream-block-label"
485 i18n-content="mediaStreamBlock"></span> 433 i18n-content="mediaStreamBlock"></span>
486 <span class="controlled-setting-indicator" 434 <span class="controlled-setting-indicator"
487 content-setting="media-stream" value="block"></span> 435 content-setting="media-stream" value="block"></span>
488 </span> 436 </span>
489 </label> 437 </label>
490 </div> 438 </div>
491 <div class="settings-row replace-with-website-settings"> 439 <div class="settings-row">
492 <button class="exceptions-list-button" contentType="media-stream" 440 <button class="exceptions-list-button" contentType="media-stream"
493 i18n-content="manageExceptions"></button> 441 i18n-content="manageExceptions"></button>
494 </div> 442 </div>
495 <div id="media-pepper-flash-default" class="pepper-flash-settings"> 443 <div id="media-pepper-flash-default" class="pepper-flash-settings">
496 <span i18n-content="mediaPepperFlashDefaultDivergedLabel"></span> 444 <span i18n-content="mediaPepperFlashDefaultDivergedLabel"></span>
497 <a target="_blank" i18n-content="mediaPepperFlashChangeLink" 445 <a target="_blank" i18n-content="mediaPepperFlashChangeLink"
498 i18n-values="href:mediaPepperFlashGlobalPrivacyURL"></a> 446 i18n-values="href:mediaPepperFlashGlobalPrivacyURL"></a>
499 </div> 447 </div>
500 </div> 448 </div>
501 <div class="experimental-website-settings" hidden>
502 <div class="settings-row">
503 <button class="website-settings-permission-button"
504 contentType="media-stream" i18n-content="websitesManage"></button>
505 </div>
506 </div>
507 </section> 449 </section>
508 <!-- PPAPI broker --> 450 <!-- PPAPI broker -->
509 <section> 451 <section>
510 <h3 i18n-content="ppapiBrokerTabLabel"></h3> 452 <h3 i18n-content="ppapiBrokerTabLabel"></h3>
511 <div> 453 <div>
512 <div class="radio"> 454 <div class="radio">
513 <label> 455 <label>
514 <input type="radio" name="ppapi-broker" value="allow"> 456 <input type="radio" name="ppapi-broker" value="allow">
515 <span> 457 <span>
516 <span i18n-content="ppapiBrokerAllow"></span> 458 <span i18n-content="ppapiBrokerAllow"></span>
(...skipping 24 matching lines...) Expand all
541 </div> 483 </div>
542 <div class="settings-row"> 484 <div class="settings-row">
543 <button class="exceptions-list-button" contentType="ppapi-broker" 485 <button class="exceptions-list-button" contentType="ppapi-broker"
544 i18n-content="manageExceptions"></button> 486 i18n-content="manageExceptions"></button>
545 </div> 487 </div>
546 </div> 488 </div>
547 </section> 489 </section>
548 <!-- Automatic Downloads filter --> 490 <!-- Automatic Downloads filter -->
549 <section> 491 <section>
550 <h3 i18n-content="multipleAutomaticDownloadsTabLabel"></h3> 492 <h3 i18n-content="multipleAutomaticDownloadsTabLabel"></h3>
551 <div class="replace-with-website-settings"> 493 <div>
552 <div class="radio controlled-setting-with-label"> 494 <div class="radio controlled-setting-with-label">
553 <label> 495 <label>
554 <input type="radio" name="multiple-automatic-downloads" 496 <input type="radio" name="multiple-automatic-downloads"
555 value="allow"> 497 value="allow">
556 <span> 498 <span>
557 <span i18n-content="multipleAutomaticDownloadsAllow"></span> 499 <span i18n-content="multipleAutomaticDownloadsAllow"></span>
558 <span class="controlled-setting-indicator" 500 <span class="controlled-setting-indicator"
559 content-setting="multiple-automatic-downloads" value="allow"> 501 content-setting="multiple-automatic-downloads" value="allow">
560 </span> 502 </span>
561 </span> 503 </span>
(...skipping 21 matching lines...) Expand all
583 </span> 525 </span>
584 </span> 526 </span>
585 </label> 527 </label>
586 </div> 528 </div>
587 <div class="settings-row"> 529 <div class="settings-row">
588 <button class="exceptions-list-button" 530 <button class="exceptions-list-button"
589 contentType="multiple-automatic-downloads" 531 contentType="multiple-automatic-downloads"
590 i18n-content="manageExceptions"></button> 532 i18n-content="manageExceptions"></button>
591 </div> 533 </div>
592 </div> 534 </div>
593 <div class="experimental-website-settings" hidden>
594 <span id="multiple-automatic-downloads-default-string"></span>
595 <div class="settings-row">
596 <button class="website-settings-permission-button"
597 contentType="multiple-automatic-downloads"
598 i18n-content="websitesManage"></button>
599 </div>
600 </div>
601 </section> 535 </section>
602 <!-- MIDI system exclusive messages filter --> 536 <!-- MIDI system exclusive messages filter -->
603 <section> 537 <section>
604 <h3 i18n-content="midiSysexHeader"></h3> 538 <h3 i18n-content="midiSysexHeader"></h3>
605 <div> 539 <div>
606 <div class="radio"> 540 <div class="radio">
607 <label> 541 <label>
608 <input type="radio" name="midi-sysex" value="allow"> 542 <input type="radio" name="midi-sysex" value="allow">
609 <span i18n-content="midiSysExAllow"></span> 543 <span i18n-content="midiSysExAllow"></span>
610 </label> 544 </label>
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
667 </section> 601 </section>
668 </div> 602 </div>
669 <div class="action-area"> 603 <div class="action-area">
670 <div class="button-strip"> 604 <div class="button-strip">
671 <button id="content-settings-overlay-confirm" class="default-button" 605 <button id="content-settings-overlay-confirm" class="default-button"
672 i18n-content="done"> 606 i18n-content="done">
673 </button> 607 </button>
674 </div> 608 </div>
675 </div> 609 </div>
676 </div> 610 </div>
OLDNEW
« no previous file with comments | « chrome/browser/resources/options/browser_options.js ('k') | chrome/browser/resources/options/content_settings.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698