| Index: ui/views/controls/textfield/textfield.cc
|
| diff --git a/ui/views/controls/textfield/textfield.cc b/ui/views/controls/textfield/textfield.cc
|
| index bedee3a1c0c8cabcece0a1f5d192c79e9f5d5191..5dfe44db4e4c92e0ea4a536a91fab1663dbaba94 100644
|
| --- a/ui/views/controls/textfield/textfield.cc
|
| +++ b/ui/views/controls/textfield/textfield.cc
|
| @@ -923,6 +923,15 @@ void Textfield::OnBoundsChanged(const gfx::Rect& previous_bounds) {
|
| OnCaretBoundsChanged();
|
| }
|
|
|
| +bool Textfield::NeedsNotificationWhenVisibleBoundsChange() const {
|
| + return true;
|
| +}
|
| +
|
| +void Textfield::OnVisibleBoundsChanged() {
|
| + if (touch_selection_controller_)
|
| + touch_selection_controller_->SelectionChanged();
|
| +}
|
| +
|
| void Textfield::OnEnabledChanged() {
|
| View::OnEnabledChanged();
|
| if (GetInputMethod())
|
|
|