OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_PLATFORM_FONT_WIN_H_ | 5 #ifndef UI_GFX_PLATFORM_FONT_WIN_H_ |
6 #define UI_GFX_PLATFORM_FONT_WIN_H_ | 6 #define UI_GFX_PLATFORM_FONT_WIN_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
11 #include "base/gtest_prod_util.h" | 11 #include "base/gtest_prod_util.h" |
| 12 #include "base/macros.h" |
12 #include "base/memory/ref_counted.h" | 13 #include "base/memory/ref_counted.h" |
13 #include "ui/gfx/gfx_export.h" | 14 #include "ui/gfx/gfx_export.h" |
14 #include "ui/gfx/platform_font.h" | 15 #include "ui/gfx/platform_font.h" |
15 | 16 |
16 struct IDWriteFactory; | 17 struct IDWriteFactory; |
17 | 18 |
18 namespace gfx { | 19 namespace gfx { |
19 | 20 |
20 class GFX_EXPORT PlatformFontWin : public PlatformFont { | 21 class GFX_EXPORT PlatformFontWin : public PlatformFont { |
21 public: | 22 public: |
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
199 | 200 |
200 // Pointer to the global IDWriteFactory interface. | 201 // Pointer to the global IDWriteFactory interface. |
201 static IDWriteFactory* direct_write_factory_; | 202 static IDWriteFactory* direct_write_factory_; |
202 | 203 |
203 DISALLOW_COPY_AND_ASSIGN(PlatformFontWin); | 204 DISALLOW_COPY_AND_ASSIGN(PlatformFontWin); |
204 }; | 205 }; |
205 | 206 |
206 } // namespace gfx | 207 } // namespace gfx |
207 | 208 |
208 #endif // UI_GFX_PLATFORM_FONT_WIN_H_ | 209 #endif // UI_GFX_PLATFORM_FONT_WIN_H_ |
OLD | NEW |