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

Issue 12223110: aura: Populate and use the newly added acceleration ratio fields in wheel-events. (Closed)

Created:
7 years, 10 months ago by sadrul
Modified:
7 years, 10 months ago
Reviewers:
rjkroege
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam
Visibility:
Public.

Description

aura: Populate and use the newly added acceleration ratio fields in wheel-events. Wheel-scroll event deltas can have acceleration (e.g. when doing repeated scrolls). But for overscroll, it makes more sense to use the unaccelerated deltas. BUG=175604 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=182473

Patch Set 1 : . #

Patch Set 2 : . #

Patch Set 3 : . #

Total comments: 1

Patch Set 4 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+36 lines, -2 lines) Patch
M content/browser/renderer_host/overscroll_controller.cc View 1 2 3 1 chunk +4 lines, -2 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_impl.cc View 1 2 3 2 chunks +24 lines, -0 lines 0 comments Download
M content/browser/renderer_host/web_input_event_aurax11.cc View 1 2 3 1 chunk +8 lines, -0 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
sadrul
The webkit patch this depends on: http://trac.webkit.org/changeset/142752
7 years, 10 months ago (2013-02-13 16:46:14 UTC) #1
rjkroege
I think that it would be safer/better to ship the unaccelerated deltas instead of the ...
7 years, 10 months ago (2013-02-13 18:44:31 UTC) #2
sadrul
On 2013/02/13 18:44:31, rjkroege wrote: > I think that it would be safer/better to ship ...
7 years, 10 months ago (2013-02-13 19:08:56 UTC) #3
rjkroege
lgtm https://codereview.chromium.org/12223110/diff/12001/content/browser/renderer_host/overscroll_controller.cc File content/browser/renderer_host/overscroll_controller.cc (right): https://codereview.chromium.org/12223110/diff/12001/content/browser/renderer_host/overscroll_controller.cc#newcode175 content/browser/renderer_host/overscroll_controller.cc:175: ProcessOverscroll(wheel.deltaX / wheel.accelerationRatioX, nit: inverse ratios (i.e. multiplies ...
7 years, 10 months ago (2013-02-13 22:08:03 UTC) #4
rjkroege
7 years, 10 months ago (2013-02-14 15:59:55 UTC) #5
still lgtm

Powered by Google App Engine
This is Rietveld 408576698