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

Unified Diff: third_party/WebKit/Source/platform/fonts/FontCache.h

Issue 1695653002: Take Accept-Language into account in CJK font fallback for Windows (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@al
Patch Set: Rebase Created 4 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | third_party/WebKit/Source/platform/fonts/win/FontCacheSkiaWin.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/platform/fonts/FontCache.h
diff --git a/third_party/WebKit/Source/platform/fonts/FontCache.h b/third_party/WebKit/Source/platform/fonts/FontCache.h
index 5b7450c224d6aafcd556136a1479d50376bbec64..1a7d93c4f90ba348c57326d280f1bfc43a93ca34 100644
--- a/third_party/WebKit/Source/platform/fonts/FontCache.h
+++ b/third_party/WebKit/Source/platform/fonts/FontCache.h
@@ -128,6 +128,7 @@ public:
static const AtomicString& smallCaptionFontFamily() { return *s_smallCaptionFontFamilyName; }
static int32_t statusFontHeight() { return s_statusFontHeight; }
static const AtomicString& statusFontFamily() { return *s_statusFontFamilyName; }
+ static UScriptCode preferredScriptForHan() { return m_preferredScriptForHan; }
#endif
typedef uint32_t FontFileKey;
@@ -203,6 +204,7 @@ private:
static int32_t s_smallCaptionFontHeight;
static AtomicString* s_statusFontFamilyName;
static int32_t s_statusFontHeight;
+ static UScriptCode m_preferredScriptForHan;
#endif
friend class SimpleFontData; // For fontDataFromFontPlatformData
« no previous file with comments | « no previous file | third_party/WebKit/Source/platform/fonts/win/FontCacheSkiaWin.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698