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

Issue 133273013: Consuming any touch move before SCROLL_START prevents the scroll from occuring in Aura (Closed)

Created:
6 years, 11 months ago by tdresser
Modified:
6 years, 11 months ago
Reviewers:
sadrul
CC:
chromium-reviews, ben+aura_chromium.org, kalyank, Rick Byers
Visibility:
Public.

Description

Consuming any touch move before SCROLL_START prevents the scroll from occuring in Aura This patch does NOT prevent tap or long press when a touch move is consumed (see crbug.com/327444). An additional state is added to GestureState - GS_SYNTHETIC_CLICK_ABORTED. In addition, the meaning of GS_PENDING_SYNTHETIC_CLICK_NO_SCROLL has changed. GS_PENDING_SYNTHETIC_CLICK_NO_SCROLL indicates that one finger is down and no scrolling can happen, but a tap or long press can still happen. GS_SYNTHETIC_CLICK_ABORTED indicates that a finger is down, but no gestures can be created until the number of active touch points changes. BUG=333947 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=245635

Patch Set 1 #

Total comments: 8

Patch Set 2 : Address sadrul's comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+193 lines, -9 lines) Patch
M ui/aura/gestures/gesture_recognizer_unittest.cc View 1 1 chunk +149 lines, -0 lines 0 comments Download
M ui/events/gestures/gesture_sequence.h View 1 1 chunk +5 lines, -0 lines 0 comments Download
M ui/events/gestures/gesture_sequence.cc View 1 9 chunks +34 lines, -9 lines 0 comments Download
M ui/events/gestures/gestures.dot View 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
tdresser
6 years, 11 months ago (2014-01-15 19:28:05 UTC) #1
sadrul
What is the desired behaviour in this case: 1 First touch point is pressed. 2 ...
6 years, 11 months ago (2014-01-15 20:22:38 UTC) #2
tdresser
On 2014/01/15 20:22:38, sadrul wrote: > What is the desired behaviour in this case: > ...
6 years, 11 months ago (2014-01-15 20:32:03 UTC) #3
jdduke (slow)
On 2014/01/15 20:32:03, tdresser wrote: > On 2014/01/15 20:22:38, sadrul wrote: > > What is ...
6 years, 11 months ago (2014-01-15 20:33:47 UTC) #4
tdresser
On 2014/01/15 20:33:47, jdduke wrote: > On 2014/01/15 20:32:03, tdresser wrote: > > On 2014/01/15 ...
6 years, 11 months ago (2014-01-15 20:37:17 UTC) #5
sadrul
LGTM with some comments below https://codereview.chromium.org/133273013/diff/1/ui/aura/gestures/gesture_recognizer_unittest.cc File ui/aura/gestures/gesture_recognizer_unittest.cc (right): https://codereview.chromium.org/133273013/diff/1/ui/aura/gestures/gesture_recognizer_unittest.cc#newcode3769 ui/aura/gestures/gesture_recognizer_unittest.cc:3769: EXPECT_FALSE(delegate->scroll_update()); EXPECT_FALSE(scroll_begin()) too? https://codereview.chromium.org/133273013/diff/1/ui/aura/gestures/gesture_recognizer_unittest.cc#newcode3770 ...
6 years, 11 months ago (2014-01-17 17:11:35 UTC) #6
tdresser
https://codereview.chromium.org/133273013/diff/1/ui/aura/gestures/gesture_recognizer_unittest.cc File ui/aura/gestures/gesture_recognizer_unittest.cc (right): https://codereview.chromium.org/133273013/diff/1/ui/aura/gestures/gesture_recognizer_unittest.cc#newcode3769 ui/aura/gestures/gesture_recognizer_unittest.cc:3769: EXPECT_FALSE(delegate->scroll_update()); On 2014/01/17 17:11:35, sadrul wrote: > EXPECT_FALSE(scroll_begin()) too? ...
6 years, 11 months ago (2014-01-17 19:48:42 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tdresser@chromium.org/133273013/210001
6 years, 11 months ago (2014-01-17 19:50:53 UTC) #8
commit-bot: I haz the power
6 years, 11 months ago (2014-01-17 22:11:13 UTC) #9
Message was sent while issue was closed.
Change committed as 245635

Powered by Google App Engine
This is Rietveld 408576698