summaryrefslogtreecommitdiffstats
path: root/ui/gfx/platform_font_ozone.cc
diff options
context:
space:
mode:
authorDaniel Erat <derat@chromium.org>2015-02-11 08:15:09 -0700
committerDaniel Erat <derat@chromium.org>2015-02-11 15:18:31 +0000
commitcb2db9b2080f9d99b10c993634af048b0f6dd273 (patch)
treec9a7dc80779aab759a290f6d0b81a0b8a7377238 /ui/gfx/platform_font_ozone.cc
parentbf571b96b94c279b766cd6c82ec20b54f2098394 (diff)
downloadchromium_src-cb2db9b2080f9d99b10c993634af048b0f6dd273.zip
chromium_src-cb2db9b2080f9d99b10c993634af048b0f6dd273.tar.gz
chromium_src-cb2db9b2080f9d99b10c993634af048b0f6dd273.tar.bz2
linux: Remove Pango dependency from UI font code in gfx/.
Make PlatformFontPango (used on Linux and Chrome OS) stop using PangoFontDescription. PangoFontDescriptions are now parsed by LinuxUI (the GTK2 implementation of LinuxFontDelegate). Also make NativeFont and related methods only be defined on Windows, Mac, and iOS. BUG=398885,393067 R=msw@chromium.org, yukishiino@chromium.org Review URL: https://codereview.chromium.org/901663004 Cr-Commit-Position: refs/heads/master@{#315763}
Diffstat (limited to 'ui/gfx/platform_font_ozone.cc')
-rw-r--r--ui/gfx/platform_font_ozone.cc5
1 files changed, 0 insertions, 5 deletions
diff --git a/ui/gfx/platform_font_ozone.cc b/ui/gfx/platform_font_ozone.cc
index aef042a..b1a463c 100644
--- a/ui/gfx/platform_font_ozone.cc
+++ b/ui/gfx/platform_font_ozone.cc
@@ -12,11 +12,6 @@ PlatformFont* PlatformFont::CreateDefault() {
}
// static
-PlatformFont* PlatformFont::CreateFromNativeFont(NativeFont native_font) {
- return NULL;
-}
-
-// static
PlatformFont* PlatformFont::CreateFromNameAndSize(const std::string& font_name,
int font_size) {
return NULL;