Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(190)

Issue 724313003: [Android] Always precede Tap gesture events with TapDown (Closed)

Created:
6 years, 1 month ago by jdduke (slow)
Modified:
6 years, 1 month ago
CC:
chromium-reviews, darin-cc_chromium.org, jdduke+watch_chromium.org, jam, Zeeshan Qureshi
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

[Android] Always precede Tap gesture events with TapDown The gesture detector generates TapDown events before Tap events, but there there remain cases where synthetic Tap events are not preceded by such TapDown events. Insert the expected TapDown for these synthetic cases, also validating this event ordering in the GestureEventStreamValidator. A consistent ordering here provides the render process, and any downstream gesture listener, more context to reason about and react to the gesture event stream. BUG=418402 Committed: https://crrev.com/ed1dafa7db5fcd150a757d1237c83a81666ec47f Cr-Commit-Position: refs/heads/master@{#304611}

Patch Set 1 #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+26 lines, -8 lines) Patch
M content/browser/android/content_view_core_impl.cc View 1 chunk +10 lines, -4 lines 4 comments Download
M content/common/input/gesture_event_stream_validator.cc View 1 chunk +6 lines, -2 lines 0 comments Download
M content/common/input/gesture_event_stream_validator_unittest.cc View 2 chunks +10 lines, -2 lines 0 comments Download

Messages

Total messages: 15 (3 generated)
jdduke (slow)
rbyers@: PTAL, per offline discussion. Tim, can you think of any cases where Aura might ...
6 years, 1 month ago (2014-11-14 23:23:00 UTC) #2
jdduke (slow)
Oops, actually adding tdresser@. Tim, can you think of any cases where Aura might insert ...
6 years, 1 month ago (2014-11-14 23:23:40 UTC) #3
tdresser
On 2014/11/14 23:23:40, jdduke wrote: > Oops, actually adding tdresser@. > > Tim, can you ...
6 years, 1 month ago (2014-11-17 18:49:57 UTC) #4
Rick Byers
LGTM, thanks! https://codereview.chromium.org/724313003/diff/1/content/browser/android/content_view_core_impl.cc File content/browser/android/content_view_core_impl.cc (right): https://codereview.chromium.org/724313003/diff/1/content/browser/android/content_view_core_impl.cc#newcode1034 content/browser/android/content_view_core_impl.cc:1034: WebInputEvent::GestureTapDown, time_ms, x, y); What about GestureShowPress? ...
6 years, 1 month ago (2014-11-17 22:55:24 UTC) #5
jdduke (slow)
https://codereview.chromium.org/724313003/diff/1/content/browser/android/content_view_core_impl.cc File content/browser/android/content_view_core_impl.cc (right): https://codereview.chromium.org/724313003/diff/1/content/browser/android/content_view_core_impl.cc#newcode1034 content/browser/android/content_view_core_impl.cc:1034: WebInputEvent::GestureTapDown, time_ms, x, y); On 2014/11/17 22:55:24, Rick Byers ...
6 years, 1 month ago (2014-11-17 23:45:21 UTC) #6
Zeeshan Qureshi
https://codereview.chromium.org/724313003/diff/1/content/browser/android/content_view_core_impl.cc File content/browser/android/content_view_core_impl.cc (right): https://codereview.chromium.org/724313003/diff/1/content/browser/android/content_view_core_impl.cc#newcode1034 content/browser/android/content_view_core_impl.cc:1034: WebInputEvent::GestureTapDown, time_ms, x, y); > Inserting ShowPress before Tap ...
6 years, 1 month ago (2014-11-17 23:49:06 UTC) #8
jdduke (slow)
https://codereview.chromium.org/724313003/diff/1/content/browser/android/content_view_core_impl.cc File content/browser/android/content_view_core_impl.cc (right): https://codereview.chromium.org/724313003/diff/1/content/browser/android/content_view_core_impl.cc#newcode1034 content/browser/android/content_view_core_impl.cc:1034: WebInputEvent::GestureTapDown, time_ms, x, y); On 2014/11/17 23:49:06, Zeeshan Qureshi ...
6 years, 1 month ago (2014-11-17 23:52:20 UTC) #9
Rick Byers
On 2014/11/17 23:45:21, jdduke wrote: > https://codereview.chromium.org/724313003/diff/1/content/browser/android/content_view_core_impl.cc > File content/browser/android/content_view_core_impl.cc (right): > > https://codereview.chromium.org/724313003/diff/1/content/browser/android/content_view_core_impl.cc#newcode1034 > ...
6 years, 1 month ago (2014-11-18 00:06:02 UTC) #10
jdduke (slow)
On 2014/11/18 00:06:02, Rick Byers wrote: > On 2014/11/17 23:45:21, jdduke wrote: > > > ...
6 years, 1 month ago (2014-11-18 14:54:55 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/724313003/1
6 years, 1 month ago (2014-11-18 14:55:52 UTC) #13
commit-bot: I haz the power
Committed patchset #1 (id:1)
6 years, 1 month ago (2014-11-18 15:57:13 UTC) #14
commit-bot: I haz the power
6 years, 1 month ago (2014-11-18 15:58:51 UTC) #15
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/ed1dafa7db5fcd150a757d1237c83a81666ec47f
Cr-Commit-Position: refs/heads/master@{#304611}

Powered by Google App Engine
This is Rietveld 408576698