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

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

Issue 1685053002: blink fonts: Load Android SkFontMgr on Linux. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@windows_change
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
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 7aa6d2561d4adb892475cf4bae1ce94537f3aa38..54c1ad3ad15f84881b0a72dcaec57ca767addad9 100644
--- a/third_party/WebKit/public/web/linux/WebFontRendering.h
+++ b/third_party/WebKit/public/web/linux/WebFontRendering.h
@@ -33,6 +33,7 @@
#include "../../platform/WebCommon.h"
#include <SkFontHost.h>
+#include <SkFontMgr.h>
#include <SkPaint.h>
namespace blink {
@@ -41,6 +42,7 @@ class WebFontRendering {
public:
// Set global font renderering preferences.
+ BLINK_EXPORT static void setSkiaFontManager(SkFontMgr*);
BLINK_EXPORT static void setHinting(SkPaint::Hinting);
BLINK_EXPORT static void setAutoHint(bool);
BLINK_EXPORT static void setUseBitmaps(bool);

Powered by Google App Engine
This is Rietveld 408576698