OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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_FONT_H_ | 5 #ifndef UI_GFX_FONT_H_ |
6 #define GFX_FONT_H_ | 6 #define UI_GFX_FONT_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 | 10 |
11 #include "base/ref_counted.h" | 11 #include "base/ref_counted.h" |
12 #include "base/string16.h" | 12 #include "base/string16.h" |
13 #include "gfx/native_widget_types.h" | 13 #include "gfx/native_widget_types.h" |
14 | 14 |
15 namespace gfx { | 15 namespace gfx { |
16 | 16 |
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
103 // static_cast to a known implementation type if needed. | 103 // static_cast to a known implementation type if needed. |
104 PlatformFont* platform_font() const { return platform_font_.get(); } | 104 PlatformFont* platform_font() const { return platform_font_.get(); } |
105 | 105 |
106 private: | 106 private: |
107 // Wrapped platform font implementation. | 107 // Wrapped platform font implementation. |
108 scoped_refptr<PlatformFont> platform_font_; | 108 scoped_refptr<PlatformFont> platform_font_; |
109 }; | 109 }; |
110 | 110 |
111 } // namespace gfx | 111 } // namespace gfx |
112 | 112 |
113 #endif // GFX_FONT_H_ | 113 #endif // UI_GFX_FONT_H_ |
OLD | NEW |