summaryrefslogtreecommitdiffstats
path: root/ui/gfx/render_text_linux.cc
diff options
context:
space:
mode:
authormsw@chromium.org <msw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-25 08:42:52 +0000
committermsw@chromium.org <msw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-25 08:42:52 +0000
commitff44d71a49c7ddc98787ed0a49ab827176164bbe (patch)
tree20a679864ce8626bb2fd2c67f0a7add7f09db73f /ui/gfx/render_text_linux.cc
parentb186a239f3298710e717d3adc234aefbaad04dfc (diff)
downloadchromium_src-ff44d71a49c7ddc98787ed0a49ab827176164bbe.zip
chromium_src-ff44d71a49c7ddc98787ed0a49ab827176164bbe.tar.gz
chromium_src-ff44d71a49c7ddc98787ed0a49ab827176164bbe.tar.bz2
Add gfx::RenderText and support code.
RenderText is NativeTextFieldViews' interface to platform-specific text rendering engines. This change doesn't hook in any new Pango or Uniscribe functionality, it will just setup the necessary API. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=93840 Review URL: http://codereview.chromium.org/7265011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@93855 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/gfx/render_text_linux.cc')
-rw-r--r--ui/gfx/render_text_linux.cc20
1 files changed, 20 insertions, 0 deletions
diff --git a/ui/gfx/render_text_linux.cc b/ui/gfx/render_text_linux.cc
new file mode 100644
index 0000000..21b3ac4
--- /dev/null
+++ b/ui/gfx/render_text_linux.cc
@@ -0,0 +1,20 @@
+// Copyright (c) 2011 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/render_text_linux.h"
+
+namespace gfx {
+
+RenderTextLinux::RenderTextLinux()
+ : RenderText() {
+}
+
+RenderTextLinux::~RenderTextLinux() {
+}
+
+RenderText* RenderText::CreateRenderText() {
+ return new RenderTextLinux;
+}
+
+} // namespace gfx