commit | 8ead7f613cc51cc65345b36cb8207bd029aec719 | [log] [tgz] |
---|---|---|
author | Ella Ge <eirage@chromium.org> | Mon Mar 11 17:33:19 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Mon Mar 11 17:33:19 2019 |
tree | cd8dd4d6197f546b1bd9e1729333640d92c4da43 | |
parent | e25622a5b4a13440539db7f0f124134554b71c6d [diff] |
Make LastKnownMousePosition return FloatPoint This CL changes EventHandler and MouseEventManager LastKnownMousePosition to return FloatPoint. EventHandler.LastKnownMousePositionInRootFrame has two caller, 1. PaintLayerScrollableArea will floor the point before use it. 2. AutoscrollController will convert FloatPoint to LayoutPoint and use LayoutPoint instead. This is not going to change any behavior as auto scroll use main thread programatic scroll, which does not suport fractions yet. Bug: 940506 Change-Id: I8ec776793a6dd05d86a3e01cf5f3f0a93815d553 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1510056 Reviewed-by: Navid Zolghadr <nzolghadr@chromium.org> Reviewed-by: David Bokan <bokan@chromium.org> Commit-Queue: Ella Ge <eirage@chromium.org> Cr-Commit-Position: refs/heads/master@{#639551}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .