| Index: ui/views/controls/textfield/textfield.h
|
| diff --git a/ui/views/controls/textfield/textfield.h b/ui/views/controls/textfield/textfield.h
|
| index c6dd5c11eaa2def01c015a62a224062858bb2549..3a588437e9f7e15fe22b9340e2873190cbd4ceb8 100644
|
| --- a/ui/views/controls/textfield/textfield.h
|
| +++ b/ui/views/controls/textfield/textfield.h
|
| @@ -319,6 +319,9 @@ class VIEWS_EXPORT Textfield : public View,
|
| // Executes the given |command|.
|
| virtual void ExecuteTextEditCommand(ui::TextEditCommand command);
|
|
|
| + // Does necessary updates when the text and/or cursor position changes.
|
| + void UpdateAfterChange(bool text_changed, bool cursor_changed);
|
| +
|
| private:
|
| friend class TextfieldTestApi;
|
|
|
| @@ -337,9 +340,6 @@ class VIEWS_EXPORT Textfield : public View,
|
| // Updates the painted background color.
|
| void UpdateBackgroundColor();
|
|
|
| - // Does necessary updates when the text and/or cursor position changes.
|
| - void UpdateAfterChange(bool text_changed, bool cursor_changed);
|
| -
|
| // A callback function to periodically update the cursor state.
|
| void UpdateCursor();
|
|
|
|
|