OLD | NEW |
1 // Copyright (c) 2010 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 #endif | 32 #endif |
31 | 33 |
32 extern const char kDefaultCharset[]; | 34 extern const char kDefaultCharset[]; |
33 extern const char kAcceptLanguages[]; | 35 extern const char kAcceptLanguages[]; |
34 extern const char kStaticEncodings[]; | 36 extern const char kStaticEncodings[]; |
35 extern const char kPopupWhitelistedHosts[]; | 37 extern const char kPopupWhitelistedHosts[]; |
36 extern const char kShowBookmarkBar[]; | 38 extern const char kShowBookmarkBar[]; |
37 extern const char kWebKitStandardFontIsSerif[]; | 39 extern const char kWebKitStandardFontIsSerif[]; |
38 extern const char kWebKitFixedFontFamily[]; | 40 extern const char kWebKitFixedFontFamily[]; |
39 extern const char kWebKitSerifFontFamily[]; | 41 extern const char kWebKitSerifFontFamily[]; |
(...skipping 396 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
436 extern const char kAuthNegotiateDelegateWhitelist[]; | 438 extern const char kAuthNegotiateDelegateWhitelist[]; |
437 extern const char kGSSAPILibraryName[]; | 439 extern const char kGSSAPILibraryName[]; |
438 | 440 |
439 extern const char kKnownBackgroundPages[]; | 441 extern const char kKnownBackgroundPages[]; |
440 | 442 |
441 extern const char kDisable3DAPIs[]; | 443 extern const char kDisable3DAPIs[]; |
442 | 444 |
443 } // namespace prefs | 445 } // namespace prefs |
444 | 446 |
445 #endif // CHROME_COMMON_PREF_NAMES_H_ | 447 #endif // CHROME_COMMON_PREF_NAMES_H_ |
OLD | NEW |