summaryrefslogtreecommitdiffstats
path: root/ui/gfx/platform_font_ozone.cc
diff options
context:
space:
mode:
authorsadrul@chromium.org <sadrul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-11-06 06:02:45 +0000
committersadrul@chromium.org <sadrul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-11-06 06:02:45 +0000
commit34ed46775e9685a970338573b75fe0d71f63203d (patch)
treea1599c1aad5a0d45fd9790278a19f55b20e20de6 /ui/gfx/platform_font_ozone.cc
parent988e5eb0a8f817b5317b33491f14b64c4f928fec (diff)
downloadchromium_src-34ed46775e9685a970338573b75fe0d71f63203d.zip
chromium_src-34ed46775e9685a970338573b75fe0d71f63203d.tar.gz
chromium_src-34ed46775e9685a970338573b75fe0d71f63203d.tar.bz2
ozone: Allow building for ozone without depending on pango
Notable changes in this CL: * Rename files that depend on pango to have _pango suffix. * Add a filename gyp rule to exclude _pango* files when use_pango = 0 * Add empty implementations for a few font-related API for ozone. BUG=313793 R=jam@chromium.org, msw@chromium.org, rjkroege@chromium.org Review URL: https://codereview.chromium.org/26541007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@233228 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/gfx/platform_font_ozone.cc')
-rw-r--r--ui/gfx/platform_font_ozone.cc22
1 files changed, 22 insertions, 0 deletions
diff --git a/ui/gfx/platform_font_ozone.cc b/ui/gfx/platform_font_ozone.cc
new file mode 100644
index 0000000..f93b737
--- /dev/null
+++ b/ui/gfx/platform_font_ozone.cc
@@ -0,0 +1,22 @@
+// Copyright (c) 2013 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "ui/gfx/platform_font.h"
+
+namespace gfx {
+
+PlatformFont* PlatformFont::CreateDefault() {
+ return NULL;
+}
+
+PlatformFont* PlatformFont::CreateFromNativeFont(NativeFont native_font) {
+ return NULL;
+}
+
+PlatformFont* PlatformFont::CreateFromNameAndSize(const std::string& font_name,
+ int font_size) {
+ return NULL;
+}
+
+} // namespace gfx