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

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

Issue 9689054: Generate documentation for experimental Font Settings Extension API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sync Created 8 years, 9 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
« no previous file with comments | « chrome/common/extensions/docs/js/api_page_generator.js ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 #include "chrome/common/pref_names.h" 5 #include "chrome/common/pref_names.h"
6 6
7 #include "base/basictypes.h" 7 #include "base/basictypes.h"
8 8
9 namespace prefs { 9 namespace prefs {
10 10
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 const char kWebKitSerifFontFamilyMap[] = 133 const char kWebKitSerifFontFamilyMap[] =
134 "webkit.webprefs.fonts.serif"; 134 "webkit.webprefs.fonts.serif";
135 const char kWebKitSansSerifFontFamilyMap[] = 135 const char kWebKitSansSerifFontFamilyMap[] =
136 "webkit.webprefs.fonts.sansserif"; 136 "webkit.webprefs.fonts.sansserif";
137 const char kWebKitCursiveFontFamilyMap[] = 137 const char kWebKitCursiveFontFamilyMap[] =
138 "webkit.webprefs.fonts.cursive"; 138 "webkit.webprefs.fonts.cursive";
139 const char kWebKitFantasyFontFamilyMap[] = 139 const char kWebKitFantasyFontFamilyMap[] =
140 "webkit.webprefs.fonts.fantasy"; 140 "webkit.webprefs.fonts.fantasy";
141 141
142 // If these change, the corresponding enums in the extension API 142 // If these change, the corresponding enums in the extension API
143 // experimental.fonts.json must also change. 143 // experimental.fontSettings.json must also change.
144 // TODO(falken): Add all the scripts we should support. 144 // TODO(falken): Add all the scripts we should support.
145 const char* const kWebKitScriptsForFontFamilyMaps[] = 145 const char* const kWebKitScriptsForFontFamilyMaps[] =
146 { "Arab", "Hang", "Hans", "Hant", "Hrkt" }; 146 { "Arab", "Hang", "Hans", "Hant", "Hrkt" };
147 147
148 const size_t kWebKitScriptsForFontFamilyMapsLength = 148 const size_t kWebKitScriptsForFontFamilyMapsLength =
149 arraysize(kWebKitScriptsForFontFamilyMaps); 149 arraysize(kWebKitScriptsForFontFamilyMaps);
150 150
151 const char kWebKitStandardFontFamilyArabic[] = 151 const char kWebKitStandardFontFamilyArabic[] =
152 "webkit.webprefs.fonts.standard.Arab"; 152 "webkit.webprefs.fonts.standard.Arab";
153 const char kWebKitFixedFontFamilyArabic[] = 153 const char kWebKitFixedFontFamilyArabic[] =
(...skipping 1636 matching lines...) Expand 10 before | Expand all | Expand 10 after
1790 const char kMinFlickSpeedSquared[] = 1790 const char kMinFlickSpeedSquared[] =
1791 "gesture.min_flick_speed_squared"; 1791 "gesture.min_flick_speed_squared";
1792 const char kMinimumTouchDownDurationInSecondsForClick[] = 1792 const char kMinimumTouchDownDurationInSecondsForClick[] =
1793 "gesture.minimum_touch_down_duration_in_seconds_for_click"; 1793 "gesture.minimum_touch_down_duration_in_seconds_for_click";
1794 #endif 1794 #endif
1795 1795
1796 // Indicates whether the browser is in managed mode. 1796 // Indicates whether the browser is in managed mode.
1797 const char kInManagedMode[] = "managed_mode"; 1797 const char kInManagedMode[] = "managed_mode";
1798 1798
1799 } // namespace prefs 1799 } // namespace prefs
OLDNEW
« no previous file with comments | « chrome/common/extensions/docs/js/api_page_generator.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698