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

Issue 2840113002: exo: Replace fling cancel with generic zero distance scroll (Closed)

Created:
3 years, 8 months ago by denniskempin (chromium)
Modified:
3 years, 7 months ago
Reviewers:
reveman
CC:
chromium-reviews
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

exo: Replace fling cancel with generic zero distance scroll This change will suppress all fling cancel events unless the last event was a fling event. Also it generates a proper sequence of a scroll event with zero distance. BUG=590754 TEST=Fling and touch the touchpad after fling. Should stop scrolling motion in android apps. Review-Url: https://codereview.chromium.org/2840113002 Cr-Commit-Position: refs/heads/master@{#469403} Committed: https://chromium.googlesource.com/chromium/src/+/2df8c3016f045d03ac10f347792d65809268c980

Patch Set 1 #

Total comments: 4

Patch Set 2 : added comments #

Patch Set 3 : added another comment #

Total comments: 2

Patch Set 4 : fixed comments #

Patch Set 5 : fixed nit #

Patch Set 6 : fixed nit in test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+21 lines, -17 lines) Patch
M components/exo/pointer.h View 1 2 3 4 2 chunks +4 lines, -0 lines 0 comments Download
M components/exo/pointer.cc View 1 2 3 2 chunks +16 lines, -2 lines 0 comments Download
M components/exo/pointer_delegate.h View 1 chunk +0 lines, -3 lines 0 comments Download
M components/exo/pointer_unittest.cc View 1 2 3 4 5 6 chunks +1 line, -6 lines 0 comments Download
M components/exo/wayland/server.cc View 1 2 3 1 chunk +0 lines, -6 lines 0 comments Download

Messages

Total messages: 19 (10 generated)
denniskempin (chromium)
Re-upload of the really old change: https://codereview.chromium.org/2458853002/ We didn't really need it back then, but ...
3 years, 8 months ago (2017-04-25 23:00:20 UTC) #2
reveman
https://codereview.chromium.org/2840113002/diff/1/components/exo/pointer.cc File components/exo/pointer.cc (right): https://codereview.chromium.org/2840113002/diff/1/components/exo/pointer.cc#newcode215 components/exo/pointer.cc:215: if (last_event_type_ == ui::ET_SCROLL_FLING_START) { Can you add a ...
3 years, 7 months ago (2017-04-27 13:28:17 UTC) #3
denniskempin (chromium)
PTAL again David! Thanks! https://codereview.chromium.org/2840113002/diff/1/components/exo/pointer.cc File components/exo/pointer.cc (right): https://codereview.chromium.org/2840113002/diff/1/components/exo/pointer.cc#newcode215 components/exo/pointer.cc:215: if (last_event_type_ == ui::ET_SCROLL_FLING_START) { ...
3 years, 7 months ago (2017-05-03 20:55:28 UTC) #4
reveman
lgtm with small nit https://codereview.chromium.org/2840113002/diff/40001/components/exo/pointer.cc File components/exo/pointer.cc (right): https://codereview.chromium.org/2840113002/diff/40001/components/exo/pointer.cc#newcode218 components/exo/pointer.cc:218: // touchpad. Since it's not ...
3 years, 7 months ago (2017-05-03 21:02:49 UTC) #5
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/2840113002/60001
3 years, 7 months ago (2017-05-03 21:26:48 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_ozone_rel_ng/builds/375997)
3 years, 7 months ago (2017-05-03 21:55:21 UTC) #10
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/2840113002/80001
3 years, 7 months ago (2017-05-04 17:33:03 UTC) #13
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/2840113002/100001
3 years, 7 months ago (2017-05-04 18:02:53 UTC) #16
commit-bot: I haz the power
3 years, 7 months ago (2017-05-04 18:53:07 UTC) #19
Message was sent while issue was closed.
Committed patchset #6 (id:100001) as
https://chromium.googlesource.com/chromium/src/+/2df8c3016f045d03ac10f347792d...

Powered by Google App Engine
This is Rietveld 408576698