Index: ui/views/controls/textfield/textfield.h |
diff --git a/ui/views/controls/textfield/textfield.h b/ui/views/controls/textfield/textfield.h |
index 69d7b462bffc4694539a20479bb55443e58c334c..4e4fc2e745e515deed03010cca672b16f6374313 100644 |
--- a/ui/views/controls/textfield/textfield.h |
+++ b/ui/views/controls/textfield/textfield.h |
@@ -373,8 +373,8 @@ class VIEWS_EXPORT Textfield : public View, |
// A callback function to periodically update the cursor node_data. |
void UpdateCursor(); |
- // Repaint the cursor. |
- void RepaintCursor(); |
+ // Update the cursor position in the text field. |
+ void UpdateCursorView(); |
void PaintTextAndCursor(gfx::Canvas* canvas); |
@@ -524,6 +524,9 @@ class VIEWS_EXPORT Textfield : public View, |
std::unique_ptr<ui::SimpleMenuModel> context_menu_contents_; |
std::unique_ptr<views::MenuRunner> context_menu_runner_; |
+ // View containing the text cursor. |
+ View cursor_view_; |
+ |
// Used to bind callback functions to this object. |
base::WeakPtrFactory<Textfield> weak_ptr_factory_; |