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

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

Issue 7624012: First pass on intents options UI. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Init values right. Created 9 years, 4 months 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/options/content_settings.html
diff --git a/chrome/browser/resources/options/content_settings.html b/chrome/browser/resources/options/content_settings.html
index ea1fb117f6e515ba506affcc3924377cd8bd1edc..9579633d7005442a504a08d4fb1869b2acfab6e1 100644
--- a/chrome/browser/resources/options/content_settings.html
+++ b/chrome/browser/resources/options/content_settings.html
@@ -212,30 +212,34 @@
</div>
</section>
<!-- Intent registration filter tab contents -->
- <section id="intent-filter">
+ <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>
+ <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>
- <button class="exceptions-list-button" contentType="intents"
- i18n-content="manage_exceptions"></button>
- </div>
- </section>
+ </section>
+ </if>
</div>
</div>
« no previous file with comments | « chrome/browser/intents/web_intents_registry_factory.h ('k') | chrome/browser/resources/options/content_settings.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698