Always send the ET_GESTURE_END event as the last one for every touch
commit3914c25088c75525c0aa3cfcdf544faa1ec09bce
authorlanwei <lanwei@chromium.org>
Tue, 9 Sep 2014 21:13:21 +0000 (9 14:13 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 9 Sep 2014 21:23:34 +0000 (9 21:23 +0000)
treee5f1a01cfd3b70a2c70c4d5a8c109faebf6d2bc7
parent4dad341e3f332a8cda581a2115bcceb0d2c52db6
Always send the ET_GESTURE_END event as the last one for every touch
event.

Occasionally we synthesize scroll or tap cancel events when a touch
sequence has been canceled or terminated, we want to make sure that
ET_GESTURE_END always happens after them.

BUG=379772

Review URL: https://codereview.chromium.org/549333002

Cr-Commit-Position: refs/heads/master@{#294010}
ui/events/gesture_detection/touch_disposition_gesture_filter.cc
ui/events/gesture_detection/touch_disposition_gesture_filter_unittest.cc