diff options
Diffstat (limited to 'chrome/browser/resources/options/content_settings.html')
| -rw-r--r-- | chrome/browser/resources/options/content_settings.html | 356 |
1 files changed, 356 insertions, 0 deletions
diff --git a/chrome/browser/resources/options/content_settings.html b/chrome/browser/resources/options/content_settings.html new file mode 100644 index 0000000..03c25e0a --- /dev/null +++ b/chrome/browser/resources/options/content_settings.html @@ -0,0 +1,356 @@ +<div id="content-settings-page" class="page" hidden> + <div class="close-button"></div> + <h1 i18n-content="contentSettingsPage"></h1> + <div class="content-area"> + <!-- Cookie filter tab contents --> + <section> + <h3 i18n-content="cookies_tab_label"></h3> + <div> + <div class="radio"> + <label> + <input type="radio" name="cookies" value="allow"> + <span i18n-content="cookies_allow"></span> + </label> + </div> + <div class="radio"> + <label> + <input type="radio" name="cookies" value="session"> + <span i18n-content="cookies_session_only"></span> + </label> + </div> + <div class="radio"> + <label> + <input type="radio" name="cookies" value="block"> + <span i18n-content="cookies_block"></span> + </label> + </div> + <div class="checkbox"> + <label> + <input pref="profile.block_third_party_cookies" type="checkbox"> + <span i18n-content="cookies_block_3rd_party"></span> + </label> + </div> + <!-- TODO(jochen): remove the div with the clear cookies on exit option + once this has shipped. --> + <div class="checkbox" guest-visibility="disabled" hidden> + <label> + <input id="clear-cookies-on-exit" + pref="profile.clear_site_data_on_exit" type="checkbox"> + <span i18n-content="cookies_lso_clear_when_close" + class="clear-plugin-lso-data-enabled"></span> + <span i18n-content="cookies_clear_when_close" + class="clear-plugin-lso-data-disabled"></span> + </label> + </div> + <div class="settings-row"> + <button class="exceptions-list-button" contentType="cookies" + i18n-content="manage_exceptions"></button> + <button id="show-cookies-button" + i18n-content="cookies_show_cookies"></button> + <button id="show-app-cookies-button" + i18n-content="cookies_show_app_cookies"></button> + </div> + </div> + </section> + <!-- Image filter --> + <section> + <h3 i18n-content="images_tab_label"></h3> + <div> + <div class="radio"> + <label> + <input type="radio" name="images" value="allow"> + <span i18n-content="images_allow"></span> + </label> + </div> + <div class="radio"> + <label> + <input type="radio" name="images" value="block"> + <span i18n-content="images_block"></span> + </label> + </div> + <div class="settings-row"> + <button class="exceptions-list-button" contentType="images" + i18n-content="manage_exceptions"></button> + </div> + </div> + </section> + <!-- JavaScript filter --> + <section> + <h3 i18n-content="javascript_tab_label"></h3> + <div> + <div class="radio"> + <label> + <input type="radio" name="javascript" value="allow"> + <span i18n-content="javascript_allow"></span> + </label> + </div> + <div class="radio"> + <label> + <input type="radio" name="javascript" value="block"> + <span i18n-content="javascript_block"></span> + </label> + </div> + <div class="settings-row"> + <button class="exceptions-list-button" contentType="javascript" + i18n-content="manage_exceptions"></button> + </div> + </div> + </section> + <!-- Handlers settings --> + <section id="handlers-section"> + <h3 i18n-content="handlers_tab_label"></h3> + <div> + <div class="radio"> + <label> + <input type="radio" name="handlers" value="allow" + class="handler-radio"> + <span i18n-content="handlers_allow"></span> + </label> + </div> + <div class="radio"> + <label> + <input type="radio" name="handlers" value="block" + class="handler-radio"> + <span i18n-content="handlers_block"></span> + </label> + </div> + <div class="settings-row"> + <button id="manage-handlers-button" contentType="handlers" + i18n-content="manage_handlers"></button> + </div> + </div> + </section> + <!-- Plug-ins filter --> + <section> + <h3 i18n-content="plugins_tab_label"></h3> + <div> + <div class="radio"> + <label> + <input type="radio" name="plugins" value="allow"> + <span i18n-content="plugins_allow"></span> + </label> + </div> + <div id="click_to_play" class="radio"> + <label> + <input type="radio" name="plugins" value="ask"> + <span i18n-content="plugins_ask"></span> + </label> + </div> + <div class="radio"> + <label> + <input type="radio" name="plugins" value="block"> + <span i18n-content="plugins_block"></span> + </label> + </div> + <div class="settings-row"> + <button class="exceptions-list-button" contentType="plugins" + i18n-content="manage_exceptions"></button> + </div> + <div id="disable-plugins-container"> + <a href="chrome://plugins" i18n-content="disableIndividualPlugins" + target="_blank"></a> + </div> + </div> + </section> + <!-- Pop-ups filter --> + <section> + <h3 i18n-content="popups_tab_label" class="content-settings-header"></h3> + <div> + <div class="radio"> + <label> + <input type="radio" name="popups" value="allow"> + <span i18n-content="popups_allow"></span> + </label> + </div> + <div class="radio"> + <label> + <input type="radio" name="popups" value="block"> + <span i18n-content="popups_block"></span> + </label> + </div> + <div class="settings-row"> + <button class="exceptions-list-button" contentType="popups" + i18n-content="manage_exceptions"></button> + </div> + </div> + </section> + <!-- Location filter --> + <section> + <h3 i18n-content="location_tab_label"></h3> + <div> + <div class="radio"> + <label> + <input type="radio" name="location" value="allow"> + <span i18n-content="location_allow"></span> + </label> + </div> + <div class="radio"> + <label> + <input type="radio" name="location" value="ask"> + <span i18n-content="location_ask"></span> + </label> + </div> + <div class="radio"> + <label> + <input type="radio" name="location" value="block"> + <span i18n-content="location_block"></span> + </label> + </div> + <div class="settings-row"> + <button class="exceptions-list-button" contentType="location" + i18n-content="manage_exceptions"></button> + </div> + </div> + </section> + <!-- Notifications filter tab contents --> + <section> + <h3 i18n-content="notifications_tab_label"></h3> + <div> + <div class="radio"> + <label> + <input type="radio" name="notifications" value="allow"> + <span i18n-content="notifications_allow"></span> + </label> + </div> + <div class="radio"> + <label> + <input type="radio" name="notifications" value="ask"> + <span i18n-content="notifications_ask"></span> + </label> + </div> + <div class="radio"> + <label> + <input type="radio" name="notifications" value="block"> + <span i18n-content="notifications_block"></span> + </label> + </div> + <div class="settings-row"> + <button class="exceptions-list-button" contentType="notifications" + i18n-content="manage_exceptions"></button> + </div> + </div> + </section> + <!-- Fullscreen filter --> + <section> + <h3 i18n-content="fullscreen_tab_label"></h3> + <div class="settings-row"> + <button class="exceptions-list-button" contentType="fullscreen" + i18n-content="manage_exceptions"></button> + </div> + </section> + <!-- Mouse Lock filter --> + <section> + <h3 i18n-content="mouselock_tab_label"></h3> + <div> + <div class="radio"> + <label> + <input type="radio" name="mouselock" value="allow"> + <span i18n-content="mouselock_allow"></span> + </label> + </div> + <div class="radio"> + <label> + <input type="radio" name="mouselock" value="ask"> + <span i18n-content="mouselock_ask"></span> + </label> + </div> + <div class="radio"> + <label> + <input type="radio" name="mouselock" value="block"> + <span i18n-content="mouselock_block"></span> + </label> + </div> + <div class="settings-row"> + <button class="exceptions-list-button" contentType="mouselock" + i18n-content="manage_exceptions"></button> + </div> + </div> + </section> + <!-- Intent registration filter --> + <section> + <h3 i18n-content="webIntentsTabLabel" class="content-settings-header"> + </h3> + <div class="checkbox"> + <label> + <input pref="webintents.enabled" type="checkbox"> + <span i18n-content="allowWebIntents"></span> + </label> + </div> + </section> + <!-- Pepper Flash camera and microphone filter --> + <section id="pepper-flash-cameramic-section" class="pepper-flash-settings"> + <h3 i18n-content="pepperFlashCameramicTabLabel"></h3> + <div> + <div class="radio"> + <label> + <input type="radio" name="pepper-flash-cameramic" value="ask"> + <span i18n-content="pepperFlashCameramicAsk"></span> + </label> + </div> + <div class="radio"> + <label> + <input type="radio" name="pepper-flash-cameramic" value="block"> + <span i18n-content="pepperFlashCameramicBlock"></span> + </label> + </div> + <div class="settings-row"> + <button class="exceptions-list-button" + contentType="pepper-flash-cameramic" + i18n-content="manage_exceptions"></button> + </div> + </div> + </section> +<if expr="pp_ifdef('chromeos')"> + <!-- Protected Content filter --> + <section guest-visibility="disabled"> + <h3 i18n-content="protectedContentTabLabel" + class="content-settings-header"></h3> + <div> + <div class="settings-row"> + <span i18n-content="protectedContentInfo"></span> + </div> + <div class="checkbox"> + <label> + <input pref="settings.privacy.drm_enabled" type="checkbox"> + <span i18n-content="protectedContentEnable"></span> + </label> + </div> + </div> + </section> +</if> + <!-- Media Stream capture device filter --> + <section> + <h3 i18n-content="mediaStreamTabLabel"></h3> + <div> + <div class="radio"> + <label> + <input type="radio" name="media-stream" value="ask"> + <span i18n-content="mediaStreamAsk"></span> + </label> + </div> + <div class="radio"> + <label> + <input type="radio" name="media-stream" value="block"> + <span i18n-content="mediaStreamBlock"></span> + </label> + </div> + <div class="settings-row"> + <button class="exceptions-list-button" contentType="media-stream" + i18n-content="manage_exceptions"></button> + </div> + </div> + </section> + <section id="media-galleries-section" hidden> + <h3 i18n-content="mediaGalleriesSectionLabel"></h3> + <div class="settings-row"> + <button id="manage-galleries-button" + i18n-content="manageGalleriesButton"></button> + </div> + </section> + </div> + <div class="action-area"> + <div class="button-strip"> + <button id="content-settings-overlay-confirm" i18n-content="ok"></button> + </div> + </div> +</div> |
