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_H_ | 5 #ifndef UI_GFX_PLATFORM_FONT_H_ |
6 #define UI_GFX_PLATFORM_FONT_H_ | 6 #define UI_GFX_PLATFORM_FONT_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
11 #include "base/strings/string16.h" | 11 #include "base/strings/string16.h" |
| 12 #include "build/build_config.h" |
12 #include "ui/gfx/gfx_export.h" | 13 #include "ui/gfx/gfx_export.h" |
13 #include "ui/gfx/native_widget_types.h" | 14 #include "ui/gfx/native_widget_types.h" |
14 | 15 |
15 namespace gfx { | 16 namespace gfx { |
16 | 17 |
17 class Font; | 18 class Font; |
18 struct FontRenderParams; | 19 struct FontRenderParams; |
19 | 20 |
20 class GFX_EXPORT PlatformFont : public base::RefCounted<PlatformFont> { | 21 class GFX_EXPORT PlatformFont : public base::RefCounted<PlatformFont> { |
21 public: | 22 public: |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
76 protected: | 77 protected: |
77 virtual ~PlatformFont() {} | 78 virtual ~PlatformFont() {} |
78 | 79 |
79 private: | 80 private: |
80 friend class base::RefCounted<PlatformFont>; | 81 friend class base::RefCounted<PlatformFont>; |
81 }; | 82 }; |
82 | 83 |
83 } // namespace gfx | 84 } // namespace gfx |
84 | 85 |
85 #endif // UI_GFX_PLATFORM_FONT_H_ | 86 #endif // UI_GFX_PLATFORM_FONT_H_ |
OLD | NEW |