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

Issue 2458853002: exo: Replace fling cancel with generic zero distance scroll

Created:
4 years, 1 month ago by denniskempin
Modified:
4 years ago
Reviewers:
reveman
CC:
chromium-reviews
Target Ref:
refs/pending/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.

Patch Set 1 #

Total comments: 6

Patch Set 2 : fixed nits #

Patch Set 3 : fixed unittest #

Total comments: 4

Patch Set 4 : fixed nits #

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

Messages

Total messages: 19 (8 generated)
denniskempin
4 years, 1 month ago (2016-10-27 22:31:02 UTC) #2
reveman
https://codereview.chromium.org/2458853002/diff/1/components/exo/pointer.cc File components/exo/pointer.cc (left): https://codereview.chromium.org/2458853002/diff/1/components/exo/pointer.cc#oldcode251 components/exo/pointer.cc:251: delegate_->OnPointerScrollCancel(event->time_stamp()); can we remove OnPointerScrollCancel from the delegate interface? ...
4 years, 1 month ago (2016-10-31 02:25:13 UTC) #3
denniskempin
all done https://codereview.chromium.org/2458853002/diff/1/components/exo/pointer.cc File components/exo/pointer.cc (left): https://codereview.chromium.org/2458853002/diff/1/components/exo/pointer.cc#oldcode251 components/exo/pointer.cc:251: delegate_->OnPointerScrollCancel(event->time_stamp()); On 2016/10/31 02:25:12, reveman wrote: > ...
4 years, 1 month ago (2016-10-31 17:33:49 UTC) #4
reveman
lgtm with optional nits https://codereview.chromium.org/2458853002/diff/40001/components/exo/pointer.cc File components/exo/pointer.cc (right): https://codereview.chromium.org/2458853002/diff/40001/components/exo/pointer.cc#newcode269 components/exo/pointer.cc:269: if ((event->flags() & ui::EF_IS_SYNTHESIZED) == ...
4 years, 1 month ago (2016-10-31 18:14:19 UTC) #5
denniskempin
All done! https://codereview.chromium.org/2458853002/diff/40001/components/exo/pointer.cc File components/exo/pointer.cc (right): https://codereview.chromium.org/2458853002/diff/40001/components/exo/pointer.cc#newcode269 components/exo/pointer.cc:269: if ((event->flags() & ui::EF_IS_SYNTHESIZED) == 0) { ...
4 years, 1 month ago (2016-10-31 22:08:35 UTC) #6
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/2458853002/60001
4 years, 1 month ago (2016-10-31 22:09:18 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/306214)
4 years, 1 month ago (2016-11-01 00:34:44 UTC) #11
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/2458853002/60001
4 years, 1 month ago (2016-11-14 19:36:28 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/314377)
4 years, 1 month ago (2016-11-14 20:53:26 UTC) #15
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/2458853002/60001
4 years ago (2016-12-06 22:38:32 UTC) #17
commit-bot: I haz the power
4 years ago (2016-12-07 00:40:02 UTC) #19
Try jobs failed on following builders:
  linux_chromium_chromeos_rel_ng on master.tryserver.chromium.linux (JOB_FAILED,
http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_...)

Powered by Google App Engine
This is Rietveld 408576698