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

Issue 10825323: gesture: Make sure a combination of sync/async touch-events work correctly. (Closed)

Created:
8 years, 4 months ago by sadrul
Modified:
8 years, 4 months ago
Reviewers:
rjkroege, sky
CC:
chromium-reviews, sadrul, ben+watch_chromium.org, varunjain
Visibility:
Public.

Description

gesture recognizer: Make sure a combination of sync/async touch-events work correctly. It is possible that a window starts doing synchronous touch-event handling after doing asynchronous handling for some time. As a result, these sync events may be processed before the acks for the queued asynchronous events have been processed. This results in unexpected behaviour. So in such cases, queue up the synchronous events so that they get processed only after the asynchronous events are processed. BUG=139339, 134486 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=151361

Patch Set 1 #

Patch Set 2 : . #

Total comments: 2

Patch Set 3 : tot-merge #

Unified diffs Side-by-side diffs Delta from patch set Stats (+147 lines, -22 lines) Patch
M ui/aura/gestures/gesture_recognizer_unittest.cc View 3 chunks +53 lines, -1 line 0 comments Download
M ui/aura/root_window.cc View 1 2 1 chunk +3 lines, -1 line 0 comments Download
M ui/base/gestures/gesture_recognizer_impl.h View 1 chunk +9 lines, -0 lines 0 comments Download
M ui/base/gestures/gesture_recognizer_impl.cc View 1 2 5 chunks +82 lines, -20 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
sadrul
rjkroege@, sky@ Please review. varunjain@ FYI
8 years, 4 months ago (2012-08-13 18:21:54 UTC) #1
rjkroege
lgtm am concerned (in general) about our handling of isProcessed logic. This seems unclear to ...
8 years, 4 months ago (2012-08-13 20:43:53 UTC) #2
sadrul
http://codereview.chromium.org/10825323/diff/6001/ui/base/gestures/gesture_recognizer_impl.cc File ui/base/gestures/gesture_recognizer_impl.cc (right): http://codereview.chromium.org/10825323/diff/6001/ui/base/gestures/gesture_recognizer_impl.cc#newcode270 ui/base/gestures/gesture_recognizer_impl.cc:270: // A touch release was was processed (e.g. preventDefault()ed ...
8 years, 4 months ago (2012-08-13 20:52:56 UTC) #3
sky
8 years, 4 months ago (2012-08-13 21:20:49 UTC) #4
LGTM

Powered by Google App Engine
This is Rietveld 408576698