OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_UTIL_H_ | 5 #ifndef UI_GFX_WIN_UTIL_H_ |
6 #define UI_GFX_WIN_UTIL_H_ | 6 #define UI_GFX_WIN_UTIL_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
| 9 #include "ui/ui_api.h" |
| 10 |
9 namespace gfx { | 11 namespace gfx { |
10 | 12 |
11 // Returns true if Direct2d is available, false otherwise. | 13 // Returns true if Direct2d is available, false otherwise. |
12 bool Direct2dIsAvailable(); | 14 UI_API bool Direct2dIsAvailable(); |
13 | 15 |
14 // Returns true if DirectWrite is available, false otherwise. | 16 // Returns true if DirectWrite is available, false otherwise. |
15 bool DirectWriteIsAvailable(); | 17 bool DirectWriteIsAvailable(); |
16 | 18 |
17 } // namespace gfx; | 19 } // namespace gfx; |
18 | 20 |
19 #endif // UI_GFX_WIN_UTIL_H_ | 21 #endif // UI_GFX_WIN_UTIL_H_ |
20 | 22 |
OLD | NEW |