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

Issue 2414273003: Remove UserGesture on touch scrolls (Closed)

Created:
4 years, 2 months ago by Rick Byers
Modified:
4 years, 1 month ago
Reviewers:
Ted C, Navid Zolghadr
CC:
chromium-reviews, blink-reviews, nzolghadr+blinkwatch_chromium.org, dtapuska+blinkwatch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove UserGesture on touch scrolls The only type of touch which now takes a user gesture is touchend/pointerup when it doesn't correspond to a touch scroll. Conceptually scrolling consume's the user's intent - no sensitive action should be triggered for the same gesture that does a scroll. For details see: https://docs.google.com/document/d/1oF1T3O7_E4t1PYHV6gyCwHxOi3ystm0eSL5xZu7nvOg/edit Intent to remove: https://groups.google.com/a/chromium.org/forum/#!searchin/blink-dev/gesture%7Csort:relevance/blink-dev/TO_x7FRkdmw/uCrOwufTCAAJ BUG=611981 Committed: https://crrev.com/60b7754704a8fd81b0a010ce253b3754e72c50ec Cr-Commit-Position: refs/heads/master@{#430330}

Patch Set 1 #

Patch Set 2 : Rebase #

Patch Set 3 : Fix build #

Patch Set 4 : Tweaks / fix android tests #

Total comments: 1

Patch Set 5 : Improve comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+66 lines, -274 lines) Patch
M chrome/test/data/navigation_interception/navigation_from_image_onload.html View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/data/navigation_interception/navigation_from_user_gesture.html View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/data/navigation_interception/navigation_from_user_gesture_to_iframe_page.html View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/data/navigation_interception/navigation_from_xhr_callback.html View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/data/navigation_interception/navigation_from_xhr_callback_and_long_timeout.html View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/data/navigation_interception/navigation_from_xhr_callback_and_short_timeout.html View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
D third_party/WebKit/LayoutTests/fast/events/touch/resources/touch-user-gesture-frame.html View 1 2 3 1 chunk +0 lines, -94 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/events/touch/touch-user-gesture.html View 1 3 chunks +15 lines, -18 lines 0 comments Download
D third_party/WebKit/LayoutTests/fast/events/touch/touch-user-gesture-cross-origin.html View 1 2 3 1 chunk +0 lines, -22 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/events/touch/touch-user-gesture-expected.txt View 1 2 3 1 chunk +5 lines, -9 lines 0 comments Download
M third_party/WebKit/Source/core/frame/Deprecation.cpp View 1 1 chunk +0 lines, -18 lines 0 comments Download
M third_party/WebKit/Source/core/frame/UseCounter.h View 1 1 chunk +0 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/input/PointerEventManager.h View 1 2 2 chunks +6 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/input/PointerEventManager.cpp View 1 2 3 4 5 chunks +32 lines, -14 lines 0 comments Download
M third_party/WebKit/Source/core/input/TouchEventManager.h View 1 2 3 4 chunks +1 line, -13 lines 0 comments Download
M third_party/WebKit/Source/core/input/TouchEventManager.cpp View 1 2 3 9 chunks +1 line, -75 lines 0 comments Download

Messages

Total messages: 33 (24 generated)
Rick Byers
Navid, PTAL. This moves to the simpler UserGesture handling for touch events (and poitnertype=touch PointerEvents). ...
4 years, 1 month ago (2016-11-04 17:57:07 UTC) #19
Navid Zolghadr
https://codereview.chromium.org/2414273003/diff/60001/third_party/WebKit/Source/core/input/PointerEventManager.cpp File third_party/WebKit/Source/core/input/PointerEventManager.cpp (right): https://codereview.chromium.org/2414273003/diff/60001/third_party/WebKit/Source/core/input/PointerEventManager.cpp#newcode319 third_party/WebKit/Source/core/input/PointerEventManager.cpp:319: DocumentUserGestureToken::create(touchInfos[0].targetFrame->document()); I'm a little confused about the intended behavior ...
4 years, 1 month ago (2016-11-04 18:08:19 UTC) #20
Ted C
On 2016/11/04 17:57:07, Rick Byers wrote: > Navid, > PTAL. This moves to the simpler ...
4 years, 1 month ago (2016-11-04 23:06:31 UTC) #23
Rick Byers
On 2016/11/04 18:08:19, Navid Zolghadr wrote: > https://codereview.chromium.org/2414273003/diff/60001/third_party/WebKit/Source/core/input/PointerEventManager.cpp > File third_party/WebKit/Source/core/input/PointerEventManager.cpp (right): > > https://codereview.chromium.org/2414273003/diff/60001/third_party/WebKit/Source/core/input/PointerEventManager.cpp#newcode319 ...
4 years, 1 month ago (2016-11-07 15:16:06 UTC) #24
Navid Zolghadr
On 2016/11/07 15:16:06, Rick Byers wrote: > On 2016/11/04 18:08:19, Navid Zolghadr wrote: > > ...
4 years, 1 month ago (2016-11-07 15:28:55 UTC) #25
Rick Byers
On 2016/11/07 15:28:55, Navid Zolghadr wrote: > On 2016/11/07 15:16:06, Rick Byers wrote: > > ...
4 years, 1 month ago (2016-11-07 16:52:32 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2414273003/80001
4 years, 1 month ago (2016-11-07 16:53:35 UTC) #29
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 1 month ago (2016-11-07 18:55:40 UTC) #31
commit-bot: I haz the power
4 years, 1 month ago (2016-11-07 18:59:20 UTC) #33
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/60b7754704a8fd81b0a010ce253b3754e72c50ec
Cr-Commit-Position: refs/heads/master@{#430330}

Powered by Google App Engine
This is Rietveld 408576698