DescriptionReplace MouseWheel events with GestureScrollBegin in WebContentsObserver::DidGetUserInteraction
crbug.com/568183 implements GestureScrollBegin for mouse wheel events.
Once this has landed, the mouse event coalescing currently performed by
WebContentsObserver::DidGetUserInteraction will be redundant.
This CL removes the mouse event coalescing, and changes
DidGetUserInteraction to fire on GestureScrollBegin events. The event
type used to signal scrolls in the method is changed from MouseWheel to
GestureScrollBegin, as scroll events will now be fired on mobile scrolls
as well as wheel scrolls. Finally, in clients of DidGetUserInteraction,
MouseWheel is replaced with GestureScrollBegin, and references to
'wheel' are replaced with 'scroll'.
BUG=590612
Committed: https://crrev.com/5cc29a417bcb7b86ca8ebc4304eefa4d74a7e919
Cr-Commit-Position: refs/heads/master@{#383231}
Patch Set 1 #
Total comments: 9
Patch Set 2 : Addressing reviewer comments #Depends on Patchset: Messages
Total messages: 21 (8 generated)
|