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

Issue 1720023002: Wheel scrolling with smooth scrolling enabled would cause an extra animation (Closed)

Created:
4 years, 10 months ago by dtapuska
Modified:
4 years, 10 months ago
Reviewers:
ymalik, tdresser
CC:
chromium-reviews, tdresser+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Wheel scrolling with smooth scrolling enabled would cause an extra animation Call ScrollBegin/End on GestureScrollBegin; the real delta co-ordinates will get updated in the GestureScrollUpdate that is passed immediately afterwards. This avoids a kind of bubble effect that is seen when scrolling one tick at a time. BUG=588691 Committed: https://crrev.com/f2aceeade512172a12e829cd95d41f5a4b04574a Cr-Commit-Position: refs/heads/master@{#376988}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Change ScrollAnimated to ScrollBegin/End #

Patch Set 3 : Fix failing test with adjusted scrollbegin/scroll end approach #

Unified diffs Side-by-side diffs Delta from patch set Stats (+14 lines, -5 lines) Patch
M ui/events/blink/input_handler_proxy.cc View 1 1 chunk +12 lines, -4 lines 0 comments Download
M ui/events/blink/input_handler_proxy_unittest.cc View 1 2 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 26 (11 generated)
dtapuska
4 years, 10 months ago (2016-02-22 19:41:26 UTC) #3
tdresser
https://codereview.chromium.org/1720023002/diff/1/ui/events/blink/input_handler_proxy.cc File ui/events/blink/input_handler_proxy.cc (right): https://codereview.chromium.org/1720023002/diff/1/ui/events/blink/input_handler_proxy.cc#newcode601 ui/events/blink/input_handler_proxy.cc:601: gfx::Point(gesture_event.x, gesture_event.y), gfx::Vector2dF()); Does this need to be a ...
4 years, 10 months ago (2016-02-22 20:14:49 UTC) #4
dtapuska
https://codereview.chromium.org/1720023002/diff/1/ui/events/blink/input_handler_proxy.cc File ui/events/blink/input_handler_proxy.cc (right): https://codereview.chromium.org/1720023002/diff/1/ui/events/blink/input_handler_proxy.cc#newcode601 ui/events/blink/input_handler_proxy.cc:601: gfx::Point(gesture_event.x, gesture_event.y), gfx::Vector2dF()); On 2016/02/22 20:14:49, tdresser wrote: > ...
4 years, 10 months ago (2016-02-22 20:16:00 UTC) #5
tdresser
Hmmm, that's a pain. Yash, any thoughts on what the correct thing to do is ...
4 years, 10 months ago (2016-02-22 20:20:14 UTC) #7
ymalik
https://codereview.chromium.org/1720023002/diff/1/ui/events/blink/input_handler_proxy.cc File ui/events/blink/input_handler_proxy.cc (right): https://codereview.chromium.org/1720023002/diff/1/ui/events/blink/input_handler_proxy.cc#newcode601 ui/events/blink/input_handler_proxy.cc:601: gfx::Point(gesture_event.x, gesture_event.y), gfx::Vector2dF()); On 2016/02/22 20:15:59, dtapuska wrote: > ...
4 years, 10 months ago (2016-02-22 20:35:32 UTC) #8
ymalik
4 years, 10 months ago (2016-02-22 20:35:35 UTC) #9
dtapuska
https://codereview.chromium.org/1720023002/diff/1/ui/events/blink/input_handler_proxy.cc File ui/events/blink/input_handler_proxy.cc (right): https://codereview.chromium.org/1720023002/diff/1/ui/events/blink/input_handler_proxy.cc#newcode601 ui/events/blink/input_handler_proxy.cc:601: gfx::Point(gesture_event.x, gesture_event.y), gfx::Vector2dF()); On 2016/02/22 20:35:32, ymalik1 wrote: > ...
4 years, 10 months ago (2016-02-22 20:39:03 UTC) #10
dtapuska
On 2016/02/22 20:39:03, dtapuska wrote: > https://codereview.chromium.org/1720023002/diff/1/ui/events/blink/input_handler_proxy.cc > File ui/events/blink/input_handler_proxy.cc (right): > > https://codereview.chromium.org/1720023002/diff/1/ui/events/blink/input_handler_proxy.cc#newcode601 > ...
4 years, 10 months ago (2016-02-22 21:47:12 UTC) #13
ymalik
lgtm Thanks!
4 years, 10 months ago (2016-02-22 21:53:50 UTC) #14
tdresser
LGTM.
4 years, 10 months ago (2016-02-23 13:15:13 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1720023002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1720023002/20001
4 years, 10 months ago (2016-02-23 13:32:40 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/185296)
4 years, 10 months ago (2016-02-23 14:03:32 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1720023002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1720023002/40001
4 years, 10 months ago (2016-02-23 14:17:16 UTC) #22
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 10 months ago (2016-02-23 15:29:50 UTC) #24
commit-bot: I haz the power
4 years, 10 months ago (2016-02-23 15:31:04 UTC) #26
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/f2aceeade512172a12e829cd95d41f5a4b04574a
Cr-Commit-Position: refs/heads/master@{#376988}

Powered by Google App Engine
This is Rietveld 408576698