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

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: 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
« chrome/common/pref_names.h ('K') | « chrome/common/pref_names.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/pref_names.cc
diff --git a/chrome/common/pref_names.cc b/chrome/common/pref_names.cc
index ed50b955de4f1588e03e3bcf81375af8374f42fc..4415c4adbf6ea62c37c08cf8c79b4682c259157e 100644
--- a/chrome/common/pref_names.cc
+++ b/chrome/common/pref_names.cc
@@ -832,9 +832,21 @@ 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";
+const char kCheckDefaultBrowserOnFirstRun[] =
grt (UTC plus 2) 2012/07/05 17:16:09 please make the names of the constants for these n
motek. 2012/07/05 20:22:26 Done.
+ "browser.first_run_check_default_browser";
+
+#if defined(OS_WIN)
+// Boolean that indicates it is OK to enter modal 'set-as-default-browser'
+// dialog. Relevant in Windows 8 first-run context only.
+const char kDefaultBrowserFlowDialogEnabled[] =
+ "browser.set_default_flow_dialog_enabled";
+
+// By default, setting Chrome as deafult during first run on Windows 8 will
grt (UTC plus 2) 2012/07/05 17:16:09 deafult -> default
motek. 2012/07/05 20:22:26 This has been moved to master_preferences_constant
+// trigger shutting down the current instance and spawning a new (Metro)
+// Chrome. This boolean flag supresses this behaviour.
grt (UTC plus 2) 2012/07/05 17:16:09 since "flag" has special meaning in Chrome, i sugg
motek. 2012/07/05 20:22:26 Done.
+const char kSuppressSwitchToMetroModeOnSetDefault[] =
+ "browser.suppress_metro_switch_on_set_default";
+#endif
// Policy setting whether default browser check should be disabled and default
// browser registration should take place.
« chrome/common/pref_names.h ('K') | « chrome/common/pref_names.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698