| 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_win.h" | 5 #include "gfx/platform_font_win.h" |
| 6 | 6 |
| 7 #include <windows.h> | 7 #include <windows.h> |
| 8 #include <math.h> | 8 #include <math.h> |
| 9 | 9 |
| 10 #include <algorithm> | 10 #include <algorithm> |
| (...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 260 return new PlatformFontWin(native_font); | 260 return new PlatformFontWin(native_font); |
| 261 } | 261 } |
| 262 | 262 |
| 263 // static | 263 // static |
| 264 PlatformFont* PlatformFont::CreateFromNameAndSize(const string16& font_name, | 264 PlatformFont* PlatformFont::CreateFromNameAndSize(const string16& font_name, |
| 265 int font_size) { | 265 int font_size) { |
| 266 return new PlatformFontWin(font_name, font_size); | 266 return new PlatformFontWin(font_name, font_size); |
| 267 } | 267 } |
| 268 | 268 |
| 269 } // namespace gfx | 269 } // namespace gfx |
| OLD | NEW |