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

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

Issue 235553003: Support sideloaded fonts for DirectWrite (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: add ForTesting, iterator name Created 6 years, 8 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 | « 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: public/web/win/WebFontRendering.h
diff --git a/public/web/win/WebFontRendering.h b/public/web/win/WebFontRendering.h
index 02217eaf43ae1219c5580f3fc9458ca98adf819f..45229845d6d8398889cf47173084cf2bd595f2f7 100644
--- a/public/web/win/WebFontRendering.h
+++ b/public/web/win/WebFontRendering.h
@@ -7,6 +7,7 @@
#include "public/platform/WebCommon.h"
+class SkTypeface;
struct IDWriteFactory;
namespace blink {
@@ -16,6 +17,7 @@ public:
BLINK_EXPORT static void setUseDirectWrite(bool);
BLINK_EXPORT static void setDirectWriteFactory(IDWriteFactory*);
BLINK_EXPORT static void setUseSubpixelPositioning(bool);
+ BLINK_EXPORT static void addSideloadedFontForTesting(SkTypeface*);
};
} // namespace blink
« no previous file with comments | « Source/web/win/WebFontRendering.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698