Take vertical and horizontal delta values in WheelTick function
After we merged the new GpuBenchmarking::SmoothScrollByXY, which has two delta values, for vertical and horizontal scroll deltas, we should this new function for all the scroll functions in resources/gesture-util.js. So here we change wheelTick function to take deltaX and deltaY instead of one delta and direction values, so now scroll deltaX and deltaY can be different values. Bug: 1047176 Change-Id: If692c7b807e9d2d5a00fefe09ce4b00a9be0c4f0 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2161651 Commit-Queue: Lan Wei <lanwei@chromium.org> Reviewed-by:David Bokan <bokan@chromium.org> Cr-Commit-Position: refs/heads/master@{#762084}
Showing
Please register or sign in to comment