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_LINUX_H_ | 5 #ifndef UI_GFX_PLATFORM_FONT_LINUX_H_ |
6 #define UI_GFX_PLATFORM_FONT_LINUX_H_ | 6 #define UI_GFX_PLATFORM_FONT_LINUX_H_ |
7 | 7 |
| 8 #include <memory> |
8 #include <string> | 9 #include <string> |
9 | 10 |
10 #include "base/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
11 #include "base/macros.h" | 12 #include "base/macros.h" |
12 #include "base/memory/scoped_ptr.h" | |
13 #include "build/build_config.h" | 13 #include "build/build_config.h" |
14 #include "skia/ext/refptr.h" | 14 #include "skia/ext/refptr.h" |
15 #include "third_party/skia/include/core/SkRefCnt.h" | 15 #include "third_party/skia/include/core/SkRefCnt.h" |
16 #include "ui/gfx/font_render_params.h" | 16 #include "ui/gfx/font_render_params.h" |
17 #include "ui/gfx/platform_font.h" | 17 #include "ui/gfx/platform_font.h" |
18 | 18 |
19 class SkTypeface; | 19 class SkTypeface; |
20 class SkPaint; | 20 class SkPaint; |
21 | 21 |
22 namespace gfx { | 22 namespace gfx { |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
100 // A font description string of the format used by gfx::FontList. | 100 // A font description string of the format used by gfx::FontList. |
101 static std::string* default_font_description_; | 101 static std::string* default_font_description_; |
102 #endif | 102 #endif |
103 | 103 |
104 DISALLOW_COPY_AND_ASSIGN(PlatformFontLinux); | 104 DISALLOW_COPY_AND_ASSIGN(PlatformFontLinux); |
105 }; | 105 }; |
106 | 106 |
107 } // namespace gfx | 107 } // namespace gfx |
108 | 108 |
109 #endif // UI_GFX_PLATFORM_FONT_LINUX_H_ | 109 #endif // UI_GFX_PLATFORM_FONT_LINUX_H_ |
OLD | NEW |