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

Side by Side 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: Renamed the new field in SBC. Created 8 years, 4 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/common/pref_names.h ('k') | chrome/installer/util/master_preferences_constants.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/common/pref_names.h" 5 #include "chrome/common/pref_names.h"
6 6
7 #include "base/basictypes.h" 7 #include "base/basictypes.h"
8 8
9 namespace prefs { 9 namespace prefs {
10 10
(...skipping 819 matching lines...) Expand 10 before | Expand all | Expand 10 after
830 const char kPluginsAllowOutdated[] = "plugins.allow_outdated"; 830 const char kPluginsAllowOutdated[] = "plugins.allow_outdated";
831 831
832 // Boolean that indicates whether plugins that require authorization should 832 // Boolean that indicates whether plugins that require authorization should
833 // be always allowed or not. 833 // be always allowed or not.
834 const char kPluginsAlwaysAuthorize[] = "plugins.always_authorize"; 834 const char kPluginsAlwaysAuthorize[] = "plugins.always_authorize";
835 835
836 // Boolean that indicates whether we should check if we are the default browser 836 // Boolean that indicates whether we should check if we are the default browser
837 // on start-up. 837 // on start-up.
838 const char kCheckDefaultBrowser[] = "browser.check_default_browser"; 838 const char kCheckDefaultBrowser[] = "browser.check_default_browser";
839 839
840 // TODO(motek): Remove this once a firm decision is made regarding how the UI 840 #if defined(OS_WIN)
841 // should be presented. 841 // By default, setting Chrome as default during first run on Windows 8 will
842 const char kDefaultBrowserFlowDialog[] = "browser.set_default_flow_dialog"; 842 // trigger shutting down the current instance and spawning a new (Metro)
843 // Chrome. This boolean preference supresses this behaviour.
844 const char kSuppressSwitchToMetroModeOnSetDefault[] =
845 "browser.suppress_switch_to_metro_mode_on_set_default";
846 #endif
843 847
844 // Policy setting whether default browser check should be disabled and default 848 // Policy setting whether default browser check should be disabled and default
845 // browser registration should take place. 849 // browser registration should take place.
846 const char kDefaultBrowserSettingEnabled[] = 850 const char kDefaultBrowserSettingEnabled[] =
847 "browser.default_browser_setting_enabled"; 851 "browser.default_browser_setting_enabled";
848 852
849 #if defined(OS_MACOSX) 853 #if defined(OS_MACOSX)
850 // Boolean that indicates whether the application should show the info bar 854 // Boolean that indicates whether the application should show the info bar
851 // asking the user to set up automatic updates when Keystone promotion is 855 // asking the user to set up automatic updates when Keystone promotion is
852 // required. 856 // required.
(...skipping 1137 matching lines...) Expand 10 before | Expand all | Expand 10 after
1990 const char kNetworkProfileLastWarningTime[] = 1994 const char kNetworkProfileLastWarningTime[] =
1991 "network_profile.last_warning_time"; 1995 "network_profile.last_warning_time";
1992 1996
1993 #if defined(OS_MACOSX) 1997 #if defined(OS_MACOSX)
1994 // A timestamp of when the obsolete OS infobar was last shown to a user on 10.5. 1998 // A timestamp of when the obsolete OS infobar was last shown to a user on 10.5.
1995 const char kMacLeopardObsoleteInfobarLastShown[] = 1999 const char kMacLeopardObsoleteInfobarLastShown[] =
1996 "mac_105_obsolete_infobar_last_shown"; 2000 "mac_105_obsolete_infobar_last_shown";
1997 #endif // defined(OS_MACOSX) 2001 #endif // defined(OS_MACOSX)
1998 2002
1999 } // namespace prefs 2003 } // namespace prefs
OLDNEW
« no previous file with comments | « chrome/common/pref_names.h ('k') | chrome/installer/util/master_preferences_constants.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698