Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(115)

Side by Side Diff: chrome/common/pref_names.h

Issue 7606028: Pass per-script fonts to WebKit settings. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: pref strings instead of dictionary Created 9 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 <stddef.h>
12
11 #include "build/build_config.h" 13 #include "build/build_config.h"
12 14
13 namespace prefs { 15 namespace prefs {
14 16
15 // Profile prefs. Please add Local State prefs below instead. 17 // Profile prefs. Please add Local State prefs below instead.
16 extern const char kAppsPromoCounter[]; 18 extern const char kAppsPromoCounter[];
17 extern const char kDefaultAppsInstalled[]; 19 extern const char kDefaultAppsInstalled[];
18 extern const char kHomePageIsNewTabPage[]; 20 extern const char kHomePageIsNewTabPage[];
19 extern const char kHomePage[]; 21 extern const char kHomePage[];
20 extern const char kSessionExitedCleanly[]; 22 extern const char kSessionExitedCleanly[];
(...skipping 16 matching lines...) Expand all
37 extern const char kStaticEncodings[]; 39 extern const char kStaticEncodings[];
38 extern const char kPopupWhitelistedHosts[]; 40 extern const char kPopupWhitelistedHosts[];
39 extern const char kShowBookmarkBar[]; 41 extern const char kShowBookmarkBar[];
40 extern const char kBookmarkEditorExpandedNodes[]; 42 extern const char kBookmarkEditorExpandedNodes[];
41 extern const char kWebKitStandardFontFamily[]; 43 extern const char kWebKitStandardFontFamily[];
42 extern const char kWebKitFixedFontFamily[]; 44 extern const char kWebKitFixedFontFamily[];
43 extern const char kWebKitSerifFontFamily[]; 45 extern const char kWebKitSerifFontFamily[];
44 extern const char kWebKitSansSerifFontFamily[]; 46 extern const char kWebKitSansSerifFontFamily[];
45 extern const char kWebKitCursiveFontFamily[]; 47 extern const char kWebKitCursiveFontFamily[];
46 extern const char kWebKitFantasyFontFamily[]; 48 extern const char kWebKitFantasyFontFamily[];
49 extern const char kWebKitStandardFontFamilyMap[];
50 extern const char kWebKitFixedFontFamilyMap[];
51 extern const char kWebKitSerifFontFamilyMap[];
52 extern const char kWebKitSansSerifFontFamilyMap[];
53 extern const char kWebKitCursiveFontFamilyMap[];
54 extern const char kWebKitFantasyFontFamilyMap[];
55
56 // ICU four-letter script codes that per-script font prefs are supported for.
57 extern const char* kWebKitScriptsForFontFamilyMaps[];
58 extern const size_t kWebKitScriptsForFontFamilyMapsLength;
59
60 // Per-script font prefs that have defaults, for easy reference when registering
61 // the defaults.
62 extern const char kWebKitStandardFontFamilyJapanese[];
63 extern const char kWebKitFixedFontFamilyJapanese[];
64 extern const char kWebKitSerifFontFamilyJapanese[];
65 extern const char kWebKitSansSerifFontFamilyJapanese[];
66 extern const char kWebKitStandardFontFamilyKorean[];
67 extern const char kWebKitFixedFontFamilyKorean[];
68 extern const char kWebKitSerifFontFamilyKorean[];
69 extern const char kWebKitSansSerifFontFamilyKorean[];
70 extern const char kWebKitStandardFontFamilySimplifiedHan[];
71 extern const char kWebKitFixedFontFamilySimplifiedHan[];
72 extern const char kWebKitSerifFontFamilySimplifiedHan[];
73 extern const char kWebKitSansSerifFontFamilySimplifiedHan[];
74 extern const char kWebKitStandardFontFamilyTraditionalHan[];
75 extern const char kWebKitFixedFontFamilyTraditionalHan[];
76 extern const char kWebKitSerifFontFamilyTraditionalHan[];
77 extern const char kWebKitSansSerifFontFamilyTraditionalHan[];
78
47 extern const char kWebKitDefaultFontSize[]; 79 extern const char kWebKitDefaultFontSize[];
48 extern const char kWebKitDefaultFixedFontSize[]; 80 extern const char kWebKitDefaultFixedFontSize[];
49 extern const char kWebKitMinimumFontSize[]; 81 extern const char kWebKitMinimumFontSize[];
50 extern const char kWebKitMinimumLogicalFontSize[]; 82 extern const char kWebKitMinimumLogicalFontSize[];
51 extern const char kWebKitJavascriptEnabled[]; 83 extern const char kWebKitJavascriptEnabled[];
52 extern const char kWebKitWebSecurityEnabled[]; 84 extern const char kWebKitWebSecurityEnabled[];
53 extern const char kWebKitJavascriptCanOpenWindowsAutomatically[]; 85 extern const char kWebKitJavascriptCanOpenWindowsAutomatically[];
54 extern const char kWebKitLoadsImagesAutomatically[]; 86 extern const char kWebKitLoadsImagesAutomatically[];
55 extern const char kWebKitPluginsEnabled[]; 87 extern const char kWebKitPluginsEnabled[];
56 extern const char kWebKitDomPasteEnabled[]; 88 extern const char kWebKitDomPasteEnabled[];
(...skipping 475 matching lines...) Expand 10 before | Expand all | Expand 10 after
532 extern const char kCustomHandlersEnabled[]; 564 extern const char kCustomHandlersEnabled[];
533 565
534 extern const char kUserCreatedLoginItem[]; 566 extern const char kUserCreatedLoginItem[];
535 extern const char kBackgroundModeEnabled[]; 567 extern const char kBackgroundModeEnabled[];
536 568
537 extern const char kDevicePolicyRefreshRate[]; 569 extern const char kDevicePolicyRefreshRate[];
538 extern const char kUserPolicyRefreshRate[]; 570 extern const char kUserPolicyRefreshRate[];
539 } // namespace prefs 571 } // namespace prefs
540 572
541 #endif // CHROME_COMMON_PREF_NAMES_H_ 573 #endif // CHROME_COMMON_PREF_NAMES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698