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 #pragma once | 9 #pragma once |
10 | 10 |
(...skipping 19 matching lines...) Expand all Loading... |
30 // For OS_CHROMEOS we maintain kApplicationLocale property in both local state | 30 // For OS_CHROMEOS we maintain kApplicationLocale property in both local state |
31 // and user's profile. Global property determines locale of login screen, | 31 // and user's profile. Global property determines locale of login screen, |
32 // while user's profile determines his personal locale preference. | 32 // while user's profile determines his personal locale preference. |
33 extern const char kApplicationLocale[]; | 33 extern const char kApplicationLocale[]; |
34 #if defined(OS_CHROMEOS) | 34 #if defined(OS_CHROMEOS) |
35 extern const char kApplicationLocaleBackup[]; | 35 extern const char kApplicationLocaleBackup[]; |
36 extern const char kApplicationLocaleAccepted[]; | 36 extern const char kApplicationLocaleAccepted[]; |
37 extern const char kOwnerLocale[]; | 37 extern const char kOwnerLocale[]; |
38 #endif | 38 #endif |
39 | 39 |
| 40 // Obselete keys, kept only for migration code to the new keys. See |
| 41 // http://crbug.com/123812 |
| 42 extern const char kWebKitGlobalStandardFontFamily[]; |
| 43 extern const char kWebKitGlobalFixedFontFamily[]; |
| 44 extern const char kWebKitGlobalSerifFontFamily[]; |
| 45 extern const char kWebKitGlobalSansSerifFontFamily[]; |
| 46 extern const char kWebKitGlobalCursiveFontFamily[]; |
| 47 extern const char kWebKitGlobalFantasyFontFamily[]; |
| 48 extern const char kWebKitOldStandardFontFamily[]; |
| 49 extern const char kWebKitOldFixedFontFamily[]; |
| 50 extern const char kWebKitOldSerifFontFamily[]; |
| 51 extern const char kWebKitOldSansSerifFontFamily[]; |
| 52 extern const char kWebKitOldCursiveFontFamily[]; |
| 53 extern const char kWebKitOldFantasyFontFamily[]; |
| 54 |
40 extern const char kGlobalDefaultCharset[]; | 55 extern const char kGlobalDefaultCharset[]; |
41 extern const char kDefaultCharset[]; | 56 extern const char kDefaultCharset[]; |
42 extern const char kAcceptLanguages[]; | 57 extern const char kAcceptLanguages[]; |
43 extern const char kStaticEncodings[]; | 58 extern const char kStaticEncodings[]; |
44 extern const char kShowBookmarkBar[]; | 59 extern const char kShowBookmarkBar[]; |
45 extern const char kBookmarkEditorExpandedNodes[]; | 60 extern const char kBookmarkEditorExpandedNodes[]; |
46 extern const char kWebKitGlobalStandardFontFamily[]; | 61 extern const char kWebKitCommonScript[]; |
47 extern const char kWebKitStandardFontFamily[]; | 62 extern const char kWebKitStandardFontFamily[]; |
48 extern const char kWebKitGlobalFixedFontFamily[]; | |
49 extern const char kWebKitFixedFontFamily[]; | 63 extern const char kWebKitFixedFontFamily[]; |
50 extern const char kWebKitGlobalSerifFontFamily[]; | |
51 extern const char kWebKitSerifFontFamily[]; | 64 extern const char kWebKitSerifFontFamily[]; |
52 extern const char kWebKitGlobalSansSerifFontFamily[]; | |
53 extern const char kWebKitSansSerifFontFamily[]; | 65 extern const char kWebKitSansSerifFontFamily[]; |
54 extern const char kWebKitGlobalCursiveFontFamily[]; | |
55 extern const char kWebKitCursiveFontFamily[]; | 66 extern const char kWebKitCursiveFontFamily[]; |
56 extern const char kWebKitGlobalFantasyFontFamily[]; | |
57 extern const char kWebKitFantasyFontFamily[]; | 67 extern const char kWebKitFantasyFontFamily[]; |
58 extern const char kWebKitStandardFontFamilyMap[]; | 68 extern const char kWebKitStandardFontFamilyMap[]; |
59 extern const char kWebKitFixedFontFamilyMap[]; | 69 extern const char kWebKitFixedFontFamilyMap[]; |
60 extern const char kWebKitSerifFontFamilyMap[]; | 70 extern const char kWebKitSerifFontFamilyMap[]; |
61 extern const char kWebKitSansSerifFontFamilyMap[]; | 71 extern const char kWebKitSansSerifFontFamilyMap[]; |
62 extern const char kWebKitCursiveFontFamilyMap[]; | 72 extern const char kWebKitCursiveFontFamilyMap[]; |
63 extern const char kWebKitFantasyFontFamilyMap[]; | 73 extern const char kWebKitFantasyFontFamilyMap[]; |
64 | 74 |
65 // ISO 15924 four-letter script codes that per-script font prefs are supported | 75 // ISO 15924 four-letter script codes that per-script font prefs are supported |
66 // for. | 76 // for. |
(...skipping 634 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
701 #endif | 711 #endif |
702 | 712 |
703 extern const char kInManagedMode[]; | 713 extern const char kInManagedMode[]; |
704 | 714 |
705 extern const char kNetworkProfileWarningsLeft[]; | 715 extern const char kNetworkProfileWarningsLeft[]; |
706 extern const char kNetworkProfileLastWarningTime[]; | 716 extern const char kNetworkProfileLastWarningTime[]; |
707 | 717 |
708 } // namespace prefs | 718 } // namespace prefs |
709 | 719 |
710 #endif // CHROME_COMMON_PREF_NAMES_H_ | 720 #endif // CHROME_COMMON_PREF_NAMES_H_ |
OLD | NEW |