OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 |
| 24 // For OS_CHROMEOS we maintain kApplicationLocale property in both local state |
| 25 // and user's profile. Global property determines locale of login screen, |
| 26 // while user's profile determines his personal locale preference. |
23 extern const char kApplicationLocale[]; | 27 extern const char kApplicationLocale[]; |
| 28 |
24 extern const char kDefaultCharset[]; | 29 extern const char kDefaultCharset[]; |
25 extern const char kAcceptLanguages[]; | 30 extern const char kAcceptLanguages[]; |
26 extern const char kStaticEncodings[]; | 31 extern const char kStaticEncodings[]; |
27 extern const char kPopupWhitelistedHosts[]; | 32 extern const char kPopupWhitelistedHosts[]; |
28 extern const char kShowBookmarkBar[]; | 33 extern const char kShowBookmarkBar[]; |
29 extern const char kWebKitStandardFontIsSerif[]; | 34 extern const char kWebKitStandardFontIsSerif[]; |
30 extern const char kWebKitFixedFontFamily[]; | 35 extern const char kWebKitFixedFontFamily[]; |
31 extern const char kWebKitSerifFontFamily[]; | 36 extern const char kWebKitSerifFontFamily[]; |
32 extern const char kWebKitSansSerifFontFamily[]; | 37 extern const char kWebKitSansSerifFontFamily[]; |
33 extern const char kWebKitCursiveFontFamily[]; | 38 extern const char kWebKitCursiveFontFamily[]; |
(...skipping 369 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
403 extern const char kAuthSchemes[]; | 408 extern const char kAuthSchemes[]; |
404 extern const char kDisableAuthNegotiateCnameLookup[]; | 409 extern const char kDisableAuthNegotiateCnameLookup[]; |
405 extern const char kEnableAuthNegotiatePort[]; | 410 extern const char kEnableAuthNegotiatePort[]; |
406 extern const char kAuthServerWhitelist[]; | 411 extern const char kAuthServerWhitelist[]; |
407 extern const char kAuthNegotiateDelegateWhitelist[]; | 412 extern const char kAuthNegotiateDelegateWhitelist[]; |
408 extern const char kGSSAPILibraryName[]; | 413 extern const char kGSSAPILibraryName[]; |
409 | 414 |
410 } // namespace prefs | 415 } // namespace prefs |
411 | 416 |
412 #endif // CHROME_COMMON_PREF_NAMES_H_ | 417 #endif // CHROME_COMMON_PREF_NAMES_H_ |
OLD | NEW |