| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #pragma once | 9 #pragma once |
| 10 | 10 |
| 11 #include "build/build_config.h" | 11 #include "build/build_config.h" |
| 12 | 12 |
| 13 namespace prefs { | 13 namespace prefs { |
| 14 | 14 |
| 15 // Profile prefs | 15 // Profile prefs |
| 16 extern const char kAppsPromoCounter[]; | 16 extern const char kAppsPromoCounter[]; |
| 17 extern const char kDefaultAppsInstalled[]; | 17 extern const char kDefaultAppsInstalled[]; |
| 18 extern const char kHomePageIsNewTabPage[]; | 18 extern const char kHomePageIsNewTabPage[]; |
| 19 extern const char kHomePage[]; | 19 extern const char kHomePage[]; |
| 20 extern const char kSessionExitedCleanly[]; | 20 extern const char kSessionExitedCleanly[]; |
| 21 extern const char kRestoreOnStartup[]; | 21 extern const char kRestoreOnStartup[]; |
| 22 extern const char kURLsToRestoreOnStartup[]; | 22 extern const char kURLsToRestoreOnStartup[]; |
| 23 | 23 |
| 24 // For OS_CHROMEOS we maintain kApplicationLocale property in both local state | 24 // For OS_CHROMEOS we maintain kApplicationLocale property in both local state |
| 25 // and user's profile. Global property determines locale of login screen, | 25 // and user's profile. Global property determines locale of login screen, |
| 26 // while user's profile determines his personal locale preference. | 26 // while user's profile determines his personal locale preference. |
| 27 extern const char kApplicationLocale[]; | 27 extern const char kApplicationLocale[]; |
| 28 #if defined(OS_CHROMEOS) | 28 #if defined(OS_CHROMEOS) |
| 29 extern const char kApplicationLocaleBackup[]; | 29 extern const char kApplicationLocaleBackup[]; |
| 30 extern const char kApplicationLocaleOverride[]; | |
| 31 extern const char kApplicationLocaleAccepted[]; | 30 extern const char kApplicationLocaleAccepted[]; |
| 32 #endif | 31 #endif |
| 33 | 32 |
| 34 extern const char kDefaultCharset[]; | 33 extern const char kDefaultCharset[]; |
| 35 extern const char kAcceptLanguages[]; | 34 extern const char kAcceptLanguages[]; |
| 36 extern const char kStaticEncodings[]; | 35 extern const char kStaticEncodings[]; |
| 37 extern const char kPopupWhitelistedHosts[]; | 36 extern const char kPopupWhitelistedHosts[]; |
| 38 extern const char kShowBookmarkBar[]; | 37 extern const char kShowBookmarkBar[]; |
| 39 extern const char kWebKitStandardFontIsSerif[]; | 38 extern const char kWebKitStandardFontIsSerif[]; |
| 40 extern const char kWebKitFixedFontFamily[]; | 39 extern const char kWebKitFixedFontFamily[]; |
| (...skipping 404 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 445 extern const char kAuthNegotiateDelegateWhitelist[]; | 444 extern const char kAuthNegotiateDelegateWhitelist[]; |
| 446 extern const char kGSSAPILibraryName[]; | 445 extern const char kGSSAPILibraryName[]; |
| 447 | 446 |
| 448 extern const char kKnownBackgroundPages[]; | 447 extern const char kKnownBackgroundPages[]; |
| 449 | 448 |
| 450 extern const char kDisable3DAPIs[]; | 449 extern const char kDisable3DAPIs[]; |
| 451 | 450 |
| 452 } // namespace prefs | 451 } // namespace prefs |
| 453 | 452 |
| 454 #endif // CHROME_COMMON_PREF_NAMES_H_ | 453 #endif // CHROME_COMMON_PREF_NAMES_H_ |
| OLD | NEW |