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

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

Issue 1682813004: Revert of Add plumbing in blink to allow overriding the default font collection. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 | « third_party/WebKit/Source/web/win/WebFontRendering.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/public/web/win/WebFontRendering.h
diff --git a/third_party/WebKit/public/web/win/WebFontRendering.h b/third_party/WebKit/public/web/win/WebFontRendering.h
index ffe5179bf5fa4d373f0a06738a67c77dac1c2cb4..5c7c3836d7c3e7f6d282b4fc8bb9029c49cce3d1 100644
--- a/third_party/WebKit/public/web/win/WebFontRendering.h
+++ b/third_party/WebKit/public/web/win/WebFontRendering.h
@@ -6,17 +6,17 @@
#define WebFontRendering_h
#include "public/platform/WebCommon.h"
-#include "third_party/skia/include/core/SkFontHost.h"
+#include <SkFontHost.h>
-class SkFontMgr;
class SkTypeface;
+struct IDWriteFactory;
namespace blink {
class WebFontRendering {
public:
BLINK_EXPORT static void setUseDirectWrite(bool);
- BLINK_EXPORT static void setSkiaFontManager(SkFontMgr*);
+ BLINK_EXPORT static void setDirectWriteFactory(IDWriteFactory*);
BLINK_EXPORT static void setDeviceScaleFactor(float);
BLINK_EXPORT static void setUseSubpixelPositioning(bool);
BLINK_EXPORT static void addSideloadedFontForTesting(SkTypeface*);
« no previous file with comments | « third_party/WebKit/Source/web/win/WebFontRendering.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698