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

Issue 228973003: Don't treat first touch move differently from future touch moves (Closed)

Created:
6 years, 8 months ago by tdresser
Modified:
6 years, 5 months ago
Reviewers:
jdduke (slow), sadrul
CC:
aelias_OOO_until_Jul13, chromium-reviews, darin-cc_chromium.org, jam, Rick Byers
Visibility:
Public.

Description

Don't treat first move touch differently from future touch moves. See http://lists.w3.org/Archives/Public/public-touchevents/2014Apr/0005.html for details. BUG=354460 TEST=TouchEventQueueTest.TouchAbsorptionWithConsumedFirstMove, TouchEventQueueTest.TouchCancelOnScroll Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=282642

Patch Set 1 #

Patch Set 2 : Fix tests and touchCancel scrolling mode. #

Patch Set 3 : Rebase. #

Patch Set 4 : Rebase. #

Total comments: 2

Patch Set 5 : Rebase #

Patch Set 6 : Fix tests. #

Total comments: 2

Patch Set 7 : Address jdduke's comments (and fix some other details) #

Total comments: 6

Patch Set 8 : Address jdduke's comments. #

Total comments: 2

Patch Set 9 : Add extra return. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+174 lines, -45 lines) Patch
M content/browser/renderer_host/input/touch_event_queue.h View 1 2 3 4 1 chunk +5 lines, -0 lines 0 comments Download
M content/browser/renderer_host/input/touch_event_queue.cc View 1 2 3 4 5 6 7 8 2 chunks +23 lines, -16 lines 0 comments Download
M content/browser/renderer_host/input/touch_event_queue_unittest.cc View 1 2 3 4 5 6 7 9 chunks +81 lines, -6 lines 0 comments Download
M ui/aura/gestures/gesture_recognizer_unittest.cc View 1 2 3 4 5 6 7 8 chunks +55 lines, -16 lines 0 comments Download
M ui/events/gesture_detection/touch_disposition_gesture_filter.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M ui/events/gesture_detection/touch_disposition_gesture_filter_unittest.cc View 1 2 3 4 5 6 2 chunks +9 lines, -6 lines 0 comments Download

Messages

