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 -->
7 <h3 i18n-content="cookies_tab_label"></h3>
10 <span class="controlled-setting-with-label">
11 <input id="cookies-allow" type="radio" name="cookies" value="allow">
13 <label for="cookies-allow" i18n-content="cookies_allow"></label>
14 <span class="controlled-setting-indicator"
15 content-setting="cookies" value="allow">
21 <span class="controlled-setting-with-label">
22 <input id="cookies-session" type="radio" name="cookies"
25 <label for="cookies-session" i18n-content="cookies_session_only">
27 <span class="controlled-setting-indicator"
28 content-setting="cookies" value="session">
34 <span class="controlled-setting-with-label">
35 <input id="cookies-block" type="radio" name="cookies" value="block">
37 <label for="cookies-block" i18n-content="cookies_block"></label>
38 <span class="controlled-setting-indicator"
39 content-setting="cookies" value="block">
44 <div class="checkbox">
45 <span class="controlled-setting-with-label">
46 <input id="block-third-party-cookies"
47 pref="profile.block_third_party_cookies" type="checkbox">
49 <label for="block-third-party-cookies"
50 i18n-content="cookies_block_3rd_party">
52 <span class="controlled-setting-indicator"
53 pref="profile.block_third_party_cookies">
58 <!-- TODO(jochen): remove the div with the clear cookies on exit option
59 once this has shipped. -->
60 <div class="checkbox" guest-visibility="disabled" hidden>
62 <input id="clear-cookies-on-exit"
63 pref="profile.clear_site_data_on_exit" type="checkbox">
64 <span i18n-content="cookies_lso_clear_when_close"
65 class="clear-plugin-lso-data-enabled"></span>
66 <span i18n-content="cookies_clear_when_close"
67 class="clear-plugin-lso-data-disabled"></span>
70 <div class="settings-row">
71 <button class="exceptions-list-button" contentType="cookies"
72 i18n-content="manageExceptions"></button>
73 <button id="show-cookies-button"
74 i18n-content="cookies_show_cookies"></button>
80 <h3 i18n-content="images_tab_label"></h3>
83 <span class="controlled-setting-with-label">
84 <input id="images-allow" type="radio" name="images" value="allow">
86 <label for="images-allow" i18n-content="images_allow"></label>
87 <span class="controlled-setting-indicator"
88 content-setting="images" value="allow">
94 <span class="controlled-setting-with-label">
95 <input id="images-block" type="radio" name="images" value="block">
97 <label for="images-block" i18n-content="images_block"></label>
98 <span class="controlled-setting-indicator"
99 content-setting="images" value="block">
104 <div class="settings-row">
105 <button class="exceptions-list-button" contentType="images"
106 i18n-content="manageExceptions"></button>
110 <!-- JavaScript filter -->
112 <h3 i18n-content="javascript_tab_label"></h3>
115 <span class="controlled-setting-with-label">
116 <input id="javascript-allow" type="radio" name="javascript"
119 <label for="javascript-allow" i18n-content="javascript_allow">
121 <span class="controlled-setting-indicator"
122 content-setting="javascript" value="allow">
128 <span class="controlled-setting-with-label">
129 <input id="javascript-block" type="radio" name="javascript"
132 <label for="javascript-block" i18n-content="javascript_block">
134 <span class="controlled-setting-indicator"
135 content-setting="javascript" value="block">
140 <div class="settings-row">
141 <button class="exceptions-list-button" contentType="javascript"
142 i18n-content="manageExceptions"></button>
146 <!-- Handlers settings -->
147 <section id="handlers-section">
148 <h3 i18n-content="handlers_tab_label"></h3>
152 <input type="radio" name="handlers" value="allow"
153 class="handler-radio">
154 <span i18n-content="handlers_allow"></span>
159 <input type="radio" name="handlers" value="block"
160 class="handler-radio">
161 <span i18n-content="handlers_block"></span>
164 <div class="settings-row">
165 <button id="manage-handlers-button" contentType="handlers"
166 i18n-content="manage_handlers"></button>
170 <!-- Plug-ins filter -->
172 <h3 i18n-content="plugins_tab_label"></h3>
175 <span class="controlled-setting-with-label">
176 <input id="plugins-allow" type="radio" name="plugins" value="allow">
178 <label for="plugins-allow" i18n-content="plugins_allow"></label>
179 <span class="controlled-setting-indicator"
180 content-setting="plugins" value="allow">
185 <div id="click_to_play" class="radio">
186 <span class="controlled-setting-with-label">
187 <input id="plugins-ask" type="radio" name="plugins" value="ask">
189 <label for="plugins-ask" i18n-content="plugins_ask"></label>
190 <span class="controlled-setting-indicator"
191 content-setting="plugins" value="ask">
197 <span class="controlled-setting-with-label">
198 <input id="plugins-block" type="radio" name="plugins" value="block">
200 <label for="plugins-block" i18n-content="plugins_block"></label>
201 <span class="controlled-setting-indicator"
202 content-setting="plugins" value="block">
207 <div class="settings-row">
208 <button class="exceptions-list-button" contentType="plugins"
209 i18n-content="manageExceptions"></button>
211 <div id="disable-plugins-container">
212 <a href="chrome://plugins" i18n-content="disableIndividualPlugins"
217 <!-- Pop-ups filter -->
219 <h3 i18n-content="popups_tab_label" class="content-settings-header"></h3>
222 <span class="controlled-setting-with-label">
223 <input id="popups-allow" type="radio" name="popups" value="allow">
225 <label for="popups-allow" i18n-content="popups_allow"></label>
226 <span class="controlled-setting-indicator"
227 content-setting="popups" value="allow">
233 <span class="controlled-setting-with-label">
234 <input id="popups-block" type="radio" name="popups" value="block">
236 <label for="popups-block" i18n-content="popups_block"></label>
237 <span class="controlled-setting-indicator"
238 content-setting="popups" value="block">
243 <div class="settings-row">
244 <button class="exceptions-list-button" contentType="popups"
245 i18n-content="manageExceptions"></button>
249 <!-- Location filter -->
251 <h3 i18n-content="location_tab_label"></h3>
254 <span class="controlled-setting-with-label">
255 <input id="location-allow" type="radio" name="location"
258 <label for="location-allow" i18n-content="location_allow"></label>
259 <span class="controlled-setting-indicator"
260 content-setting="location" value="allow">
266 <span class="controlled-setting-with-label">
267 <input id="location-ask" type="radio" name="location" value="ask">
269 <label for="location-ask" i18n-content="location_ask"></label>
270 <span class="controlled-setting-indicator"
271 content-setting="location" value="ask">
277 <span class="controlled-setting-with-label">
278 <input id="location-block" type="radio" name="location"
281 <label for="location-block" i18n-content="location_block"></label>
282 <span class="controlled-setting-indicator"
283 content-setting="location" value="block">
288 <if expr="pp_ifdef('enable_google_now')">
289 <div class="checkbox" id="geolocationCheckbox" hidden>
290 <span class="controlled-setting-with-label">
291 <input id="googleGeolocationAccessEnabled"
292 pref="googlegeolocationaccess.enabled"
293 metric="Options_GoogleGeolocationAccessCheckbox"
296 <label for="googleGeolocationAccessEnabled"
297 i18n-content="googleGeolocationAccessEnable">
299 <span class="controlled-setting-indicator"
300 pref="googlegeolocationaccess.enabled">
306 <div class="settings-row">
307 <button class="exceptions-list-button" contentType="location"
308 i18n-content="manageExceptions"></button>
312 <!-- Notifications filter tab contents -->
313 <section id="notifications-section">
314 <h3 i18n-content="notifications_tab_label"></h3>
317 <span class="controlled-setting-with-label">
318 <input id="notifications-allow" type="radio" name="notifications"
321 <label for="notifications-allow"
322 i18n-content="notifications_allow">
324 <span class="controlled-setting-indicator"
325 content-setting="notifications" value="allow">
331 <span class="controlled-setting-with-label">
332 <input id="notifications-ask" type="radio" name="notifications"
335 <label for="notifications-ask" i18n-content="notifications_ask">
337 <span class="controlled-setting-indicator"
338 content-setting="notifications" value="ask">
344 <span class="controlled-setting-with-label">
345 <input id="notifications-block" type="radio" name="notifications"
348 <label for="notifications-block"
349 i18n-content="notifications_block">
351 <span class="controlled-setting-indicator"
352 content-setting="notifications" value="block">
357 <div class="settings-row">
358 <button class="exceptions-list-button" contentType="notifications"
359 i18n-content="manageExceptions"></button>
363 <!-- Fullscreen filter -->
365 <h3 i18n-content="fullscreen_tab_label"></h3>
366 <div class="settings-row">
367 <button class="exceptions-list-button" contentType="fullscreen"
368 i18n-content="manageExceptions"></button>
371 <!-- Mouse Lock filter -->
373 <h3 i18n-content="mouselock_tab_label"></h3>
377 <input type="radio" name="mouselock" value="allow">
378 <span i18n-content="mouselock_allow"></span>
383 <input type="radio" name="mouselock" value="ask">
384 <span i18n-content="mouselock_ask"></span>
389 <input type="radio" name="mouselock" value="block">
390 <span i18n-content="mouselock_block"></span>
393 <div class="settings-row">
394 <button class="exceptions-list-button" contentType="mouselock"
395 i18n-content="manageExceptions"></button>
399 <if expr="pp_ifdef('chromeos') or is_win">
400 <!-- Protected Content filter -->
401 <section guest-visibility="disabled">
402 <h3 i18n-content="protectedContentTabLabel"
403 class="content-settings-header"></h3>
405 <div class="settings-row">
406 <p i18n-content="protectedContentInfo"></p>
408 <div class="checkbox">
410 <input pref="settings.privacy.drm_enabled" type="checkbox">
411 <span i18n-content="protectedContentEnable"></span>
414 <div class="settings-row">
415 <button class="exceptions-list-button" contentType="protectedContent"
416 i18n-content="manageExceptions"></button>
421 <!-- Media Stream capture device filter -->
423 <div class="section-header">
424 <h3 i18n-content="mediaStreamTabLabel"></h3>
425 <span id="media-indicator"
426 class="controlled-setting-indicator group-indicator"></span>
429 <div class="media-device-control">
430 <span i18n-content="mediaSelectMicLabel"></span>
431 <select id="media-select-mic" class="weakrtl"></select>
433 <div class="media-device-control">
434 <span i18n-content="mediaSelectCameraLabel"></span>
435 <select id="media-select-camera" class="weakrtl"></select>
438 <span class="controlled-setting-with-label">
439 <input id="media-stream-ask" type="radio" name="media-stream"
442 <label id="media-stream-ask-label" for="media-stream-ask"
443 i18n-content="mediaStreamAsk">
445 <span class="controlled-setting-indicator"
446 content-setting="media-stream" value="ask">
452 <span class="controlled-setting-with-label">
453 <input id="media-stream-block" type="radio" name="media-stream"
456 <label id="media-stream-block-label" for="media-stream-block"
457 i18n-content="mediaStreamBlock">
459 <span class="controlled-setting-indicator"
460 content-setting="media-stream" value="block">
465 <div class="settings-row">
466 <button class="exceptions-list-button" contentType="media-stream"
467 i18n-content="manageExceptions"></button>
469 <div id="media-pepper-flash-default" class="pepper-flash-settings">
470 <span i18n-content="mediaPepperFlashDefaultDivergedLabel"></span>
471 <a target="_blank" i18n-content="mediaPepperFlashChangeLink"
472 i18n-values="href:mediaPepperFlashGlobalPrivacyURL"></a>
476 <!-- PPAPI broker -->
478 <h3 i18n-content="ppapiBrokerTabLabel"></h3>
482 <input type="radio" name="ppapi-broker" value="allow">
483 <span i18n-content="ppapi_broker_allow"></span>
488 <input type="radio" name="ppapi-broker" value="ask">
489 <span i18n-content="ppapi_broker_ask"></span>
494 <input type="radio" name="ppapi-broker" value="block">
495 <span i18n-content="ppapi_broker_block"></span>
498 <div class="settings-row">
499 <button class="exceptions-list-button" contentType="ppapi-broker"
500 i18n-content="manageExceptions"></button>
504 <section id="media-galleries-section" hidden>
505 <h3 i18n-content="mediaGalleriesSectionLabel"></h3>
506 <div class="settings-row">
507 <button id="manage-galleries-button"
508 i18n-content="manageGalleriesButton"></button>
511 <!-- Automatic Downloads filter -->
513 <h3 i18n-content="multiple-automatic-downloads_header"></h3>
516 <span class="controlled-setting-with-label">
517 <input id="multiple-automatic-downloads_allow" type="radio"
518 name="multiple-automatic-downloads" value="allow">
520 <label for="multiple-automatic-downloads_allow"
521 i18n-content="multiple-automatic-downloads_allow">
523 <span class="controlled-setting-indicator"
524 content-setting="multiple-automatic-downloads" value="allow">
530 <span class="controlled-setting-with-label">
531 <input id="multiple-automatic-downloads_ask" type="radio"
532 name="multiple-automatic-downloads" value="ask">
534 <label for="multiple-automatic-downloads_ask"
535 i18n-content="multiple-automatic-downloads_ask">
537 <span class="controlled-setting-indicator"
538 content-setting="multiple-automatic-downloads" value="ask">
544 <span class="controlled-setting-with-label">
545 <input id="multiple-automatic-downloads_block" type="radio"
546 name="multiple-automatic-downloads" value="block">
548 <label for="multiple-automatic-downloads_block"
549 i18n-content="multiple-automatic-downloads_block">
551 <span class="controlled-setting-indicator"
552 content-setting="multiple-automatic-downloads" value="block">
557 <div class="settings-row">
558 <button class="exceptions-list-button"
559 contentType="multiple-automatic-downloads"
560 i18n-content="manageExceptions"></button>
564 <!-- MIDI system exclusive messages filter -->
565 <section id="experimental-web-midi-settings" hidden="true">
566 <h3 i18n-content="midi-sysex_header"></h3>
570 <input type="radio" name="midi-sysex" value="allow">
571 <span i18n-content="midiSysExAllow"></span>
576 <input type="radio" name="midi-sysex" value="ask">
577 <span i18n-content="midiSysExAsk"></span>
582 <input type="radio" name="midi-sysex" value="block">
583 <span i18n-content="midiSysExBlock"></span>
586 <div class="settings-row">
587 <button class="exceptions-list-button" contentType="midi-sysex"
588 i18n-content="manageExceptions"></button>
593 <div class="action-area">
594 <div class="button-strip">
595 <button id="content-settings-overlay-confirm" class="default-button"