Index: ui/gfx/render_text_win.h |
diff --git a/ui/gfx/render_text_win.h b/ui/gfx/render_text_win.h |
new file mode 100755 |
index 0000000000000000000000000000000000000000..7a7eae5d2e3bcd60935c74d112d563bdf0cc2e04 |
--- /dev/null |
+++ b/ui/gfx/render_text_win.h |
@@ -0,0 +1,41 @@ |
+// 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(); |
+ |
+ // TODO(msw): Solve error C3646: 'OVERRIDE' : unknown override specifier |
+ // TODO(msw): // Overridden from RenderText |
+ //virtual void Draw(HDC drawing_context) const; |
+ //virtual size_t FindCursorPosition(const gfx::Point& point) const; |
+ //virtual std::vector<gfx::Rect> GetSubstringBounds( |
+ // const ui::Range& range) const; |
+ //virtual gfx::Rect GetCursorBounds(size_t position, |
+ // bool insert_mode) const; |
+ |
+ protected: |
+ // TODO(msw): // Overridden from RenderText |
+ //virtual size_t GetLeftCursorPosition(size_t position, |
+ // bool move_by_word) const; |
+ //virtual size_t GetRightCursorPosition(size_t position, |
+ // bool move_by_word) const; |
+ |
+ private: |
+ DISALLOW_COPY_AND_ASSIGN(RenderTextWin); |
+}; |
+ |
+} // namespace gfx; |
+ |
+#endif // UI_GFX_RENDER_TEXT_WIN_H_ |