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

Issue 2759523002: Make sure all the touch events during an active fling are uncancelable (Closed)

Created:
3 years, 9 months ago by lanwei
Modified:
3 years, 8 months ago
CC:
cc-bugs_chromium.org, chromium-reviews, darin-cc_chromium.org, dtapuska+chromiumwatch_chromium.org, jam, mlamouri+watch-content_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Make sure all the touch events during an active fling are uncancelable After we enabled the fling intervention, all the touch events during an active fling should be uncancelable, but now they are still cancelable. The reason is the layer returned by FindLayerThatIsHitByPointInTouchHandlerRegion does not match with the current scrolling layer even we scroll on the same layer. So, we use FindLayerThatIsHitByPoint to return the layer the touch start hits on and compare with the current scrolling layer. BUG=700465 Review-Url: https://codereview.chromium.org/2759523002 Cr-Commit-Position: refs/heads/master@{#460415} Committed: https://chromium.googlesource.com/chromium/src/+/9327ce925b77f722c31116f5e08cff23df70908d

Patch Set 1 : fling layer #

Total comments: 3

Patch Set 2 : fling layer #

Total comments: 9

Patch Set 3 : Check with active layer tree #

Patch Set 4 : rebase master #

Unified diffs Side-by-side diffs Delta from patch set Stats (+90 lines, -20 lines) Patch
M cc/trees/layer_tree_host_impl.h View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M cc/trees/layer_tree_host_impl.cc View 1 2 3 2 chunks +12 lines, -6 lines 0 comments Download
M cc/trees/layer_tree_host_impl_unittest.cc View 1 2 3 4 chunks +76 lines, -14 lines 0 comments Download

Messages

Total messages: 77 (56 generated)
dtapuska
Adding tdresser@ I've looked at the code and I don't see any issues. From what ...
3 years, 9 months ago (2017-03-20 19:44:38 UTC) #21
mustaq
I think this behavior is now testable through a PointerAction script, right?
3 years, 9 months ago (2017-03-20 20:04:28 UTC) #23
tdresser
Yeah, general premise SGTM. This does need a test though. Ideally a unit test, potentially ...
3 years, 9 months ago (2017-03-20 20:15:45 UTC) #24
lanwei
pdr@ could you please take a look at the changes and unittests, thank you? https://codereview.chromium.org/2759523002/diff/60001/cc/trees/layer_tree_host_impl.cc ...
3 years, 9 months ago (2017-03-22 17:34:29 UTC) #32
lanwei
3 years, 9 months ago (2017-03-22 17:35:14 UTC) #34
tdresser
LGTM
3 years, 9 months ago (2017-03-22 17:38:30 UTC) #35
weiliangc
https://codereview.chromium.org/2759523002/diff/80001/cc/trees/layer_tree_host_impl.cc File cc/trees/layer_tree_host_impl.cc (right): https://codereview.chromium.org/2759523002/diff/80001/cc/trees/layer_tree_host_impl.cc#newcode606 cc/trees/layer_tree_host_impl.cc:606: ScrollTree& scroll_tree = active_tree_->property_trees()->scroll_tree; Could you DCHECK that child ...
3 years, 9 months ago (2017-03-22 18:11:31 UTC) #36
pdr.
https://codereview.chromium.org/2759523002/diff/80001/cc/trees/layer_tree_host_impl.cc File cc/trees/layer_tree_host_impl.cc (right): https://codereview.chromium.org/2759523002/diff/80001/cc/trees/layer_tree_host_impl.cc#newcode634 cc/trees/layer_tree_host_impl.cc:634: // is created inside it, which is the actual ...
3 years, 9 months ago (2017-03-22 20:30:11 UTC) #38
lanwei
https://codereview.chromium.org/2759523002/diff/80001/cc/trees/layer_tree_host_impl.cc File cc/trees/layer_tree_host_impl.cc (right): https://codereview.chromium.org/2759523002/diff/80001/cc/trees/layer_tree_host_impl.cc#newcode606 cc/trees/layer_tree_host_impl.cc:606: ScrollTree& scroll_tree = active_tree_->property_trees()->scroll_tree; On 2017/03/22 18:11:31, weiliangc wrote: ...
3 years, 9 months ago (2017-03-23 19:56:49 UTC) #44
pdr.
LGTM, I like the latest patch but I don't feel like I know enough about ...
3 years, 9 months ago (2017-03-24 04:31:04 UTC) #46
weiliangc
LGTM
3 years, 9 months ago (2017-03-24 18:34:34 UTC) #47
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/2759523002/100001
3 years, 8 months ago (2017-03-28 18:23:45 UTC) #51
commit-bot: I haz the power
Try jobs failed on following builders: android_cronet on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_cronet/builds/107801) cast_shell_linux on master.tryserver.chromium.linux (JOB_FAILED, ...
3 years, 8 months ago (2017-03-28 18:27:37 UTC) #53
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/2759523002/120001
3 years, 8 months ago (2017-03-28 18:52:27 UTC) #57
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_asan_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_asan_rel_ng/builds/337603)
3 years, 8 months ago (2017-03-28 19:07:40 UTC) #59
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/2759523002/120001
3 years, 8 months ago (2017-03-28 20:43:14 UTC) #61
commit-bot: I haz the power
CQ has no permission to schedule in bucket master.tryserver.chromium.linux
3 years, 8 months ago (2017-03-28 21:15:53 UTC) #63
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/2759523002/120001
3 years, 8 months ago (2017-03-28 21:17:03 UTC) #66
commit-bot: I haz the power
CQ has no permission to schedule in bucket master.tryserver.chromium.linux
3 years, 8 months ago (2017-03-28 21:17:17 UTC) #68
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/2759523002/120001
3 years, 8 months ago (2017-03-29 15:45:13 UTC) #74
commit-bot: I haz the power
3 years, 8 months ago (2017-03-29 16:28:18 UTC) #77
Message was sent while issue was closed.
Committed patchset #4 (id:120001) as
https://chromium.googlesource.com/chromium/src/+/9327ce925b77f722c31116f5e08c...

Powered by Google App Engine
This is Rietveld 408576698