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..1859b105a3bf07e5574faffdb2d31862fea02050 |
--- /dev/null |
+++ b/ui/gfx/win/direct_write.h |
@@ -0,0 +1,20 @@ |
+// Copyright (c) 2014 The Chromium Authors. All rights reserved. |
sky
2014/10/10 21:32:25
nit: no (c) on new files (see style guide).
ananta
2014/10/10 21:38:55
Done.
|
+// 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 { |
+ |
sky
2014/10/10 21:32:25
nit: no newline.
ananta
2014/10/10 21:38:55
Done.
|
+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_ |