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