OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 #include "gfx/platform_font_mac.h" | 5 #include "gfx/platform_font_mac.h" |
6 | 6 |
7 #include <Cocoa/Cocoa.h> | 7 #include <Cocoa/Cocoa.h> |
8 | 8 |
9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
10 #include "base/scoped_nsobject.h" | 10 #include "base/scoped_nsobject.h" |
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
134 } | 134 } |
135 | 135 |
136 // static | 136 // static |
137 PlatformFont* PlatformFont::CreateFromNameAndSize(const string16& font_name, | 137 PlatformFont* PlatformFont::CreateFromNameAndSize(const string16& font_name, |
138 int font_size) { | 138 int font_size) { |
139 return new PlatformFontMac(font_name, font_size); | 139 return new PlatformFontMac(font_name, font_size); |
140 } | 140 } |
141 | 141 |
142 } // namespace gfx | 142 } // namespace gfx |
143 | 143 |
OLD | NEW |