[synthesized scroll] Fix precision of synthesized wheel scrolls.
Synthesized scrolls can generate fractional scroll-deltas. However, the event-dispatch path converts the event into a ui::MouseWheelEvent object and loses precision in the process, since it does not support fractional scroll-deltas. Therefore, retain the dropped deltas and include that with the subsequent wheel-event. BUG=1085890 Change-Id: I797b04b48384b9f7c4bba44f48c2d1860dd7fc39 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2213296 Commit-Queue: Sadrul Chowdhury <sadrul@chromium.org> Auto-Submit: Sadrul Chowdhury <sadrul@chromium.org> Reviewed-by:David Bokan <bokan@chromium.org> Cr-Commit-Position: refs/heads/master@{#771638}
Showing
Please register or sign in to comment