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

Unified Diff: third_party/WebKit/public/web/linux/WebFontRendering.h

Issue 2138613002: Set the font family for the "system-ui" generic font family on Linux (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Changed char* to WebString 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/public/web/linux/WebFontRendering.h
diff --git a/third_party/WebKit/public/web/linux/WebFontRendering.h b/third_party/WebKit/public/web/linux/WebFontRendering.h
index c2818eac79f49f231605c4426a8343dfa8c359a0..d52b018b10508a476c81d18091df7a1a3fab5579 100644
--- a/third_party/WebKit/public/web/linux/WebFontRendering.h
+++ b/third_party/WebKit/public/web/linux/WebFontRendering.h
@@ -32,6 +32,7 @@
#define WebFontRendering_h
#include "../../platform/WebCommon.h"
+#include "../../platform/WebString.h"
#include <SkFontMgr.h>
#include <SkPaint.h>
@@ -49,6 +50,7 @@ class WebFontRendering {
BLINK_EXPORT static void setSubpixelRendering(bool);
BLINK_EXPORT static void setSubpixelPositioning(bool);
BLINK_EXPORT static void setDefaultFontSize(int);
+ BLINK_EXPORT static void setSystemFontFamily(const WebString&);
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698