Allow only one bookmark to be added for multiple fast starring
[chromium-blink-merge.git] / chrome / browser / resources / options / content_settings.html
blobd9c5d8800f2282be955f1c7d99bcff86f34a98c9
1 <div id="content-settings-page" class="page" hidden>
2 <div class="close-button"></div>
3 <h1 i18n-content="contentSettingsPage"></h1>
4 <div class="content-area">
5 <!-- Cookie filter tab contents -->
6 <section>
7 <h3 i18n-content="cookiesTabLabel"></h3>
8 <div>
9 <div class="radio controlled-setting-with-label">
10 <label>
11 <input type="radio" name="cookies" value="allow">
12 <span>
13 <span i18n-content="cookiesAllow"></span>
14 <span class="controlled-setting-indicator"
15 content-setting="cookies" value="allow"></span>
16 </span>
17 </label>
18 </div>
19 <div class="radio controlled-setting-with-label">
20 <label>
21 <input type="radio" name="cookies" value="session">
22 <span>
23 <span i18n-content="cookiesSession"></span>
24 <span class="controlled-setting-indicator"
25 content-setting="cookies" value="session"></span>
26 </span>
27 </label>
28 </div>
29 <div class="radio controlled-setting-with-label">
30 <label>
31 <input type="radio" name="cookies" value="block">
32 <span>
33 <span i18n-content="cookiesBlock"></span>
34 <span class="controlled-setting-indicator"
35 content-setting="cookies" value="block"></span>
36 </span>
37 </label>
38 </div>
39 <div class="checkbox controlled-setting-with-label">
40 <label>
41 <input pref="profile.block_third_party_cookies" type="checkbox">
42 <span>
43 <span i18n-content="cookiesBlock3rdParty"></span>
44 <span class="controlled-setting-indicator"
45 pref="profile.block_third_party_cookies"></span>
46 </label>
47 </div>
48 <!-- TODO(jochen): remove the div with the clear cookies on exit option
49 once this has shipped. -->
50 <div class="checkbox" guest-visibility="disabled" hidden>
51 <label>
52 <input id="clear-cookies-on-exit"
53 pref="profile.clear_site_data_on_exit" type="checkbox">
54 <span i18n-content="cookiesLsoClearWhenClose"
55 class="clear-plugin-lso-data-enabled"></span>
56 <span i18n-content="cookiesClearWhenClose"
57 class="clear-plugin-lso-data-disabled"></span>
58 </label>
59 </div>
60 <div class="settings-row">
61 <button class="exceptions-list-button" contentType="cookies"
62 i18n-content="manageExceptions"></button>
63 <button id="show-cookies-button"
64 i18n-content="cookiesShowCookies"></button>
65 </div>
66 </div>
67 </section>
68 <!-- Image filter -->
69 <section>
70 <h3 i18n-content="imagesTabLabel"></h3>
71 <div>
72 <div class="radio controlled-setting-with-label">
73 <label>
74 <input type="radio" name="images" value="allow">
75 <span>
76 <span i18n-content="imagesAllow"></span>
77 <span class="controlled-setting-indicator"
78 content-setting="images" value="allow"></span>
79 </span>
80 </label>
81 </div>
82 <div class="radio controlled-setting-with-label">
83 <label>
84 <input type="radio" name="images" value="block">
85 <span>
86 <span i18n-content="imagesBlock"></span>
87 <span class="controlled-setting-indicator"
88 content-setting="images" value="block"></span>
89 </span>
90 </label>
91 </div>
92 <div class="settings-row">
93 <button class="exceptions-list-button" contentType="images"
94 i18n-content="manageExceptions"></button>
95 </div>
96 </div>
97 </section>
98 <!-- JavaScript filter -->
99 <section>
100 <h3 i18n-content="javascriptTabLabel"></h3>
101 <div>
102 <div class="radio controlled-setting-with-label">
103 <label>
104 <input type="radio" name="javascript" value="allow">
105 <span>
106 <span i18n-content="javascriptAllow"></span>
107 <span class="controlled-setting-indicator"
108 content-setting="javascript" value="allow"></span>
109 </span>
110 </label>
111 </div>
112 <div class="radio controlled-setting-with-label">
113 <label>
114 <input type="radio" name="javascript" value="block">
115 <span>
116 <span i18n-content="javascriptBlock"></span>
117 <span class="controlled-setting-indicator"
118 content-setting="javascript" value="block"></span>
119 </span>
120 </label>
121 </div>
122 <div class="settings-row">
123 <button class="exceptions-list-button" contentType="javascript"
124 i18n-content="manageExceptions"></button>
125 </div>
126 </div>
127 </section>
128 <!-- Handlers settings -->
129 <section id="handlers-section">
130 <h3 i18n-content="handlersTabLabel"></h3>
131 <div>
132 <div class="radio">
133 <label>
134 <input type="radio" name="handlers" value="allow"
135 class="handler-radio">
136 <span i18n-content="handlersAllow"></span>
137 </label>
138 </div>
139 <div class="radio">
140 <label>
141 <input type="radio" name="handlers" value="block"
142 class="handler-radio">
143 <span i18n-content="handlersBlock"></span>
144 </label>
145 </div>
146 <div class="settings-row">
147 <button id="manage-handlers-button" contentType="handlers"
148 i18n-content="manageHandlers"></button>
149 </div>
150 </div>
151 </section>
152 <!-- Plugins filter -->
153 <section>
154 <h3 i18n-content="pluginsTabLabel"></h3>
155 <div>
156 <div class="radio controlled-setting-with-label">
157 <label>
158 <input id="plugins-allow-radio" type="radio" name="plugins"
159 value="allow">
160 <span>
161 <span i18n-content="pluginsAllow"></span>
162 <span class="controlled-setting-indicator"
163 content-setting="plugins" value="allow"></span>
164 </span>
165 </label>
166 </div>
167 <div class="radio controlled-setting-with-label">
168 <label>
169 <input type="radio" name="plugins" value="detect">
170 <span>
171 <span i18n-content="pluginsDetect"></span>
172 <span class="controlled-setting-indicator"
173 content-setting="plugins" value="detect"></span>
174 </span>
175 </label>
176 </div>
177 <div class="radio controlled-setting-with-label">
178 <label>
179 <input type="radio" name="plugins" value="block">
180 <span>
181 <span i18n-content="pluginsBlock"></span>
182 <span class="controlled-setting-indicator"
183 content-setting="plugins" value="block"></span>
184 </span>
185 </label>
186 </div>
187 <div class="settings-row">
188 <button class="exceptions-list-button" contentType="plugins"
189 i18n-content="manageExceptions"></button>
190 </div>
191 <div id="disable-plugins-container">
192 <a href="chrome://plugins" i18n-content="manageIndividualPlugins"
193 target="_blank"></a>
194 </div>
195 </div>
196 </section>
197 <!-- Pop-ups filter -->
198 <section>
199 <h3 i18n-content="popupsTabLabel" class="content-settings-header"></h3>
200 <div>
201 <div class="radio controlled-setting-with-label">
202 <label>
203 <input type="radio" name="popups" value="allow">
204 <span>
205 <span i18n-content="popupsAllow"></span>
206 <span class="controlled-setting-indicator"
207 content-setting="popups" value="allow"></span>
208 </span>
209 </label>
210 </div>
211 <div class="radio controlled-setting-with-label">
212 <label>
213 <input type="radio" name="popups" value="block">
214 <span>
215 <span i18n-content="popupsBlock"></span>
216 <span class="controlled-setting-indicator"
217 content-setting="popups" value="block"></span>
218 </span>
219 </label>
220 </div>
221 <div class="settings-row">
222 <button class="exceptions-list-button" contentType="popups"
223 i18n-content="manageExceptions"></button>
224 </div>
225 </div>
226 </section>
227 <!-- Location filter -->
228 <section>
229 <h3 i18n-content="locationTabLabel"></h3>
230 <div>
231 <div class="radio controlled-setting-with-label">
232 <label>
233 <input type="radio" name="location" value="allow">
234 <span>
235 <span i18n-content="locationAllow"></span>
236 <span class="controlled-setting-indicator"
237 content-setting="location" value="allow"></span>
238 </span>
239 </label>
240 </div>
241 <div class="radio controlled-setting-with-label">
242 <label>
243 <input type="radio" name="location" value="ask">
244 <span>
245 <span i18n-content="locationAsk"></span>
246 <span class="controlled-setting-indicator"
247 content-setting="location" value="ask"></span>
248 </span>
249 </label>
250 </div>
251 <div class="radio controlled-setting-with-label">
252 <label>
253 <input type="radio" name="location"
254 value="block">
255 <span>
256 <span i18n-content="locationBlock"></span>
257 <span class="controlled-setting-indicator"
258 content-setting="location" value="block"></span>
259 </span>
260 </label>
261 </div>
262 <if expr="enable_google_now">
263 <div class="checkbox controlled-setting-with-label"
264 id="geolocationCheckbox" hidden>
265 <label>
266 <input pref="googlegeolocationaccess.enabled"
267 metric="Options_GoogleGeolocationAccessCheckbox"
268 type="checkbox">
269 <span>
270 <span i18n-content="googleGeolocationAccessEnable"></span>
271 <span class="controlled-setting-indicator"
272 pref="googlegeolocationaccess.enabled"></span>
273 </span>
274 </label>
275 </div>
276 </if>
277 <div class="settings-row">
278 <button class="exceptions-list-button" contentType="location"
279 i18n-content="manageExceptions"></button>
280 </div>
281 </div>
282 </section>
283 <!-- Notifications filter tab contents -->
284 <section id="notifications-section">
285 <h3 i18n-content="notificationsTabLabel"></h3>
286 <div>
287 <div class="radio controlled-setting-with-label">
288 <label>
289 <input type="radio" name="notifications" value="allow">
290 <span>
291 <span i18n-content="notificationsAllow"></span>
292 <span class="controlled-setting-indicator"
293 content-setting="notifications" value="allow"></span>
294 </span>
295 </label>
296 </div>
297 <div class="radio controlled-setting-with-label">
298 <label>
299 <input type="radio" name="notifications" value="ask">
300 <span>
301 <span i18n-content="notificationsAsk"></span>
302 <span class="controlled-setting-indicator"
303 content-setting="notifications" value="ask"></span>
304 </span>
305 </label>
306 </div>
307 <div class="radio controlled-setting-with-label">
308 <label>
309 <input type="radio" name="notifications" value="block">
310 <span>
311 <span i18n-content="notificationsBlock"></span>
312 <span class="controlled-setting-indicator"
313 content-setting="notifications" value="block"></span>
314 </span>
315 </label>
316 </div>
317 <div class="settings-row">
318 <button class="exceptions-list-button" contentType="notifications"
319 i18n-content="manageExceptions"></button>
320 </div>
321 </div>
322 </section>
323 <!-- Fullscreen filter -->
324 <section>
325 <h3 i18n-content="fullscreenTabLabel"></h3>
326 <div class="settings-row">
327 <button class="exceptions-list-button" contentType="fullscreen"
328 i18n-content="manageExceptions"></button>
329 </div>
330 </section>
331 <!-- Mouse Lock filter -->
332 <section>
333 <h3 i18n-content="mouselockTabLabel"></h3>
334 <div>
335 <div class="radio">
336 <label>
337 <input type="radio" name="mouselock" value="allow">
338 <span>
339 <span i18n-content="mouselockAllow"></span>
340 <span class="controlled-setting-indicator"
341 content-setting="mouselock" value="allow"></span>
342 </span>
343 </label>
344 </div>
345 <div class="radio">
346 <label>
347 <input type="radio" name="mouselock" value="ask">
348 <span>
349 <span i18n-content="mouselockAsk"></span>
350 <span class="controlled-setting-indicator"
351 content-setting="mouselock" value="ask"></span>
352 </span>
353 </label>
354 </div>
355 <div class="radio">
356 <label>
357 <input type="radio" name="mouselock" value="block">
358 <span>
359 <span i18n-content="mouselockBlock"></span>
360 <span class="controlled-setting-indicator"
361 content-setting="mouselock" value="block"></span>
362 </span>
363 </label>
364 </div>
365 <div class="settings-row">
366 <button class="exceptions-list-button" contentType="mouselock"
367 i18n-content="manageExceptions"></button>
368 </div>
369 </div>
370 </section>
371 <if expr="chromeos or is_win">
372 <!-- Protected Content filter -->
373 <section guest-visibility="disabled">
374 <h3 i18n-content="protectedContentTabLabel"
375 class="content-settings-header"></h3>
376 <div>
377 <div class="settings-row">
378 <p i18n-content="protectedContentInfo"></p>
379 </div>
380 <div class="checkbox">
381 <label>
382 <input pref="settings.privacy.drm_enabled" type="checkbox">
383 <span i18n-content="protectedContentEnable"></span>
384 </label>
385 </div>
386 <if expr="chromeos">
387 <div class="settings-row">
388 <button id="protected-content-exceptions"
389 class="exceptions-list-button" contentType="protectedContent"
390 i18n-content="manageExceptions"></button>
391 </div>
392 </if>
393 </div>
394 </section>
395 </if>
396 <!-- Microphone filter -->
397 <section id="media-stream-mic">
398 <h3 i18n-content="mediaStreamMicTabLabel"></h3>
399 <div>
400 <span id="media-select-mic-label"
401 i18n-content="mediaSelectMicLabel" hidden></span>
402 <select id="media-select-mic" class="weakrtl media-device-control"
403 aria-labelledby="media-select-mic-label"></select>
404 <div class="radio controlled-setting-with-label">
405 <label>
406 <input type="radio" name="media-stream-mic" value="ask">
407 <span>
408 <span i18n-content="mediaStreamMicAsk"></span>
409 <span class="controlled-setting-indicator"
410 content-setting="media-stream-mic" value="ask"></span>
411 </span>
412 </label>
413 </div>
414 <div class="radio controlled-setting-with-label">
415 <label>
416 <input type="radio" name="media-stream-mic" value="block">
417 <span>
418 <span i18n-content="mediaStreamMicBlock"></span>
419 <span class="controlled-setting-indicator"
420 content-setting="media-stream-mic" value="block"></span>
421 </span>
422 </label>
423 </div>
424 <div class="settings-row">
425 <button class="exceptions-list-button" contentType="media-stream-mic"
426 i18n-content="manageExceptions"></button>
427 </div>
428 <div id="media-pepper-flash-default-mic" class="pepper-flash-settings">
429 <span i18n-content="mediaPepperFlashMicDefaultDivergedLabel"></span>
430 <a target="_blank" i18n-content="mediaPepperFlashChangeLink"
431 i18n-values="href:mediaPepperFlashGlobalPrivacyURL"></a>
432 </div>
433 </div>
434 </section>
435 <!-- Camera filter -->
436 <section id="media-stream-camera">
437 <h3 i18n-content="mediaStreamCameraTabLabel"></h3>
438 <div>
439 <span id="media-select-camera-label"
440 i18n-content="mediaSelectCameraLabel" hidden></span>
441 <select id="media-select-camera" class="weakrtl media-device-control"
442 aria-labelledby="media-select-camera-label"></select>
443 <div class="radio controlled-setting-with-label">
444 <label>
445 <input type="radio" name="media-stream-camera" value="ask">
446 <span>
447 <span i18n-content="mediaStreamCameraAsk"></span>
448 <span class="controlled-setting-indicator"
449 content-setting="media-stream-camera" value="ask"></span>
450 </span>
451 </label>
452 </div>
453 <div class="radio controlled-setting-with-label">
454 <label>
455 <input type="radio" name="media-stream-camera" value="block">
456 <span>
457 <span i18n-content="mediaStreamCameraBlock"></span>
458 <span class="controlled-setting-indicator"
459 content-setting="media-stream-camera" value="block"></span>
460 </span>
461 </label>
462 </div>
463 <div class="settings-row">
464 <button class="exceptions-list-button"
465 contentType="media-stream-camera" i18n-content="manageExceptions">
466 </button>
467 </div>
468 <div id="media-pepper-flash-default-camera"
469 class="pepper-flash-settings">
470 <span i18n-content="mediaPepperFlashCameraDefaultDivergedLabel">
471 </span>
472 <a target="_blank" i18n-content="mediaPepperFlashChangeLink"
473 i18n-values="href:mediaPepperFlashGlobalPrivacyURL"></a>
474 </div>
475 </div>
476 </section>
477 <!-- PPAPI broker -->
478 <section>
479 <h3 i18n-content="ppapiBrokerTabLabel"></h3>
480 <div>
481 <div class="radio">
482 <label>
483 <input type="radio" name="ppapi-broker" value="allow">
484 <span>
485 <span i18n-content="ppapiBrokerAllow"></span>
486 <span class="controlled-setting-indicator"
487 content-setting="ppapi-broker" value="allow"></span>
488 </span>
489 </label>
490 </div>
491 <div class="radio">
492 <label>
493 <input type="radio" name="ppapi-broker" value="ask">
494 <span>
495 <span i18n-content="ppapiBrokerAsk"></span>
496 <span class="controlled-setting-indicator"
497 content-setting="ppapi-broker" value="ask"></span>
498 </span>
499 </label>
500 </div>
501 <div class="radio">
502 <label>
503 <input type="radio" name="ppapi-broker" value="block">
504 <span>
505 <span i18n-content="ppapiBrokerBlock"></span>
506 <span class="controlled-setting-indicator"
507 content-setting="ppapi-broker" value="block"></span>
508 </span>
509 </label>
510 </div>
511 <div class="settings-row">
512 <button class="exceptions-list-button" contentType="ppapi-broker"
513 i18n-content="manageExceptions"></button>
514 </div>
515 </div>
516 </section>
517 <!-- Automatic Downloads filter -->
518 <section>
519 <h3 i18n-content="multipleAutomaticDownloadsTabLabel"></h3>
520 <div>
521 <div class="radio controlled-setting-with-label">
522 <label>
523 <input type="radio" name="multiple-automatic-downloads"
524 value="allow">
525 <span>
526 <span i18n-content="multipleAutomaticDownloadsAllow"></span>
527 <span class="controlled-setting-indicator"
528 content-setting="multiple-automatic-downloads" value="allow">
529 </span>
530 </span>
531 </label>
532 </div>
533 <div class="radio controlled-setting-with-label">
534 <label>
535 <input type="radio" name="multiple-automatic-downloads" value="ask">
536 <span>
537 <span i18n-content="multipleAutomaticDownloadsAsk"></span>
538 <span class="controlled-setting-indicator"
539 content-setting="multiple-automatic-downloads" value="ask">
540 </span>
541 </span>
542 </label>
543 </div>
544 <div class="radio controlled-setting-with-label">
545 <label>
546 <input type="radio" name="multiple-automatic-downloads"
547 value="block">
548 <span>
549 <span i18n-content="multipleAutomaticDownloadsBlock"></span>
550 <span class="controlled-setting-indicator"
551 content-setting="multiple-automatic-downloads" value="block">
552 </span>
553 </span>
554 </label>
555 </div>
556 <div class="settings-row">
557 <button class="exceptions-list-button"
558 contentType="multiple-automatic-downloads"
559 i18n-content="manageExceptions"></button>
560 </div>
561 </div>
562 </section>
563 <!-- MIDI system exclusive messages filter -->
564 <section>
565 <h3 i18n-content="midiSysexHeader"></h3>
566 <div>
567 <div class="radio">
568 <label>
569 <input type="radio" name="midi-sysex" value="allow">
570 <span i18n-content="midiSysExAllow"></span>
571 </label>
572 </div>
573 <div class="radio">
574 <label>
575 <input type="radio" name="midi-sysex" value="ask">
576 <span i18n-content="midiSysExAsk"></span>
577 </label>
578 </div>
579 <div class="radio">
580 <label>
581 <input type="radio" name="midi-sysex" value="block">
582 <span i18n-content="midiSysExBlock"></span>
583 </label>
584 </div>
585 <div class="settings-row">
586 <button class="exceptions-list-button" contentType="midi-sysex"
587 i18n-content="manageExceptions"></button>
588 </div>
589 </div>
590 </section>
591 <!-- Push messaging filter -->
592 <section id="experimental-push-messaging-settings" hidden="true">
593 <h3 i18n-content="pushMessagingHeader"></h3>
594 <div>
595 <div class="radio">
596 <label>
597 <input type="radio" name="push-messaging" value="allow">
598 <span i18n-content="pushMessagingAllow"></span>
599 </label>
600 </div>
601 <div class="radio">
602 <label>
603 <input type="radio" name="push-messaging" value="ask">
604 <span i18n-content="pushMessagingAsk"></span>
605 </label>
606 </div>
607 <div class="radio">
608 <label>
609 <input type="radio" name="push-messaging" value="block">
610 <span i18n-content="pushMessagingBlock"></span>
611 </label>
612 </div>
613 <div class="settings-row">
614 <button class="exceptions-list-button" contentType="push-messaging"
615 i18n-content="manageExceptions"></button>
616 </div>
617 </div>
618 </section>
619 <!-- Page zoom levels -->
620 <section id="page-zoom-levels">
621 <h3 i18n-content="zoomlevelsHeader"></h3>
622 <div>
623 <div class="settings-row">
624 <button class="exceptions-list-button" contentType="zoomlevels"
625 i18n-content="zoomLevelsManage"></button>
626 </div>
627 </div>
628 </section>
629 </div>
630 <div class="action-area">
631 <div class="button-strip">
632 <button id="content-settings-overlay-confirm" class="default-button"
633 i18n-content="done">
634 </button>
635 </div>
636 </div>
637 </div>