| 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..0b9369abc5b5fbc754a74a529dcb5f6aaf9bb081 100644
|
| --- a/ui/views/controls/textfield/textfield.cc
|
| +++ b/ui/views/controls/textfield/textfield.cc
|
| @@ -696,6 +696,11 @@ void Textfield::OnGestureEvent(ui::GestureEvent* event) {
|
| event->SetHandled();
|
| break;
|
| case ui::ET_GESTURE_TAP:
|
| + DCHECK(controller_);
|
| + if (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
|
|
|