diff options
author | dominikg@chromium.org <dominikg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-11-27 00:59:05 +0000 |
---|---|---|
committer | dominikg@chromium.org <dominikg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-11-27 00:59:05 +0000 |
commit | 4cb7699e349fabe62f9b4af7894361c4334161f9 (patch) | |
tree | 0fe73b53015a32fdce4a5600db8088e573a399a3 /ash/display/virtual_keyboard_window_controller.h | |
parent | fa1b0fcb70378e41179e3033823be4cc383fb51d (diff) | |
download | chromium_src-4cb7699e349fabe62f9b4af7894361c4334161f9.zip chromium_src-4cb7699e349fabe62f9b4af7894361c4334161f9.tar.gz chromium_src-4cb7699e349fabe62f9b4af7894361c4334161f9.tar.bz2 |
Round deltas for mouse-based synthetic scroll.
Even though WebMouseWheelEvents take floating point deltas, internally the
scroll position is stored as an integer. Rounding the deltas ensures that
the gesture state, especially |current_y_|, is consistent with the internal
state.
Re-enable ScrollActionTest, as this should fix flakiness in testScrollAction
unit test.
BUG=323249
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=237353
Review URL: https://codereview.chromium.org/88713002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@237457 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash/display/virtual_keyboard_window_controller.h')
0 files changed, 0 insertions, 0 deletions