OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef UI_GFX_RENDER_TEXT_LINUX_H_ |
| 6 #define UI_GFX_RENDER_TEXT_LINUX_H_ |
| 7 #pragma once |
| 8 |
| 9 #include "ui/gfx/render_text.h" |
| 10 |
| 11 namespace gfx { |
| 12 |
| 13 // RenderTextLinux is the Linux implementation of RenderText using Pango. |
| 14 class RenderTextLinux : RenderText { |
| 15 public: |
| 16 RenderTextLinux(); |
| 17 virtual ~RenderTextLinux(); |
| 18 |
| 19 // Overridden from RenderText |
| 20 // TODO(msw): // Overridden from RenderText |
| 21 //virtual void Draw(HDC drawing_context) const; |
| 22 //virtual size_t FindCursorPosition(const gfx::Point& point) const; |
| 23 //virtual std::vector<gfx::Rect> GetSubstringBounds( |
| 24 // const ui::Range& range) const; |
| 25 //virtual gfx::Rect GetCursorBounds(size_t position, |
| 26 // bool insert_mode) const; |
| 27 |
| 28 protected: |
| 29 // TODO(msw): // Overridden from RenderText |
| 30 //virtual size_t GetLeftCursorPosition(size_t position, |
| 31 // bool move_by_word) const; |
| 32 //virtual size_t GetRightCursorPosition(size_t position, |
| 33 // bool move_by_word) const; |
| 34 |
| 35 private: |
| 36 DISALLOW_COPY_AND_ASSIGN(RenderTextLinux); |
| 37 }; |
| 38 |
| 39 } // namespace gfx; |
| 40 |
| 41 #endif // UI_GFX_RENDER_TEXT_LINUX_H_ |
OLD | NEW |