OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 GFX_PLATFORM_FONT_GTK_ | 5 #ifndef UI_GFX_PLATFORM_FONT_GTK_ |
6 #define GFX_PLATFORM_FONT_GTK_ | 6 #define UI_GFX_PLATFORM_FONT_GTK_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "base/scoped_ptr.h" | 9 #include "base/scoped_ptr.h" |
10 #include "gfx/platform_font.h" | 10 #include "gfx/platform_font.h" |
11 #include "third_party/skia/include/core/SkRefCnt.h" | 11 #include "third_party/skia/include/core/SkRefCnt.h" |
12 | 12 |
13 class SkTypeface; | 13 class SkTypeface; |
14 class SkPaint; | 14 class SkPaint; |
15 | 15 |
16 namespace gfx { | 16 namespace gfx { |
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
97 double average_width_pixels_; | 97 double average_width_pixels_; |
98 double underline_position_pixels_; | 98 double underline_position_pixels_; |
99 double underline_thickness_pixels_; | 99 double underline_thickness_pixels_; |
100 | 100 |
101 // The default font, used for the default constructor. | 101 // The default font, used for the default constructor. |
102 static Font* default_font_; | 102 static Font* default_font_; |
103 }; | 103 }; |
104 | 104 |
105 } // namespace gfx | 105 } // namespace gfx |
106 | 106 |
107 #endif // GFX_PLATFORM_FONT_GTK_ | 107 #endif // UI_GFX_PLATFORM_FONT_GTK_ |
OLD | NEW |