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

Issue 2701553002: Touchmoves should not be suppressed if the touchstart is consumed (Closed)

Created:
3 years, 10 months ago by lanwei
Modified:
3 years, 10 months ago
Reviewers:
dtapuska, mustaq, Rick Byers
CC:
chromium-reviews, blink-reviews, dtapuska+blinkwatch_chromium.org, Navid Zolghadr
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Touchmoves should not be suppressed if the touchstart is consumed In a touch sequence starting with a touchstart, if the touchstart is consumed (prevent-defaulted), we will not suppress the following touchmoves even if they are in the slop regions. BUG=692702 Review-Url: https://codereview.chromium.org/2701553002 Cr-Commit-Position: refs/heads/master@{#451796} Committed: https://chromium.googlesource.com/chromium/src/+/be77e3f3b19b056f8ef9c5464ebadcc2d5bf25ac

Patch Set 1 #

Total comments: 5

Patch Set 2 : slop region #

Total comments: 4

Patch Set 3 : slop region #

Total comments: 2

Patch Set 4 : remove comments #

Messages

Total messages: 47 (31 generated)
lanwei
3 years, 10 months ago (2017-02-15 22:02:15 UTC) #6
dtapuska
On 2017/02/15 22:02:15, lanwei wrote: lgtm
3 years, 10 months ago (2017-02-15 22:06:43 UTC) #7
lanwei
3 years, 10 months ago (2017-02-15 22:09:48 UTC) #9
mustaq
LGTM % a clarification around touchstart to prevent future misunderstanding. https://codereview.chromium.org/2701553002/diff/1/third_party/WebKit/LayoutTests/fast/events/pointerevents/pointer-event-consumed-touchstart-in-slop-region.html File third_party/WebKit/LayoutTests/fast/events/pointerevents/pointer-event-consumed-touchstart-in-slop-region.html (right): https://codereview.chromium.org/2701553002/diff/1/third_party/WebKit/LayoutTests/fast/events/pointerevents/pointer-event-consumed-touchstart-in-slop-region.html#newcode56 ...
3 years, 10 months ago (2017-02-16 17:06:26 UTC) #12
lanwei
Rick, could you please take a look, thank you? https://codereview.chromium.org/2701553002/diff/1/third_party/WebKit/LayoutTests/fast/events/pointerevents/pointer-event-consumed-touchstart-in-slop-region.html File third_party/WebKit/LayoutTests/fast/events/pointerevents/pointer-event-consumed-touchstart-in-slop-region.html (right): https://codereview.chromium.org/2701553002/diff/1/third_party/WebKit/LayoutTests/fast/events/pointerevents/pointer-event-consumed-touchstart-in-slop-region.html#newcode56 third_party/WebKit/LayoutTests/fast/events/pointerevents/pointer-event-consumed-touchstart-in-slop-region.html:56: ...
3 years, 10 months ago (2017-02-16 19:48:59 UTC) #17
mustaq
https://codereview.chromium.org/2701553002/diff/1/third_party/WebKit/Source/core/input/TouchEventManager.cpp File third_party/WebKit/Source/core/input/TouchEventManager.cpp (right): https://codereview.chromium.org/2701553002/diff/1/third_party/WebKit/Source/core/input/TouchEventManager.cpp#newcode296 third_party/WebKit/Source/core/input/TouchEventManager.cpp:296: eventResult != WebInputEventResult::NotHandled) { On 2017/02/16 19:48:59, lanwei wrote: ...
3 years, 10 months ago (2017-02-16 21:09:53 UTC) #18
Rick Byers
https://codereview.chromium.org/2701553002/diff/20001/third_party/WebKit/Source/core/input/TouchEventManager.cpp File third_party/WebKit/Source/core/input/TouchEventManager.cpp (right): https://codereview.chromium.org/2701553002/diff/20001/third_party/WebKit/Source/core/input/TouchEventManager.cpp#newcode295 third_party/WebKit/Source/core/input/TouchEventManager.cpp:295: // Do not suppress any touchmoves if the touchstart ...
3 years, 10 months ago (2017-02-16 21:21:57 UTC) #20
mustaq
https://codereview.chromium.org/2701553002/diff/20001/third_party/WebKit/Source/core/input/TouchEventManager.cpp File third_party/WebKit/Source/core/input/TouchEventManager.cpp (right): https://codereview.chromium.org/2701553002/diff/20001/third_party/WebKit/Source/core/input/TouchEventManager.cpp#newcode295 third_party/WebKit/Source/core/input/TouchEventManager.cpp:295: // Do not suppress any touchmoves if the touchstart ...
3 years, 10 months ago (2017-02-16 21:41:26 UTC) #21
Rick Byers
https://codereview.chromium.org/2701553002/diff/20001/third_party/WebKit/Source/core/input/TouchEventManager.cpp File third_party/WebKit/Source/core/input/TouchEventManager.cpp (right): https://codereview.chromium.org/2701553002/diff/20001/third_party/WebKit/Source/core/input/TouchEventManager.cpp#newcode295 third_party/WebKit/Source/core/input/TouchEventManager.cpp:295: // Do not suppress any touchmoves if the touchstart ...
3 years, 10 months ago (2017-02-16 22:09:19 UTC) #22
mustaq
On 2017/02/16 22:09:19, Rick Byers wrote: > https://codereview.chromium.org/2701553002/diff/20001/third_party/WebKit/Source/core/input/TouchEventManager.cpp > File third_party/WebKit/Source/core/input/TouchEventManager.cpp (right): > > https://codereview.chromium.org/2701553002/diff/20001/third_party/WebKit/Source/core/input/TouchEventManager.cpp#newcode295 ...
3 years, 10 months ago (2017-02-17 14:57:50 UTC) #29
lanwei
Rick, could you please take another look, thank you? https://codereview.chromium.org/2701553002/diff/20001/third_party/WebKit/Source/core/input/TouchEventManager.cpp File third_party/WebKit/Source/core/input/TouchEventManager.cpp (right): https://codereview.chromium.org/2701553002/diff/20001/third_party/WebKit/Source/core/input/TouchEventManager.cpp#newcode295 third_party/WebKit/Source/core/input/TouchEventManager.cpp:295: ...
3 years, 10 months ago (2017-02-17 15:11:17 UTC) #30
mustaq
One more nit, still LGTM. https://codereview.chromium.org/2701553002/diff/40001/third_party/WebKit/Source/core/input/TouchEventManager.cpp File third_party/WebKit/Source/core/input/TouchEventManager.cpp (right): https://codereview.chromium.org/2701553002/diff/40001/third_party/WebKit/Source/core/input/TouchEventManager.cpp#newcode129 third_party/WebKit/Source/core/input/TouchEventManager.cpp:129: // Suppress the touch ...
3 years, 10 months ago (2017-02-17 15:24:01 UTC) #31
Rick Byers
LGTM
3 years, 10 months ago (2017-02-17 21:49:18 UTC) #32
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/2701553002/60001
3 years, 10 months ago (2017-02-21 17:26:34 UTC) #43
commit-bot: I haz the power
Committed patchset #4 (id:60001) as https://chromium.googlesource.com/chromium/src/+/be77e3f3b19b056f8ef9c5464ebadcc2d5bf25ac
3 years, 10 months ago (2017-02-21 18:09:00 UTC) #46
lanwei
3 years, 10 months ago (2017-02-21 18:10:04 UTC) #47
Message was sent while issue was closed.
https://codereview.chromium.org/2701553002/diff/40001/third_party/WebKit/Sour...
File third_party/WebKit/Source/core/input/TouchEventManager.cpp (right):

https://codereview.chromium.org/2701553002/diff/40001/third_party/WebKit/Sour...
third_party/WebKit/Source/core/input/TouchEventManager.cpp:129: // Suppress the
touch moves in the slop region when
On 2017/02/17 15:24:01, mustaq wrote:
> Lines 129-130 are meaningless now. Please delete.

Done.

Powered by Google App Engine
This is Rietveld 408576698