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

Unified Diff: chrome/browser/ui/webui/options/content_settings_handler.cc

Issue 2369353002: Adds a pref and a policy to decide if PDFs should always be opened externally. (Closed)
Patch Set: Address comments. Created 4 years, 3 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/webui/options/content_settings_handler.cc
diff --git a/chrome/browser/ui/webui/options/content_settings_handler.cc b/chrome/browser/ui/webui/options/content_settings_handler.cc
index 776e9337f92cdc8e56cccef28c9536ce9d0e4123..9d1a57614d89515622f4eddc5bf71a36540856e0 100644
--- a/chrome/browser/ui/webui/options/content_settings_handler.cc
+++ b/chrome/browser/ui/webui/options/content_settings_handler.cc
@@ -505,6 +505,10 @@ void ContentSettingsHandler::GetLocalizedValues(
{"keygenHeader", IDS_KEYGEN_HEADER},
{"keygenAllow", IDS_KEYGEN_ALLOW_RADIO},
{"keygenBlock", IDS_KEYGEN_DONOTALLOW_RADIO},
+ // PDF Plugin filter.
+ {"pdfTabLabel", IDS_PDF_TAB_LABEL},
+ {"pdfHeader", IDS_PDF_HEADER},
+ {"pdfEnable", IDS_PDF_ENABLE_CHECKBOX},
};
RegisterStrings(localized_strings, resources, arraysize(resources));

Powered by Google App Engine
This is Rietveld 408576698