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

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

Issue 11018013: add a new, blank version of content settings so that a new UI may be prototyped (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 2 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
« no previous file with comments | « chrome/browser/resources/options/options_bundle.js ('k') | chrome/common/chrome_switches.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 5950d8566a18c44fbe0e29fdbbd9bb8e0b3b4985..c8ad7a67e35e38b93514066e76a6b1261352e4de 100644
--- a/chrome/browser/ui/webui/options/content_settings_handler.cc
+++ b/chrome/browser/ui/webui/options/content_settings_handler.cc
@@ -460,6 +460,9 @@ void ContentSettingsHandler::GetLocalizedValues(
localized_strings->SetBoolean(
"enable_web_intents",
web_intents::IsWebIntentsEnabledForProfile(profile));
+
+ localized_strings->SetBoolean("newContentSettings",
+ CommandLine::ForCurrentProcess()->HasSwitch(switches::kContentSettings2));
}
void ContentSettingsHandler::InitializeHandler() {
« no previous file with comments | « chrome/browser/resources/options/options_bundle.js ('k') | chrome/common/chrome_switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698