Move Webstore URL concepts to //extensions and out
[chromium-blink-merge.git] / chrome / browser / resources / options / content_settings.html
blob2aecd6c60ef048cd02d71ae0ba55e115301b65c8
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 class="replace-with-website-settings">
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="cookies_session_only"></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="cookies_block_3rd_party"></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="cookies_lso_clear_when_close"
55 class="clear-plugin-lso-data-enabled"></span>
56 <span i18n-content="cookies_clear_when_close"
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="cookies_show_cookies"></button>
65 </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="cookies_show_cookies"></button>
74 </div>
75 </div>
76 </section>
77 <!-- Image filter -->
78 <section>
79 <h3 i18n-content="imagesTabLabel"></h3>
80 <div class="replace-with-website-settings">
81 <div class="radio controlled-setting-with-label">
82 <label>
83 <input type="radio" name="images" value="allow">
84 <span i18n-content="imagesAllow"></span>
85 <span class="controlled-setting-indicator"
86 content-setting="images" value="allow"></span>
87 </label>
88 </div>
89 <div class="radio controlled-setting-with-label">
90 <label>
91 <input type="radio" name="images" value="block">
92 <span>
93 <span i18n-content="imagesBlock"></span>
94 <span class="controlled-setting-indicator"
95 content-setting="images" value="block"></span>
96 </span>
97 </label>
98 </div>
99 <div class="settings-row">
100 <button class="exceptions-list-button" contentType="images"
101 i18n-content="manageExceptions"></button>
102 </div>
103 </div>
104 <div class="experimental-website-settings" hidden>
105 <span id="images-default-string"></span>
106 <div class="settings-row">
107 <button class="website-settings-permission-button"
108 contentType="images" i18n-content="websitesManage"></button>
109 </div>
110 </div>
111 </section>
112 <!-- JavaScript filter -->
113 <section>
114 <h3 i18n-content="javascriptTabLabel"></h3>
115 <div class="replace-with-website-settings">
116 <div class="radio controlled-setting-with-label">
117 <label>
118 <input type="radio" name="javascript" value="allow">
119 <span>
120 <span i18n-content="javascriptAllow"></span>
121 <span class="controlled-setting-indicator"
122 content-setting="javascript" value="allow"></span>
123 </span>
124 </label>
125 </div>
126 <div class="radio controlled-setting-with-label">
127 <label>
128 <input type="radio" name="javascript" value="block">
129 <span>
130 <span i18n-content="javascriptBlock"></span>
131 <span class="controlled-setting-indicator"
132 content-setting="javascript" value="block"></span>
133 </span>
134 </label>
135 </div>
136 <div class="settings-row">
137 <button class="exceptions-list-button" contentType="javascript"
138 i18n-content="manageExceptions"></button>
139 </div>
140 </div>
141 <div class="experimental-website-settings" hidden>
142 <span id="javascript-default-string"></span>
143 <div class="settings-row">
144 <button class="website-settings-permission-button"
145 contentType="javascript" i18n-content="websitesManage"></button>
146 </div>
147 </div>
148 </section>
149 <!-- Handlers settings -->
150 <section id="handlers-section">
151 <h3 i18n-content="handlers_tab_label"></h3>
152 <div>
153 <div class="radio">
154 <label>
155 <input type="radio" name="handlers" value="allow"
156 class="handler-radio">
157 <span i18n-content="handlers_allow"></span>
158 </label>
159 </div>
160 <div class="radio">
161 <label>
162 <input type="radio" name="handlers" value="block"
163 class="handler-radio">
164 <span i18n-content="handlers_block"></span>
165 </label>
166 </div>
167 <div class="settings-row">
168 <button id="manage-handlers-button" contentType="handlers"
169 i18n-content="manage_handlers"></button>
170 </div>
171 </div>
172 </section>
173 <!-- Plug-ins filter -->
174 <section>
175 <h3 i18n-content="pluginsTabLabel"></h3>
176 <div class="replace-with-website-settings">
177 <div class="radio controlled-setting-with-label">
178 <label>
179 <input type="radio" name="plugins" value="allow">
180 <span>
181 <span i18n-content="pluginsAllow"></span>
182 <span class="controlled-setting-indicator"
183 content-setting="plugins" value="allow"></span>
184 </span>
185 </label>
186 </div>
187 <div id="click_to_play" class="radio controlled-setting-with-label">
188 <label>
189 <input type="radio" name="plugins" value="ask">
190 <span>
191 <span i18n-content="pluginsAsk"></span>
192 <span class="controlled-setting-indicator"
193 content-setting="plugins" value="ask"></span>
194 </span>
195 </label>
196 </div>
197 <div class="radio controlled-setting-with-label">
198 <label>
199 <input type="radio" name="plugins" value="block">
200 <span>
201 <span i18n-content="pluginsBlock"></span>
202 <span class="controlled-setting-indicator"
203 content-setting="plugins" value="block"></span>
204 </span>
205 </label>
206 </div>
207 <div class="settings-row">
208 <button class="exceptions-list-button" contentType="plugins"
209 i18n-content="manageExceptions"></button>
210 </div>
211 <div id="disable-plugins-container">
212 <a href="chrome://plugins" i18n-content="disableIndividualPlugins"
213 target="_blank"></a>
214 </div>
215 </div>
216 <div class="experimental-website-settings" hidden>
217 <span id="plugins-default-string"></span>
218 <div class="settings-row">
219 <button class="website-settings-permission-button"
220 contentType="plugins" i18n-content="websitesManage"></button>
221 </div>
222 </div>
223 </section>
224 <!-- Pop-ups filter -->
225 <section>
226 <h3 i18n-content="popupsTabLabel" class="content-settings-header"></h3>
227 <div class="replace-with-website-settings">
228 <div class="radio controlled-setting-with-label">
229 <label>
230 <input type="radio" name="popups" value="allow">
231 <span>
232 <span i18n-content="popupsAllow"></span>
233 <span class="controlled-setting-indicator"
234 content-setting="popups" value="allow"></span>
235 </span>
236 </label>
237 </div>
238 <div class="radio controlled-setting-with-label">
239 <label>
240 <input type="radio" name="popups" value="block">
241 <span>
242 <span i18n-content="popupsBlock"></span>
243 <span class="controlled-setting-indicator"
244 content-setting="popups" value="block"></span>
245 </span>
246 </label>
247 </div>
248 <div class="settings-row">
249 <button class="exceptions-list-button" contentType="popups"
250 i18n-content="manageExceptions"></button>
251 </div>
252 </div>
253 <div class="experimental-website-settings" hidden>
254 <span id="popups-default-string"></span>
255 <div class="settings-row">
256 <button class="website-settings-permission-button"
257 contentType="popups" i18n-content="websitesManage"></button>
258 </div>
259 </div>
260 </section>
261 <!-- Location filter -->
262 <section>
263 <h3 i18n-content="locationTabLabel"></h3>
264 <div class="replace-with-website-settings">
265 <div class="radio controlled-setting-with-label">
266 <label>
267 <input type="radio" name="location" value="allow">
268 <span>
269 <span i18n-content="locationAllow"></span>
270 <span class="controlled-setting-indicator"
271 content-setting="location" value="allow"></span>
272 </span>
273 </label>
274 </div>
275 <div class="radio controlled-setting-with-label">
276 <label>
277 <input type="radio" name="location" value="ask">
278 <span>
279 <span i18n-content="locationAsk"></span>
280 <span class="controlled-setting-indicator"
281 content-setting="location" value="ask"></span>
282 </span>
283 </label>
284 </div>
285 <div class="radio controlled-setting-with-label">
286 <label>
287 <input type="radio" name="location"
288 value="block">
289 <span>
290 <span i18n-content="locationBlock"></span>
291 <span class="controlled-setting-indicator"
292 content-setting="location" value="block"></span>
293 </span>
294 </label>
295 </div>
296 <if expr="enable_google_now">
297 <div class="checkbox controlled-setting-with-label"
298 id="geolocationCheckbox" hidden>
299 <label>
300 <input pref="googlegeolocationaccess.enabled"
301 metric="Options_GoogleGeolocationAccessCheckbox"
302 type="checkbox">
303 <span>
304 <span i18n-content="googleGeolocationAccessEnable"></span>
305 <span class="controlled-setting-indicator"
306 pref="googlegeolocationaccess.enabled"></span>
307 </span>
308 </label>
309 </div>
310 </if>
311 <div class="settings-row">
312 <button class="exceptions-list-button" contentType="location"
313 i18n-content="manageExceptions"></button>
314 </div>
315 </div>
316 <div class="experimental-website-settings" hidden>
317 <span id="location-default-string"></span>
318 <div class="settings-row">
319 <button class="website-settings-permission-button"
320 contentType="geolocation" i18n-content="websitesManage"></button>
321 </div>
322 </div>
323 </section>
324 <!-- Notifications filter tab contents -->
325 <section id="notifications-section">
326 <h3 i18n-content="notificationsTabLabel"></h3>
327 <div class="replace-with-website-settings">
328 <div class="radio controlled-setting-with-label">
329 <label>
330 <input type="radio" name="notifications" value="allow">
331 <span>
332 <span i18n-content="notificationsAllow"></span>
333 <span class="controlled-setting-indicator"
334 content-setting="notifications" value="allow"></span>
335 </span>
336 </label>
337 </div>
338 <div class="radio controlled-setting-with-label">
339 <label>
340 <input type="radio" name="notifications" value="ask">
341 <span>
342 <span i18n-content="notificationsAsk"></span>
343 <span class="controlled-setting-indicator"
344 content-setting="notifications" value="ask"></span>
345 </span>
346 </label>
347 </div>
348 <div class="radio controlled-setting-with-label">
349 <label>
350 <input type="radio" name="notifications" value="block">
351 <span>
352 <span i18n-content="notificationsBlock"></span>
353 <span class="controlled-setting-indicator"
354 content-setting="notifications" value="block"></span>
355 </span>
356 </label>
357 </div>
358 <div class="settings-row">
359 <button class="exceptions-list-button" contentType="notifications"
360 i18n-content="manageExceptions"></button>
361 </div>
362 </div>
363 <div class="experimental-website-settings" hidden>
364 <span id="notifications-default-string"></span>
365 <div class="settings-row">
366 <button class="website-settings-permission-button"
367 contentType="notifications"
368 i18n-content="websitesManage"></button>
369 </div>
370 </div>
371 </section>
372 <!-- Fullscreen filter -->
373 <section>
374 <h3 i18n-content="fullscreenTabLabel"></h3>
375 <div class="settings-row">
376 <button class="exceptions-list-button" contentType="fullscreen"
377 i18n-content="manageExceptions"></button>
378 </div>
379 </section>
380 <!-- Mouse Lock filter -->
381 <section>
382 <h3 i18n-content="mouselockTabLabel"></h3>
383 <div>
384 <div class="radio">
385 <label>
386 <input type="radio" name="mouselock" value="allow">
387 <span i18n-content="mouselockAllow"></span>
388 </label>
389 </div>
390 <div class="radio">
391 <label>
392 <input type="radio" name="mouselock" value="ask">
393 <span i18n-content="mouselockAsk"></span>
394 </label>
395 </div>
396 <div class="radio">
397 <label>
398 <input type="radio" name="mouselock" value="block">
399 <span i18n-content="mouselockBlock"></span>
400 </label>
401 </div>
402 <div class="settings-row">
403 <button class="exceptions-list-button" contentType="mouselock"
404 i18n-content="manageExceptions"></button>
405 </div>
406 </div>
407 </section>
408 <if expr="chromeos or is_win">
409 <!-- Protected Content filter -->
410 <section guest-visibility="disabled">
411 <h3 i18n-content="protectedContentTabLabel"
412 class="content-settings-header"></h3>
413 <div>
414 <div class="settings-row">
415 <p i18n-content="protectedContentInfo"></p>
416 </div>
417 <div class="checkbox">
418 <label>
419 <input pref="settings.privacy.drm_enabled" type="checkbox">
420 <span i18n-content="protectedContentEnable"></span>
421 </label>
422 </div>
423 <if expr="chromeos">
424 <div class="settings-row">
425 <button id="protected-content-exceptions"
426 class="exceptions-list-button" contentType="protectedContent"
427 i18n-content="manageExceptions"></button>
428 </div>
429 </if>
430 </div>
431 </section>
432 </if>
433 <!-- Media Stream capture device filter -->
434 <section id="media-stream-settings">
435 <div class="section-header">
436 <h3 i18n-content="mediaStreamTabLabel"></h3>
437 <span id="media-indicator"
438 class="controlled-setting-indicator group-indicator"></span>
439 </div>
440 <div>
441 <div class="media-device-control">
442 <span i18n-content="mediaSelectMicLabel"></span>
443 <select id="media-select-mic" class="weakrtl"></select>
444 </div>
445 <div class="media-device-control">
446 <span i18n-content="mediaSelectCameraLabel"></span>
447 <select id="media-select-camera" class="weakrtl"></select>
448 </div>
449 <div class="radio controlled-setting-with-label">
450 <label>
451 <input type="radio" name="media-stream" value="ask">
452 <span>
453 <span id="media-stream-ask-label" i18n-content="mediaStreamAsk">
454 </span>
455 <span class="controlled-setting-indicator"
456 content-setting="media-stream" value="ask"></span>
457 </span>
458 </label>
459 </div>
460 <div class="radio controlled-setting-with-label">
461 <label>
462 <input id="media-stream-block" type="radio" name="media-stream"
463 value="block">
464 <span>
465 <span id="media-stream-block-label"
466 i18n-content="mediaStreamBlock"></span>
467 <span class="controlled-setting-indicator"
468 content-setting="media-stream" value="block"></span>
469 </span>
470 </label>
471 </div>
472 <div class="settings-row replace-with-website-settings">
473 <button class="exceptions-list-button" contentType="media-stream"
474 i18n-content="manageExceptions"></button>
475 </div>
476 <div id="media-pepper-flash-default" class="pepper-flash-settings">
477 <span i18n-content="mediaPepperFlashDefaultDivergedLabel"></span>
478 <a target="_blank" i18n-content="mediaPepperFlashChangeLink"
479 i18n-values="href:mediaPepperFlashGlobalPrivacyURL"></a>
480 </div>
481 </div>
482 <div class="experimental-website-settings" hidden>
483 <div class="settings-row">
484 <button class="website-settings-permission-button"
485 contentType="media-stream" i18n-content="websitesManage"></button>
486 </div>
487 </div>
488 </section>
489 <!-- PPAPI broker -->
490 <section>
491 <h3 i18n-content="ppapiBrokerTabLabel"></h3>
492 <div>
493 <div class="radio">
494 <label>
495 <input type="radio" name="ppapi-broker" value="allow">
496 <span i18n-content="ppapiBrokerAllow"></span>
497 </label>
498 </div>
499 <div class="radio">
500 <label>
501 <input type="radio" name="ppapi-broker" value="ask">
502 <span i18n-content="ppapiBrokerAsk"></span>
503 </label>
504 </div>
505 <div class="radio">
506 <label>
507 <input type="radio" name="ppapi-broker" value="block">
508 <span i18n-content="ppapiBrokerBlock"></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 class="replace-with-website-settings">
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 <div class="experimental-website-settings" hidden>
563 <span id="multiple-automatic-downloads-default-string"></span>
564 <div class="settings-row">
565 <button class="website-settings-permission-button"
566 contentType="multiple-automatic-downloads"
567 i18n-content="websitesManage"></button>
568 </div>
569 </div>
570 </section>
571 <!-- MIDI system exclusive messages filter -->
572 <section id="experimental-web-midi-settings" hidden="true">
573 <h3 i18n-content="midi-sysex_header"></h3>
574 <div>
575 <div class="radio">
576 <label>
577 <input type="radio" name="midi-sysex" value="allow">
578 <span i18n-content="midiSysExAllow"></span>
579 </label>
580 </div>
581 <div class="radio">
582 <label>
583 <input type="radio" name="midi-sysex" value="ask">
584 <span i18n-content="midiSysExAsk"></span>
585 </label>
586 </div>
587 <div class="radio">
588 <label>
589 <input type="radio" name="midi-sysex" value="block">
590 <span i18n-content="midiSysExBlock"></span>
591 </label>
592 </div>
593 <div class="settings-row">
594 <button class="exceptions-list-button" contentType="midi-sysex"
595 i18n-content="manageExceptions"></button>
596 </div>
597 </div>
598 </section>
599 <!-- Push messaging filter -->
600 <section id="experimental-push-messaging-settings" hidden="true">
601 <h3 i18n-content="push-messaging_header"></h3>
602 <div>
603 <div class="radio">
604 <label>
605 <input type="radio" name="push-messaging" value="allow">
606 <span i18n-content="pushMessagingAllow"></span>
607 </label>
608 </div>
609 <div class="radio">
610 <label>
611 <input type="radio" name="push-messaging" value="ask">
612 <span i18n-content="pushMessagingAsk"></span>
613 </label>
614 </div>
615 <div class="radio">
616 <label>
617 <input type="radio" name="push-messaging" value="block">
618 <span i18n-content="pushMessagingBlock"></span>
619 </label>
620 </div>
621 <div class="settings-row">
622 <button class="exceptions-list-button" contentType="push-messaging"
623 i18n-content="manageExceptions"></button>
624 </div>
625 </div>
626 </section>
627 <!-- Page zoom levels -->
628 <section id="page-zoom-levels">
629 <h3 i18n-content="zoomlevels_header"></h3>
630 <div>
631 <div class="settings-row">
632 <button class="exceptions-list-button" contentType="zoomlevels"
633 i18n-content="zoomLevelsManage"></button>
634 </div>
635 </div>
636 </section>
637 </div>
638 <div class="action-area">
639 <div class="button-strip">
640 <button id="content-settings-overlay-confirm" class="default-button"
641 i18n-content="done">
642 </button>
643 </div>
644 </div>
645 </div>