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

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

Issue 10548021: Add per-script font support for all ISO 15924 scripts. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: patch for landing Created 8 years, 6 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/samples.json ('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 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
165 const char kWebKitSansSerifFontFamilyMap[] = 165 const char kWebKitSansSerifFontFamilyMap[] =
166 "webkit.webprefs.fonts.sansserif"; 166 "webkit.webprefs.fonts.sansserif";
167 const char kWebKitCursiveFontFamilyMap[] = 167 const char kWebKitCursiveFontFamilyMap[] =
168 "webkit.webprefs.fonts.cursive"; 168 "webkit.webprefs.fonts.cursive";
169 const char kWebKitFantasyFontFamilyMap[] = 169 const char kWebKitFantasyFontFamilyMap[] =
170 "webkit.webprefs.fonts.fantasy"; 170 "webkit.webprefs.fonts.fantasy";
171 171
172 // If these change, the corresponding enums in the extension API 172 // If these change, the corresponding enums in the extension API
173 // experimental.fontSettings.json must also change. 173 // experimental.fontSettings.json must also change.
174 const char* const kWebKitScriptsForFontFamilyMaps[] = { 174 const char* const kWebKitScriptsForFontFamilyMaps[] = {
175 "Arab", "Armn", "Beng", "Cans", "Cher", "Cyrl", "Deva", "Ethi", "Geor", 175 "Afak", "Arab", "Armi", "Armn", "Avst", "Bali", "Bamu", "Bass", "Batk",
176 "Grek", "Gujr", "Guru", "Hang", "Hans", "Hant", "Hebr", "Hrkt", "Knda", 176 "Beng", "Blis", "Bopo", "Brah", "Brai", "Bugi", "Buhd", "Cakm", "Cans",
177 "Khmr", "Laoo", "Mlym", "Mong", "Mymr", "Orya", "Sinh", "Taml", "Telu", 177 "Cari", "Cham", "Cher", "Cirt", "Copt", "Cprt", "Cyrl", "Cyrs", "Deva",
178 "Thaa", "Thai", "Tibt", "Yiii", "Zyyy" 178 "Dsrt", "Dupl", "Egyd", "Egyh", "Egyp", "Elba", "Ethi", "Geor", "Geok",
179 "Glag", "Goth", "Gran", "Grek", "Gujr", "Guru", "Hang", "Hani", "Hano",
180 "Hans", "Hant", "Hebr", "Hluw", "Hmng", "Hrkt", "Hung", "Inds", "Ital",
181 "Java", "Jurc", "Kali", "Khar", "Khmr", "Khoj", "Knda", "Kpel", "Kthi",
182 "Lana", "Laoo", "Latf", "Latg", "Latn", "Lepc", "Limb", "Lina", "Linb",
183 "Lisu", "Loma", "Lyci", "Lydi", "Mand", "Mani", "Maya", "Mend", "Merc",
184 "Mero", "Mlym", "Moon", "Mong", "Mroo", "Mtei", "Mymr", "Narb", "Nbat",
185 "Nkgb", "Nkoo", "Nshu", "Ogam", "Olck", "Orkh", "Orya", "Osma", "Palm",
186 "Perm", "Phag", "Phli", "Phlp", "Phlv", "Phnx", "Plrd", "Prti", "Rjng",
187 "Roro", "Runr", "Samr", "Sara", "Sarb", "Saur", "Sgnw", "Shaw", "Shrd",
188 "Sind", "Sinh", "Sora", "Sund", "Sylo", "Syrc", "Syre", "Syrj", "Syrn",
189 "Tagb", "Takr", "Tale", "Talu", "Taml", "Tang", "Tavt", "Telu", "Teng",
190 "Tfng", "Tglg", "Thaa", "Thai", "Tibt", "Tirh", "Ugar", "Vaii", "Visp",
191 "Wara", "Wole", "Xpeo", "Xsux", "Yiii", "Zmth", "Zsym", "Zyyy"
179 }; 192 };
180 193
181 const size_t kWebKitScriptsForFontFamilyMapsLength = 194 const size_t kWebKitScriptsForFontFamilyMapsLength =
182 arraysize(kWebKitScriptsForFontFamilyMaps); 195 arraysize(kWebKitScriptsForFontFamilyMaps);
183 196
184 // WebKit preferences. 197 // WebKit preferences.
185 const char kWebKitStandardFontFamilyArabic[] = 198 const char kWebKitStandardFontFamilyArabic[] =
186 "webkit.webprefs.fonts.standard.Arab"; 199 "webkit.webprefs.fonts.standard.Arab";
187 const char kWebKitFixedFontFamilyArabic[] = 200 const char kWebKitFixedFontFamilyArabic[] =
188 "webkit.webprefs.fonts.fixed.Arab"; 201 "webkit.webprefs.fonts.fixed.Arab";
(...skipping 1751 matching lines...) Expand 10 before | Expand all | Expand 10 after
1940 const char kNetworkProfileLastWarningTime[] = 1953 const char kNetworkProfileLastWarningTime[] =
1941 "network_profile.last_warning_time"; 1954 "network_profile.last_warning_time";
1942 1955
1943 #if defined(OS_MACOSX) 1956 #if defined(OS_MACOSX)
1944 // A timestamp of when the obsolete OS infobar was last shown to a user on 10.5. 1957 // A timestamp of when the obsolete OS infobar was last shown to a user on 10.5.
1945 const char kMacLeopardObsoleteInfobarLastShown[] = 1958 const char kMacLeopardObsoleteInfobarLastShown[] =
1946 "mac_105_obsolete_infobar_last_shown"; 1959 "mac_105_obsolete_infobar_last_shown";
1947 #endif // defined(OS_MACOSX) 1960 #endif // defined(OS_MACOSX)
1948 1961
1949 } // namespace prefs 1962 } // namespace prefs
OLDNEW
« no previous file with comments | « chrome/common/extensions/docs/samples.json ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698