Chromium Code Reviews| 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 // Constants for the names of various preferences, for easier changing. | 5 // Constants for the names of various preferences, for easier changing. |
| 6 | 6 |
| 7 #ifndef CHROME_COMMON_PREF_NAMES_H_ | 7 #ifndef CHROME_COMMON_PREF_NAMES_H_ |
| 8 #define CHROME_COMMON_PREF_NAMES_H_ | 8 #define CHROME_COMMON_PREF_NAMES_H_ |
| 9 | 9 |
| 10 #include <stddef.h> | 10 #include <stddef.h> |
| 11 | 11 |
| 12 #include "build/build_config.h" | 12 #include "build/build_config.h" |
| 13 | 13 |
| 14 namespace prefs { | 14 namespace prefs { |
| 15 | 15 |
| 16 // Profile prefs. Please add Local State prefs below instead. | 16 // Profile prefs. Please add Local State prefs below instead. |
| 17 extern const char kDefaultApps[]; | 17 extern const char kDefaultApps[]; |
| 18 extern const char kDefaultAppsInstalled[]; | 18 extern const char kDefaultAppsInstalled[]; |
| 19 extern const char kHomePageIsNewTabPage[]; | 19 extern const char kHomePageIsNewTabPage[]; |
| 20 extern const char kHomePage[]; | 20 extern const char kHomePage[]; |
| 21 extern const char kHomePageChanged[]; | 21 extern const char kHomePageChanged[]; |
| 22 extern const char kIsGooglePlusUser[]; | 22 extern const char kIsGooglePlusUser[]; |
| 23 extern const char kManagedModeWhitelist[]; | |
| 24 extern const char kManagedModeBlacklist[]; | |
| 23 extern const char kSessionExitedCleanly[]; | 25 extern const char kSessionExitedCleanly[]; |
| 24 extern const char kSessionExitType[]; | 26 extern const char kSessionExitType[]; |
| 25 extern const char kRestoreOnStartup[]; | 27 extern const char kRestoreOnStartup[]; |
| 26 extern const char kURLsToRestoreOnStartup[]; | 28 extern const char kURLsToRestoreOnStartup[]; |
| 27 extern const char kRestoreOnStartupMigrated[]; | 29 extern const char kRestoreOnStartupMigrated[]; |
| 28 extern const char kDisableScreenshots[]; | 30 extern const char kDisableScreenshots[]; |
| 29 | 31 |
| 30 // For OS_CHROMEOS we maintain kApplicationLocale property in both local state | 32 // For OS_CHROMEOS we maintain kApplicationLocale property in both local state |
| 31 // and user's profile. Global property determines locale of login screen, | 33 // and user's profile. Global property determines locale of login screen, |
| 32 // while user's profile determines his personal locale preference. | 34 // while user's profile determines his personal locale preference. |
| (...skipping 766 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 799 extern const char kFlingAccelerationCurveCoefficient1[]; | 801 extern const char kFlingAccelerationCurveCoefficient1[]; |
| 800 extern const char kFlingAccelerationCurveCoefficient2[]; | 802 extern const char kFlingAccelerationCurveCoefficient2[]; |
| 801 extern const char kFlingAccelerationCurveCoefficient3[]; | 803 extern const char kFlingAccelerationCurveCoefficient3[]; |
| 802 extern const char kOverscrollHorizontalThresholdComplete[]; | 804 extern const char kOverscrollHorizontalThresholdComplete[]; |
| 803 extern const char kOverscrollVerticalThresholdComplete[]; | 805 extern const char kOverscrollVerticalThresholdComplete[]; |
| 804 extern const char kOverscrollMinimumThresholdStart[]; | 806 extern const char kOverscrollMinimumThresholdStart[]; |
| 805 extern const char kOverscrollHorizontalResistThreshold[]; | 807 extern const char kOverscrollHorizontalResistThreshold[]; |
| 806 extern const char kOverscrollVerticalResistThreshold[]; | 808 extern const char kOverscrollVerticalResistThreshold[]; |
| 807 #endif | 809 #endif |
| 808 | 810 |
| 809 extern const char kInManagedMode[]; | 811 extern const char kInManagedMode[]; |
|
Bernhard Bauer
2013/01/08 12:15:30
Mini-nit: Can you add the newline back? kInManaged
Sergiu
2013/01/08 13:05:11
Done.
| |
| 810 | |
| 811 extern const char kNetworkProfileWarningsLeft[]; | 812 extern const char kNetworkProfileWarningsLeft[]; |
| 812 extern const char kNetworkProfileLastWarningTime[]; | 813 extern const char kNetworkProfileLastWarningTime[]; |
| 813 | 814 |
| 814 extern const char kLastPolicyStatisticsUpdate[]; | 815 extern const char kLastPolicyStatisticsUpdate[]; |
| 815 | 816 |
| 816 #if defined(OS_CHROMEOS) | 817 #if defined(OS_CHROMEOS) |
| 817 extern const char kRLZBrand[]; | 818 extern const char kRLZBrand[]; |
| 818 extern const char kRLZDisabled[]; | 819 extern const char kRLZDisabled[]; |
| 819 #endif | 820 #endif |
| 820 | 821 |
| 821 } // namespace prefs | 822 } // namespace prefs |
| 822 | 823 |
| 823 #endif // CHROME_COMMON_PREF_NAMES_H_ | 824 #endif // CHROME_COMMON_PREF_NAMES_H_ |
| OLD | NEW |