Total messages: 33 (0 generated)
tdresser
jdduke, PTAL.
6 years, 8 months ago (2014-04-14 17:58:02 UTC) #1
jdduke (slow)
On 2014/04/14 17:58:02, tdresser wrote: > jdduke, PTAL. We should probably wait on this until ...
6 years, 8 months ago (2014-04-14 18:11:45 UTC) #2
tdresser
On 2014/04/14 18:11:45, jdduke wrote: > On 2014/04/14 17:58:02, tdresser wrote: > > jdduke, PTAL. ...
6 years, 8 months ago (2014-04-22 19:26:43 UTC) #3
jdduke (slow)
On 2014/04/22 19:26:43, tdresser wrote: > On 2014/04/14 18:11:45, jdduke wrote: > > On 2014/04/14 ...
6 years, 8 months ago (2014-04-22 19:30:54 UTC) #4
tdresser
On 2014/04/22 19:30:54, jdduke wrote: > On 2014/04/22 19:26:43, tdresser wrote: > > On 2014/04/14 ...
6 years, 8 months ago (2014-04-22 19:49:26 UTC) #5
jdduke (slow)
On 2014/04/22 19:49:26, tdresser wrote: > On 2014/04/22 19:30:54, jdduke wrote: > > On 2014/04/22 ...
6 years, 8 months ago (2014-04-22 20:03:19 UTC) #6
tdresser
On 2014/04/22 20:03:19, jdduke wrote: > On 2014/04/22 19:49:26, tdresser wrote: > > On 2014/04/22 ...
6 years, 8 months ago (2014-04-22 20:09:12 UTC) #7
Rick Byers
On 2014/04/22 20:09:12, tdresser wrote: > On 2014/04/22 20:03:19, jdduke wrote: > > On 2014/04/22 ...
6 years, 8 months ago (2014-04-22 20:30:39 UTC) #8
tdresser
On 2014/04/22 20:30:39, Rick Byers wrote: > On 2014/04/22 20:09:12, tdresser wrote: > > On ...
6 years, 8 months ago (2014-04-22 20:36:25 UTC) #9
jdduke (slow)
I guess my primary concern here is shipping both this and the async touchmove change ...
6 years, 8 months ago (2014-04-22 20:45:58 UTC) #10
Rick Byers
> > Isn't this also an issue in the more common case where the content ...
6 years, 8 months ago (2014-04-24 17:49:05 UTC) #11
jdduke (slow)
https://codereview.chromium.org/228973003/diff/60001/ui/events/gesture_detection/touch_disposition_gesture_filter.cc File ui/events/gesture_detection/touch_disposition_gesture_filter.cc (right): https://codereview.chromium.org/228973003/diff/60001/ui/events/gesture_detection/touch_disposition_gesture_filter.cc#newcode80 ui/events/gesture_detection/touch_disposition_gesture_filter.cc:80: return Info(RT_START); Hmm, but even with this change, the ...
6 years, 7 months ago (2014-05-01 15:53:21 UTC) #12
jdduke (slow)
https://codereview.chromium.org/228973003/diff/60001/ui/events/gesture_detection/touch_disposition_gesture_filter.cc File ui/events/gesture_detection/touch_disposition_gesture_filter.cc (right): https://codereview.chromium.org/228973003/diff/60001/ui/events/gesture_detection/touch_disposition_gesture_filter.cc#newcode80 ui/events/gesture_detection/touch_disposition_gesture_filter.cc:80: return Info(RT_START); On 2014/05/01 15:53:22, jdduke wrote: > Hmm, ...
6 years, 7 months ago (2014-05-01 15:53:57 UTC) #13
jdduke (slow)
If we still want to do this, I'd support landing either ASAP (to shake out ...
6 years, 7 months ago (2014-05-20 20:36:21 UTC) #14
tdresser
On 2014/05/20 20:36:21, jdduke wrote: > If we still want to do this, I'd support ...
6 years, 7 months ago (2014-05-22 12:16:34 UTC) #15
tdresser
Jared, do you think it makes sense to land this now, or should we hold ...
6 years, 6 months ago (2014-06-13 13:41:57 UTC) #16
jdduke (slow)
On 2014/06/13 13:41:57, tdresser wrote: > Jared, do you think it makes sense to land ...
6 years, 6 months ago (2014-06-13 14:09:54 UTC) #17
tdresser
On 2014/06/13 14:09:54, jdduke wrote: > On 2014/06/13 13:41:57, tdresser wrote: > > Jared, do ...
6 years, 6 months ago (2014-06-13 14:16:01 UTC) #18
tdresser
On 2014/06/13 14:16:01, tdresser wrote: > On 2014/06/13 14:09:54, jdduke wrote: > > On 2014/06/13 ...
6 years, 5 months ago (2014-07-02 17:27:57 UTC) #19
jdduke (slow)
https://codereview.chromium.org/228973003/diff/120001/content/browser/renderer_host/input/touch_event_queue.cc File content/browser/renderer_host/input/touch_event_queue.cc (right): https://codereview.chromium.org/228973003/diff/120001/content/browser/renderer_host/input/touch_event_queue.cc#newcode577 content/browser/renderer_host/input/touch_event_queue.cc:577: gesture_event.event.type != blink::WebInputEvent::GestureScrollBegin) { Hmm, I would think we ...
6 years, 5 months ago (2014-07-02 17:46:37 UTC) #20
tdresser
6 years, 5 months ago (2014-07-04 18:27:47 UTC) #21
tdresser
https://codereview.chromium.org/228973003/diff/120001/content/browser/renderer_host/input/touch_event_queue.cc File content/browser/renderer_host/input/touch_event_queue.cc (right): https://codereview.chromium.org/228973003/diff/120001/content/browser/renderer_host/input/touch_event_queue.cc#newcode577 content/browser/renderer_host/input/touch_event_queue.cc:577: gesture_event.event.type != blink::WebInputEvent::GestureScrollBegin) { On 2014/07/02 17:46:37, jdduke wrote: ...
6 years, 5 months ago (2014-07-04 18:28:17 UTC) #22
jdduke (slow)
https://codereview.chromium.org/228973003/diff/140001/content/browser/renderer_host/input/touch_event_queue.cc File content/browser/renderer_host/input/touch_event_queue.cc (right): https://codereview.chromium.org/228973003/diff/140001/content/browser/renderer_host/input/touch_event_queue.cc#newcode563 content/browser/renderer_host/input/touch_event_queue.cc:563: if (gesture_event.event.type != blink::WebInputEvent::GestureScrollUpdate) Hmm, maybe change this to ...
6 years, 5 months ago (2014-07-07 23:09:14 UTC) #23
tdresser
https://codereview.chromium.org/228973003/diff/140001/content/browser/renderer_host/input/touch_event_queue.cc File content/browser/renderer_host/input/touch_event_queue.cc (right): https://codereview.chromium.org/228973003/diff/140001/content/browser/renderer_host/input/touch_event_queue.cc#newcode563 content/browser/renderer_host/input/touch_event_queue.cc:563: if (gesture_event.event.type != blink::WebInputEvent::GestureScrollUpdate) On 2014/07/07 23:09:14, jdduke wrote: ...
6 years, 5 months ago (2014-07-08 15:56:41 UTC) #24
jdduke (slow)
lgtm, maybe add a few comments in the description about why this change is desirable. ...
6 years, 5 months ago (2014-07-08 16:30:18 UTC) #25
tdresser
https://codereview.chromium.org/228973003/diff/160001/content/browser/renderer_host/input/touch_event_queue.cc File content/browser/renderer_host/input/touch_event_queue.cc (right): https://codereview.chromium.org/228973003/diff/160001/content/browser/renderer_host/input/touch_event_queue.cc#newcode560 content/browser/renderer_host/input/touch_event_queue.cc:560: } On 2014/07/08 16:30:18, jdduke wrote: > Could we ...
6 years, 5 months ago (2014-07-08 18:10:36 UTC) #26
tdresser
+sadrul for gesture_recognizer_unittest.cc
6 years, 5 months ago (2014-07-08 18:11:25 UTC) #27
sadrul
The test change LGTM. But should the aura-only GR be also updated to follow this ...
6 years, 5 months ago (2014-07-10 15:26:11 UTC) #28
tdresser
The CQ bit was checked by tdresser@chromium.org
6 years, 5 months ago (2014-07-11 13:55:39 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tdresser@chromium.org/228973003/180001
6 years, 5 months ago (2014-07-11 13:56:06 UTC) #30
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win_chromium_rel on tryserver.chromium ...
6 years, 5 months ago (2014-07-11 15:47:45 UTC) #31
commit-bot: I haz the power
Change committed as 282642
6 years, 5 months ago (2014-07-11 17:38:13 UTC) #32
tdresser
6 years, 5 months ago (2014-07-14 20:35:33 UTC) #33
Message was sent while issue was closed.
A revert of this CL has been created in
https://codereview.chromium.org/394523004/ by tdresser@chromium.org.

The reason for reverting is: This never set |seen_scroll_update_this_sequence_|
to true, resulting in:
https://code.google.com/p/chromium/issues/detail?id=393695

The fact that no tests caught this issue is pretty scary; we'll need some
beefier tests as well as the trivial fix..

Powered by Google App Engine
This is Rietveld 408576698