DescriptionAdding phase info to wheel events migrated to wheel phase handler class.
This cl contains a new class which is responsible for adding timer based
phase info to WebMouseWheelEvents before they are dispatched. The
following two cls do this for aura and mac.
https://codereview.chromium.org/2882443002/
https://codereview.chromium.org/2902303002/
This cl moves those code to a single class to support android as well.
To test it for mac and aura previously added tests are still valid.
No unittest is available for render_widget_host_view_android.cc
BUG=526463
TESTS=RenderWidgetHostViewAuraWheelScrollLatchingEnabledTest.
TimerBasedWheelEventPhaseInfo/TouchpadFlingStartStopsWheelPhaseTimer/
GSBWithTouchSourceStopsWheelScrollSequence,
RenderWidgetHostViewMacWithWheelScrollLatchingEnabledTest.
WheelWithPhaseEndedIsNotForwardedImmediately/
WheelWithMomentumPhaseBeganStopsTheWheelEndDispatchTimer/
WheelWithPhaseBeganDispatchesThePendingWheelEnd
Review-Url: https://codereview.chromium.org/2914393002
Cr-Commit-Position: refs/heads/master@{#477669}
Committed: https://chromium.googlesource.com/chromium/src/+/09de0d0195a0c0f032611a87794ade22dbc63ef7
Patch Set 1 #Patch Set 2 : has pending wheel end used in mac unittests. #
Total comments: 12
Patch Set 3 : review comments addressed #Patch Set 4 : fixed mouse_wheel_phase_handler_path in rwhv_mac #Messages
Total messages: 34 (26 generated)
|