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

Unified Diff: chrome/browser/ui/page_info/website_settings_ui.cc

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/ui/page_info/website_settings_ui.cc
diff --git a/chrome/browser/ui/page_info/website_settings_ui.cc b/chrome/browser/ui/page_info/website_settings_ui.cc
index f65f3fb6c0c04ceea03c1e8c4919a0ef9d2c2705..bde59ab4b5195fb22c705f4d444a48a8ad7af46b 100644
--- a/chrome/browser/ui/page_info/website_settings_ui.cc
+++ b/chrome/browser/ui/page_info/website_settings_ui.cc
@@ -115,7 +115,8 @@ const PermissionsUIInfo kPermissionsUIInfo[] = {
// Autoplay is Android-only at the moment, and the Origin Info bubble in
// Android ignores these block/allow icon pairs, so we can specify 0 there.
{CONTENT_SETTINGS_TYPE_AUTOPLAY, IDS_WEBSITE_SETTINGS_TYPE_AUTOPLAY, 0, 0},
-};
+ {CONTENT_SETTINGS_TYPE_SUBRESOURCE_FILTER, IDS_SUBRESOURCE_FILTER_HEADER,
+ IDR_ALLOWED_SUBRESOURCE_FILTER, IDR_BLOCKED_SUBRESOURCE_FILTER}};
std::unique_ptr<WebsiteSettingsUI::SecurityDescription>
CreateSecurityDescription(int summary_id, int details_id) {

Powered by Google App Engine
This is Rietveld 408576698