| Index: ui/views/controls/textfield/textfield.cc
|
| diff --git a/ui/views/controls/textfield/textfield.cc b/ui/views/controls/textfield/textfield.cc
|
| index ac2599a3f7ece06e49657789b464bad7d6d6711c..ebd9b19f0862655dac6473abbe28170194fd5801 100644
|
| --- a/ui/views/controls/textfield/textfield.cc
|
| +++ b/ui/views/controls/textfield/textfield.cc
|
| @@ -689,6 +689,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
|
|
|