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

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

Issue 210243004: Usage of DirectWrite now determined browser-side (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: web function rather than RuntimeEnabledFeature Created 6 years, 9 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: public/web/win/WebFontRendering.h
diff --git a/public/web/win/WebFontRendering.h b/public/web/win/WebFontRendering.h
new file mode 100644
index 0000000000000000000000000000000000000000..64fb9efffe12becfb6f0c0f3402673cfa207ce15
--- /dev/null
+++ b/public/web/win/WebFontRendering.h
@@ -0,0 +1,20 @@
+// 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 "../../platform/WebCommon.h"
+
+namespace blink {
+
+class WebFontRendering {
+public:
+ BLINK_EXPORT static void setUseDirectWrite(bool);
+ BLINK_EXPORT static void setUseSubpixelPositioning(bool);
+};
+
+} // namespace blink
+
+#endif
« Source/platform/fonts/win/FontCacheSkiaWin.cpp ('K') | « Source/web/win/WebFontRendering.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698