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

Unified Diff: chrome/common/pref_names.cc

Issue 10702097: Adds browser preferences to configure first-run flow on Windows 8. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Reverted the most recent name change. Created 8 years, 5 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/common/pref_names.cc
diff --git a/chrome/common/pref_names.cc b/chrome/common/pref_names.cc
index b886ea9b8c0c0b2c8e2b553634f8021684ca3a5d..e1b49ae2394d521ac26979b83a08bda8bed48ae4 100644
--- a/chrome/common/pref_names.cc
+++ b/chrome/common/pref_names.cc
@@ -837,9 +837,13 @@ const char kPluginsAlwaysAuthorize[] = "plugins.always_authorize";
// on start-up.
const char kCheckDefaultBrowser[] = "browser.check_default_browser";
-// TODO(motek): Remove this once a firm decision is made regarding how the UI
-// should be presented.
-const char kDefaultBrowserFlowDialog[] = "browser.set_default_flow_dialog";
+#if defined(OS_WIN)
+// By default, setting Chrome as default during first run on Windows 8 will
+// trigger shutting down the current instance and spawning a new (Metro)
+// Chrome. This boolean preference supresses this behaviour.
+const char kSuppressSwitchToMetroModeOnSetDefault[] =
+ "browser.suppress_switch_to_metro_mode_on_set_default";
+#endif
// Policy setting whether default browser check should be disabled and default
// browser registration should take place.

Powered by Google App Engine
This is Rietveld 408576698