Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3208)

Unified Diff: chrome/browser/resources/options2/content_settings.html

Issue 8895023: Options2: Pull the trigger. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: DIAF. Created 9 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/resources/options2/content_settings.html
diff --git a/chrome/browser/resources/options2/content_settings.html b/chrome/browser/resources/options2/content_settings.html
new file mode 100644
index 0000000000000000000000000000000000000000..6d735f3a0be5428ede8b2f9adf9186ab4cae7874
--- /dev/null
+++ b/chrome/browser/resources/options2/content_settings.html
@@ -0,0 +1,279 @@
+<div id="content-settings-page" class="page" hidden>
+ <h1 i18n-content="contentSettingsPage"></h1>
+ <div class="displaytable">
+ <!-- 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>
+ <div class="checkbox">
+ <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>
+ <button class="exceptions-list-button" contentType="cookies"
+ i18n-content="manage_exceptions"></button>
+ <button id="show-cookies-button"
+ i18n-content="cookies_show_cookies"></button>
+ </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>
+ <button class="exceptions-list-button" contentType="images"
+ i18n-content="manage_exceptions"></button>
+ </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>
+ <button class="exceptions-list-button" contentType="javascript"
+ i18n-content="manage_exceptions"></button>
+ </div>
+ </section>
+ <!-- Handlers settings -->
+ <if expr="pp_ifdef('enable_register_protocol_handler')">
+ <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>
+ <button id="manage-handlers-button" contentType="handlers"
+ i18n-content="manage_handlers"></button>
+ </div>
+ </section>
+ </if>
+ <!-- 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>
+ <button class="exceptions-list-button" contentType="plugins"
+ i18n-content="manage_exceptions"></button>
+ <div id="disable-plugins-container">
+ <a href="about: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>
+ <button class="exceptions-list-button" contentType="popups"
+ i18n-content="manage_exceptions"></button>
+ </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>
+ <button class="exceptions-list-button" contentType="location"
+ i18n-content="manage_exceptions"></button>
+ </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>
+ <button class="exceptions-list-button" contentType="notifications"
+ i18n-content="manage_exceptions"></button>
+ </div>
+ </section>
+ <!-- Fullscreen filter -->
+ <section>
+ <h3 i18n-content="fullscreen_tab_label"></h3>
+ <div>
+ <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>
+ <button class="exceptions-list-button" contentType="mouselock"
+ i18n-content="manage_exceptions"></button>
+ </div>
+ </section>
+ <!-- Intent registration filter tab contents -->
+ <if expr="pp_ifdef('enable_web_intents')">
+ <section id="intents-section">
+ <h3 i18n-content="intentsTabLabel" class="content-settings-header"></h3>
+ <div>
+ <div class="radio">
+ <label>
+ <input type="radio" name="intents" value="allow">
+ <span i18n-content="intentsAllow"></span>
+ </label>
+ </div>
+ <div class="radio">
+ <label>
+ <input type="radio" name="intents" value="ask">
+ <span i18n-content="intentsAsk"></span>
+ </label>
+ </div>
+ <div class="radio">
+ <label>
+ <input type="radio" name="intents" value="block">
+ <span i18n-content="intentsBlock"></span>
+ </label>
+ </div>
+ <button class="exceptions-list-button" contentType="intents"
+ i18n-content="manage_exceptions"></button>
+ <button id="manage-intents-button" contentType="intents"
+ i18n-content="manageIntents"></button>
+ </div>
+ </section>
+ </if>
+ </div>
+</div>
« no previous file with comments | « chrome/browser/resources/options2/content_settings.css ('k') | chrome/browser/resources/options2/content_settings.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698