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> |