summaryrefslogtreecommitdiffstats
path: root/ui/gfx/render_text_win.h
diff options
context:
space:
mode:
authormsw@chromium.org <msw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-25 05:11:57 +0000
committermsw@chromium.org <msw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-25 05:11:57 +0000
commit689d9d0d463d2b2f622a0cd74d79d1b60f432fc1 (patch)
tree9641f9d6b5fffa1d8a477a0dbfd6caeddd0772d6 /ui/gfx/render_text_win.h
parent906625821f97a508d76810fba7b9641335f68b51 (diff)
downloadchromium_src-689d9d0d463d2b2f622a0cd74d79d1b60f432fc1.zip
chromium_src-689d9d0d463d2b2f622a0cd74d79d1b60f432fc1.tar.gz
chromium_src-689d9d0d463d2b2f622a0cd74d79d1b60f432fc1.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. Review URL: http://codereview.chromium.org/7265011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@93840 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/gfx/render_text_win.h')
-rwxr-xr-xui/gfx/render_text_win.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/ui/gfx/render_text_win.h b/ui/gfx/render_text_win.h
new file mode 100755
index 0000000..829888b
--- /dev/null
+++ b/ui/gfx/render_text_win.h
@@ -0,0 +1,25 @@
+// 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.
+
+#ifndef UI_GFX_RENDER_TEXT_WIN_H_
+#define UI_GFX_RENDER_TEXT_WIN_H_
+#pragma once
+
+#include "ui/gfx/render_text.h"
+
+namespace gfx {
+
+// RenderTextWin is the Windows implementation of RenderText using Uniscribe.
+class RenderTextWin : public RenderText {
+ public:
+ RenderTextWin();
+ virtual ~RenderTextWin();
+
+ private:
+ DISALLOW_COPY_AND_ASSIGN(RenderTextWin);
+};
+
+} // namespace gfx;
+
+#endif // UI_GFX_RENDER_TEXT_WIN_H_