| Index: content/browser/renderer_host/gesture_event_filter.cc
|
| diff --git a/content/browser/renderer_host/gesture_event_filter.cc b/content/browser/renderer_host/gesture_event_filter.cc
|
| index 7b06e811dc9d492d1c4a52575353a69be2e6257d..c924553f50fe4daeea3f97ed1bdca26254b86124 100644
|
| --- a/content/browser/renderer_host/gesture_event_filter.cc
|
| +++ b/content/browser/renderer_host/gesture_event_filter.cc
|
| @@ -128,6 +128,8 @@ bool GestureEventFilter::ShouldForwardForTapDeferral(
|
| if (!ShouldDiscardFlingCancelEvent(gesture_event)) {
|
| coalesced_gesture_events_.push_back(gesture_event);
|
| fling_in_progress_ = false;
|
| + tap_suppression_controller_->GestureFlingCancel(
|
| + gesture_event.timeStampSeconds);
|
| return ShouldHandleEventNow();
|
| }
|
| return false;
|
| @@ -204,6 +206,8 @@ void GestureEventFilter::Reset() {
|
| void GestureEventFilter::ProcessGestureAck(bool processed, int type) {
|
| DCHECK_EQ(coalesced_gesture_events_.front().type, type);
|
| coalesced_gesture_events_.pop_front();
|
| + if (type == WebInputEvent::GestureFlingCancel)
|
| + tap_suppression_controller_->GestureFlingCancelAck(processed);
|
| if (!coalesced_gesture_events_.empty()) {
|
| WebGestureEvent next_gesture_event = coalesced_gesture_events_.front();
|
| render_widget_host_->ForwardGestureEventImmediately(next_gesture_event);
|
|
|