Index: ui/gfx/win/direct_write.h |
diff --git a/ui/gfx/win/direct_write.h b/ui/gfx/win/direct_write.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..b621bf8d284b6603ac1f0c825088cf9a7ea54017 |
--- /dev/null |
+++ b/ui/gfx/win/direct_write.h |
@@ -0,0 +1,19 @@ |
+// Copyright 2014 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef UI_GFX_WIN_DIRECT_WRITE_H_ |
+#define UI_GFX_WIN_DIRECT_WRITE_H_ |
+ |
+#include "ui/gfx/gfx_export.h" |
+ |
+namespace gfx { |
+namespace win { |
+ |
+// Returns whether DirectWrite font rendering should be used. |
+GFX_EXPORT bool ShouldUseDirectWrite(); |
+ |
+} // namespace win |
+} // namespace gfx |
+ |
+#endif // UI_GFX_WIN_DIRECT_WRITE_H_ |