OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef UI_GFX_WIN_DIRECT_WRITE_H_ | 5 #ifndef UI_GFX_WIN_DIRECT_WRITE_H_ |
6 #define UI_GFX_WIN_DIRECT_WRITE_H_ | 6 #define UI_GFX_WIN_DIRECT_WRITE_H_ |
7 | 7 |
8 #include "ui/gfx/gfx_export.h" | 8 #include "ui/gfx/gfx_export.h" |
9 | 9 |
10 namespace gfx { | 10 namespace gfx { |
11 namespace win { | 11 namespace win { |
12 | 12 |
13 // Returns whether DirectWrite font rendering should be used. | 13 // Returns whether DirectWrite font rendering should be used. |
14 GFX_EXPORT bool ShouldUseDirectWrite(); | 14 GFX_EXPORT bool ShouldUseDirectWrite(); |
15 | 15 |
| 16 GFX_EXPORT void MaybeInitializeDirectWrite(); |
| 17 |
16 } // namespace win | 18 } // namespace win |
17 } // namespace gfx | 19 } // namespace gfx |
18 | 20 |
19 #endif // UI_GFX_WIN_DIRECT_WRITE_H_ | 21 #endif // UI_GFX_WIN_DIRECT_WRITE_H_ |
OLD | NEW |