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

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: raymes review 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
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..0e29128e8315530b1f477db79723a560c5f87b72 100644
--- a/chrome/browser/ui/page_info/page_info_ui.cc
+++ b/chrome/browser/ui/page_info/page_info_ui.cc
@@ -339,6 +339,9 @@ base::string16 PageInfoUI::PermissionDecisionReasonToUIString(
}
}
+ if (permission.type == CONTENT_SETTINGS_TYPE_SUBRESOURCE_FILTER)
+ message_id = IDS_PAGE_INFO_PERMISSION_SUBRESOURCE_FILTER_SUBTITLE;
+
if (message_id == kInvalidResourceID)
return base::string16();
return l10n_util::GetStringUTF16(message_id);

Powered by Google App Engine
This is Rietveld 408576698