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 <if expr="pp_ifdef('chromeos')">
415 <div class="settings-row">
416 <button id="protected-content-exceptions"
417 class="exceptions-list-button" contentType="protectedContent"
418 i18n-content="manageExceptions"></button>
424 <!-- Media Stream capture device filter -->
426 <div class="section-header">
427 <h3 i18n-content="mediaStreamTabLabel"></h3>
428 <span id="media-indicator"
429 class="controlled-setting-indicator group-indicator"></span>
432 <div class="media-device-control">
433 <span i18n-content="mediaSelectMicLabel"></span>
434 <select id="media-select-mic" class="weakrtl"></select>
436 <div class="media-device-control">
437 <span i18n-content="mediaSelectCameraLabel"></span>
438 <select id="media-select-camera" class="weakrtl"></select>
441 <span class="controlled-setting-with-label">
442 <input id="media-stream-ask" type="radio" name="media-stream"
445 <label id="media-stream-ask-label" for="media-stream-ask"
446 i18n-content="mediaStreamAsk">
448 <span class="controlled-setting-indicator"
449 content-setting="media-stream" value="ask">
455 <span class="controlled-setting-with-label">
456 <input id="media-stream-block" type="radio" name="media-stream"
459 <label id="media-stream-block-label" for="media-stream-block"
460 i18n-content="mediaStreamBlock">
462 <span class="controlled-setting-indicator"
463 content-setting="media-stream" value="block">
468 <div class="settings-row">
469 <button class="exceptions-list-button" contentType="media-stream"
470 i18n-content="manageExceptions"></button>
472 <div id="media-pepper-flash-default" class="pepper-flash-settings">
473 <span i18n-content="mediaPepperFlashDefaultDivergedLabel"></span>
474 <a target="_blank" i18n-content="mediaPepperFlashChangeLink"
475 i18n-values="href:mediaPepperFlashGlobalPrivacyURL"></a>
479 <!-- PPAPI broker -->
481 <h3 i18n-content="ppapiBrokerTabLabel"></h3>
485 <input type="radio" name="ppapi-broker" value="allow">
486 <span i18n-content="ppapi_broker_allow"></span>
491 <input type="radio" name="ppapi-broker" value="ask">
492 <span i18n-content="ppapi_broker_ask"></span>
497 <input type="radio" name="ppapi-broker" value="block">
498 <span i18n-content="ppapi_broker_block"></span>
501 <div class="settings-row">
502 <button class="exceptions-list-button" contentType="ppapi-broker"
503 i18n-content="manageExceptions"></button>
507 <section id="media-galleries-section" hidden>
508 <h3 i18n-content="mediaGalleriesSectionLabel"></h3>
509 <div class="settings-row">
510 <button id="manage-galleries-button"
511 i18n-content="manageGalleriesButton"></button>
514 <!-- Automatic Downloads filter -->
516 <h3 i18n-content="multiple-automatic-downloads_header"></h3>
519 <span class="controlled-setting-with-label">
520 <input id="multiple-automatic-downloads_allow" type="radio"
521 name="multiple-automatic-downloads" value="allow">
523 <label for="multiple-automatic-downloads_allow"
524 i18n-content="multiple-automatic-downloads_allow">
526 <span class="controlled-setting-indicator"
527 content-setting="multiple-automatic-downloads" value="allow">
533 <span class="controlled-setting-with-label">
534 <input id="multiple-automatic-downloads_ask" type="radio"
535 name="multiple-automatic-downloads" value="ask">
537 <label for="multiple-automatic-downloads_ask"
538 i18n-content="multiple-automatic-downloads_ask">
540 <span class="controlled-setting-indicator"
541 content-setting="multiple-automatic-downloads" value="ask">
547 <span class="controlled-setting-with-label">
548 <input id="multiple-automatic-downloads_block" type="radio"
549 name="multiple-automatic-downloads" value="block">
551 <label for="multiple-automatic-downloads_block"
552 i18n-content="multiple-automatic-downloads_block">
554 <span class="controlled-setting-indicator"
555 content-setting="multiple-automatic-downloads" value="block">
560 <div class="settings-row">
561 <button class="exceptions-list-button"
562 contentType="multiple-automatic-downloads"
563 i18n-content="manageExceptions"></button>
567 <!-- MIDI system exclusive messages filter -->
568 <section id="experimental-web-midi-settings" hidden="true">
569 <h3 i18n-content="midi-sysex_header"></h3>
573 <input type="radio" name="midi-sysex" value="allow">
574 <span i18n-content="midiSysExAllow"></span>
579 <input type="radio" name="midi-sysex" value="ask">
580 <span i18n-content="midiSysExAsk"></span>
585 <input type="radio" name="midi-sysex" value="block">
586 <span i18n-content="midiSysExBlock"></span>
589 <div class="settings-row">
590 <button class="exceptions-list-button" contentType="midi-sysex"
591 i18n-content="manageExceptions"></button>
596 <div class="action-area">
597 <div class="button-strip">
598 <button id="content-settings-overlay-confirm" class="default-button"