Chromium Code Reviews| 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"; |
|
gab
2012/07/24 17:43:16
Adjust this to reflect suggested change in browser
motek.
2012/07/25 10:08:58
As explained earlier, I believe it is better the w
|
| +#endif |
| // Policy setting whether default browser check should be disabled and default |
| // browser registration should take place. |