[Refactor] Set is_direct_manipulation in InputHandlerProxy
We kept |touch_scrolling_| simply to be able to set the |is_direct_manipulation_| bit on the scroll state in ScrollBy. It's cleaner to simply have InputHandlerProxy set this bit correctly in all cases. The majority of this CL is simply adding an extra parameter to the state creation method in unit tests so that we can set the bit correctly there too. This was a mechanical change. Bug: 1016229 Change-Id: If0c46d283fb030f205ffd39cdb0c04dd9e1bd7a5 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1981335 Commit-Queue: David Bokan <bokan@chromium.org> Reviewed-by:Philip Rogers <pdr@chromium.org> Cr-Commit-Position: refs/heads/master@{#728517}
Showing
This source diff could not be displayed because it is too large. You can view the blob instead.
Please register or sign in to comment