Index: ui/gfx/render_text_win.h |
=================================================================== |
--- ui/gfx/render_text_win.h (revision 109708) |
+++ ui/gfx/render_text_win.h (working copy) |
@@ -58,7 +58,6 @@ |
// Overridden from RenderText: |
virtual int GetStringWidth() OVERRIDE; |
- virtual void Draw(Canvas* canvas) OVERRIDE; |
virtual SelectionModel FindCursorPosition(const Point& point) OVERRIDE; |
virtual Rect GetCursorBounds(const SelectionModel& selection, |
bool insert_mode) OVERRIDE; |
@@ -74,6 +73,7 @@ |
virtual std::vector<Rect> GetSubstringBounds(size_t from, size_t to) OVERRIDE; |
virtual bool IsCursorablePosition(size_t position) OVERRIDE; |
virtual void UpdateLayout() OVERRIDE; |
+ virtual void DrawVisualText(Canvas* canvas) OVERRIDE; |
private: |
virtual size_t IndexOfAdjacentGrapheme(size_t index, bool next) OVERRIDE; |
@@ -97,11 +97,6 @@ |
SelectionModel LeftSelectionModel(const SelectionModel& selection); |
SelectionModel RightSelectionModel(const SelectionModel& selection); |
- // Draw the text, cursor, and selection. |
- void DrawSelection(Canvas* canvas); |
- void DrawVisualText(Canvas* canvas); |
- void DrawCursor(Canvas* canvas); |
- |
bool text_is_dirty_; |
bool style_is_dirty_; |