OLD | NEW |
---|---|
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 814 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
825 const char kPluginsAllowOutdated[] = "plugins.allow_outdated"; | 825 const char kPluginsAllowOutdated[] = "plugins.allow_outdated"; |
826 | 826 |
827 // Boolean that indicates whether plugins that require authorization should | 827 // Boolean that indicates whether plugins that require authorization should |
828 // be always allowed or not. | 828 // be always allowed or not. |
829 const char kPluginsAlwaysAuthorize[] = "plugins.always_authorize"; | 829 const char kPluginsAlwaysAuthorize[] = "plugins.always_authorize"; |
830 | 830 |
831 // Boolean that indicates whether we should check if we are the default browser | 831 // Boolean that indicates whether we should check if we are the default browser |
832 // on start-up. | 832 // on start-up. |
833 const char kCheckDefaultBrowser[] = "browser.check_default_browser"; | 833 const char kCheckDefaultBrowser[] = "browser.check_default_browser"; |
834 | 834 |
835 // TODO(motek): Remove this once a firm decision is made regarding how the UI | 835 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.
| |
836 // should be presented. | 836 "browser.first_run_check_default_browser"; |
837 const char kDefaultBrowserFlowDialog[] = "browser.set_default_flow_dialog"; | 837 |
838 #if defined(OS_WIN) | |
839 // Boolean that indicates it is OK to enter modal 'set-as-default-browser' | |
840 // dialog. Relevant in Windows 8 first-run context only. | |
841 const char kDefaultBrowserFlowDialogEnabled[] = | |
842 "browser.set_default_flow_dialog_enabled"; | |
843 | |
844 // 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
| |
845 // trigger shutting down the current instance and spawning a new (Metro) | |
846 // 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.
| |
847 const char kSuppressSwitchToMetroModeOnSetDefault[] = | |
848 "browser.suppress_metro_switch_on_set_default"; | |
849 #endif | |
838 | 850 |
839 // Policy setting whether default browser check should be disabled and default | 851 // Policy setting whether default browser check should be disabled and default |
840 // browser registration should take place. | 852 // browser registration should take place. |
841 const char kDefaultBrowserSettingEnabled[] = | 853 const char kDefaultBrowserSettingEnabled[] = |
842 "browser.default_browser_setting_enabled"; | 854 "browser.default_browser_setting_enabled"; |
843 | 855 |
844 #if defined(OS_MACOSX) | 856 #if defined(OS_MACOSX) |
845 // Boolean that indicates whether the application should show the info bar | 857 // Boolean that indicates whether the application should show the info bar |
846 // asking the user to set up automatic updates when Keystone promotion is | 858 // asking the user to set up automatic updates when Keystone promotion is |
847 // required. | 859 // required. |
(...skipping 1129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1977 const char kNetworkProfileLastWarningTime[] = | 1989 const char kNetworkProfileLastWarningTime[] = |
1978 "network_profile.last_warning_time"; | 1990 "network_profile.last_warning_time"; |
1979 | 1991 |
1980 #if defined(OS_MACOSX) | 1992 #if defined(OS_MACOSX) |
1981 // A timestamp of when the obsolete OS infobar was last shown to a user on 10.5. | 1993 // A timestamp of when the obsolete OS infobar was last shown to a user on 10.5. |
1982 const char kMacLeopardObsoleteInfobarLastShown[] = | 1994 const char kMacLeopardObsoleteInfobarLastShown[] = |
1983 "mac_105_obsolete_infobar_last_shown"; | 1995 "mac_105_obsolete_infobar_last_shown"; |
1984 #endif // defined(OS_MACOSX) | 1996 #endif // defined(OS_MACOSX) |
1985 | 1997 |
1986 } // namespace prefs | 1998 } // namespace prefs |
OLD | NEW |