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

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

Issue 2881203002: [subresource_filter] Add Page Info subtitle on desktop + placeholder string (Closed)
Patch Set: Created 3 years, 7 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
« chrome/app/generated_resources.grd ('K') | « chrome/app/generated_resources.grd ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/page_info/page_info_ui.cc
diff --git a/chrome/browser/ui/page_info/page_info_ui.cc b/chrome/browser/ui/page_info/page_info_ui.cc
index 401b5cd12f5307c98b44dc619dbf3c8189db364e..c4773cac6d3552557640da430d24040d9ee90185 100644
--- a/chrome/browser/ui/page_info/page_info_ui.cc
+++ b/chrome/browser/ui/page_info/page_info_ui.cc
@@ -339,6 +339,10 @@ base::string16 PageInfoUI::PermissionDecisionReasonToUIString(
}
}
+ if (permission.type == CONTENT_SETTINGS_TYPE_SUBRESOURCE_FILTER) {
+ message_id = IDS_SUBRESOURCE_FILTER_PAGE_INFO_SUBTITLE;
+ }
+
if (message_id == kInvalidResourceID)
return base::string16();
return l10n_util::GetStringUTF16(message_id);
« chrome/app/generated_resources.grd ('K') | « chrome/app/generated_resources.grd ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698