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

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

Issue 916073004: Plugin Power Saver: Migrate ASK to BLOCK. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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/website_settings/website_settings_ui.cc
diff --git a/chrome/browser/ui/website_settings/website_settings_ui.cc b/chrome/browser/ui/website_settings/website_settings_ui.cc
index 26c0737c84c75a7cf5a9e0b4557e0a99cbace32d..9121652ad58cfb4e59f6ea8d083a26ded6b5dad8 100644
--- a/chrome/browser/ui/website_settings/website_settings_ui.cc
+++ b/chrome/browser/ui/website_settings/website_settings_ui.cc
@@ -169,10 +169,10 @@ base::string16 WebsiteSettingsUI::PermissionActionToUIString(
if (effective_setting == CONTENT_SETTING_DEFAULT) {
effective_setting = default_setting;
- // For Plugins, ASK is obsolete. Show as DETECT to reflect actual behavior.
+ // For Plugins, ASK is obsolete. Show as BLOCK to reflect actual behavior.
if (type == CONTENT_SETTINGS_TYPE_PLUGINS &&
default_setting == CONTENT_SETTING_ASK) {
- effective_setting = CONTENT_SETTING_DETECT_IMPORTANT_CONTENT;
+ effective_setting = CONTENT_SETTING_BLOCK;
}
}

Powered by Google App Engine
This is Rietveld 408576698