| Index: ui/views/controls/textfield/textfield.cc
|
| diff --git a/ui/views/controls/textfield/textfield.cc b/ui/views/controls/textfield/textfield.cc
|
| index 7e9dbae11d8d961b29cab6b5deea857572a2bc70..0c273d7af52f6ff4fc3c5dea6b2cce1d93cb3e00 100644
|
| --- a/ui/views/controls/textfield/textfield.cc
|
| +++ b/ui/views/controls/textfield/textfield.cc
|
| @@ -696,6 +696,10 @@ void Textfield::OnGestureEvent(ui::GestureEvent* event) {
|
| event->SetHandled();
|
| break;
|
| case ui::ET_GESTURE_TAP:
|
| + if (controller_ && controller_->HandleGestureEvent(this, *event)) {
|
| + event->SetHandled();
|
| + return;
|
| + }
|
| if (event->details().tap_count() == 1) {
|
| // If tap is on the selection and touch handles are not present, handles
|
| // should be shown without changing selection. Otherwise, cursor should
|
|
|