summaryrefslogtreecommitdiffstats
path: root/chromium/third_party/WebKit/public/web/win/WebFontRendering.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/WebKit/public/web/win/WebFontRendering.h')
-rw-r--r--chromium/third_party/WebKit/public/web/win/WebFontRendering.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/chromium/third_party/WebKit/public/web/win/WebFontRendering.h b/chromium/third_party/WebKit/public/web/win/WebFontRendering.h
new file mode 100644
index 00000000000..45229845d6d
--- /dev/null
+++ b/chromium/third_party/WebKit/public/web/win/WebFontRendering.h
@@ -0,0 +1,25 @@
+// Copyright 2014 Google Inc. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef WebFontRendering_h
+#define WebFontRendering_h
+
+#include "public/platform/WebCommon.h"
+
+class SkTypeface;
+struct IDWriteFactory;
+
+namespace blink {
+
+class WebFontRendering {
+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
+
+#endif