| 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_gtk.h" | 5 #include "gfx/platform_font_gtk.h" |
| 6 | 6 |
| 7 #include <algorithm> | 7 #include <algorithm> |
| 8 #include <fontconfig/fontconfig.h> | 8 #include <fontconfig/fontconfig.h> |
| 9 #include <gdk/gdk.h> | 9 #include <gdk/gdk.h> |
| 10 #include <gtk/gtk.h> | 10 #include <gtk/gtk.h> |
| (...skipping 430 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 441 return new PlatformFontGtk(native_font); | 441 return new PlatformFontGtk(native_font); |
| 442 } | 442 } |
| 443 | 443 |
| 444 // static | 444 // static |
| 445 PlatformFont* PlatformFont::CreateFromNameAndSize(const string16& font_name, | 445 PlatformFont* PlatformFont::CreateFromNameAndSize(const string16& font_name, |
| 446 int font_size) { | 446 int font_size) { |
| 447 return new PlatformFontGtk(font_name, font_size); | 447 return new PlatformFontGtk(font_name, font_size); |
| 448 } | 448 } |
| 449 | 449 |
| 450 } // namespace gfx | 450 } // namespace gfx |
| OLD | NEW |