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. |