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

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

Issue 2137483004: Enable "system-ui" generic font family (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: drott nit Created 4 years, 2 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
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 b97a5a8da02e772732f5ea2dcfeaedefa363aedd..9e6dbc8b5ea622956939b6d640f3adeb44e28ee4 100644
--- a/third_party/WebKit/Source/platform/fonts/FontCache.h
+++ b/third_party/WebKit/Source/platform/fonts/FontCache.h
@@ -115,6 +115,15 @@ class PLATFORM_EXPORT FontCache {
SkFontMgr* fontManager() { return m_fontManager.get(); }
static void setFontManager(const sk_sp<SkFontMgr>&);
+#if !OS(MACOSX)
+ static const AtomicString& systemFontFamily();
+#else
+ static const AtomicString& legacySystemFontFamily();
+#endif
+#if OS(LINUX)
+ static void setSystemFontFamily(const char*);
+#endif
+
#if OS(WIN)
static bool antialiasedTextEnabled() { return s_antialiasedTextEnabled; }
static bool lcdTextEnabled() { return s_lcdTextEnabled; }

Powered by Google App Engine
This is Rietveld 408576698