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

Unified Diff: chrome/browser/resources/settings/privacy_page/privacy_page.html

Issue 2682293002: Add desktop UI for the subresource filter content setting. (Closed)
Patch Set: comments Created 3 years, 9 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/settings/privacy_page/privacy_page.html
diff --git a/chrome/browser/resources/settings/privacy_page/privacy_page.html b/chrome/browser/resources/settings/privacy_page/privacy_page.html
index 4cf04ab572baa4366645b404ca15219b2ce01015..323a3587722de06f3b1b143dad263b5edf8dd131 100644
--- a/chrome/browser/resources/settings/privacy_page/privacy_page.html
+++ b/chrome/browser/resources/settings/privacy_page/privacy_page.html
@@ -398,7 +398,20 @@
</category-setting-exceptions>
</settings-subpage>
</template>
- <template is="dom-if" route-path="/content/unsandboxedPlugins" no-search>
+ <template is="dom-if" if="enableSafeBrowsingSubresourceFilter_"
tommycli 2017/03/22 16:10:34 Hey did you mean if="[[enableSafeBrowsingSubresour
melandory 2017/03/23 20:05:40 Done.
+ route-path="/content/subresourceFilter" no-search>
+ <settings-subpage page-title="$i18n{siteSettingsSubresourceFilter}">
+ <category-default-setting
+ category="{{ContentSettingsTypes.SUBRESOURCE_FILTER}}"
+ toggle-off-label="$i18n{siteSettingsSubresourceFilterAllow}"
+ toggle-on-label="$i18n{siteSettingsSubresourceFilterBlock}">
+ </category-default-setting>
+ <category-setting-exceptions
+ category="{{ContentSettingsTypes.SUBRESOURCE_FITER}}">
+ </category-setting-exceptions>
+ </settings-subpage>
+ </template>
+ <template is="dom-if" route-path="/content/unsandboxedPlugins" no-search>
<settings-subpage page-title="$i18n{siteSettingsUnsandboxedPlugins}">
<category-default-setting
toggle-off-label="$i18n{siteSettingsUnsandboxedPluginsBlock}"

Powered by Google App Engine
This is Rietveld 408576698