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

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: cs_ui 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 a4f8354955b8d2bd13ecea7d9957759f87c5133f..a237d51f1033b099e0b5b6fc0e7f570e2df19aa5 100644
--- a/chrome/browser/resources/settings/privacy_page/privacy_page.html
+++ b/chrome/browser/resources/settings/privacy_page/privacy_page.html
@@ -397,7 +397,20 @@
</category-setting-exceptions>
</settings-subpage>
</template>
- <template is="dom-if" route-path="/content/unsandboxedPlugins" no-search>
+ <template is="dom-if" if="[[enableSafeBrowsingSubresourceFilter_]]"
+ 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}}">
Charlie Harrison 2017/04/28 23:23:02 Looks like SUBRESOURCE_FILTER is misspelled here?
dschuyler 2017/04/28 23:40:03 I agree, I'll make a fix for this. https://codere
+ </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}"
« no previous file with comments | « chrome/app/theme/theme_resources.grd ('k') | chrome/browser/resources/settings/privacy_page/privacy_page.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698