DescriptionRemove "reportWheelOverscroll" from Blink settings.
This flag complicates Blink event handling needlessly. It's only needed on Mac
where we use it to disable the elastic rubber banding effect on overscroll.
This patch removes the setting and always reports overscroll for wheel from
Blink. In the renderer content layer, we check if the ElasticOverscroll system
setting is enabled on Mac and block the overscroll if not (there's no touch
overscroll to worry about on Mac). Otherwise just allow the overscroll deltas to
be sent to the browser since they have no effect on other platforms.
BUG=505516
Committed: https://crrev.com/731ec38829ae017204d43337da90ea7ca2f15e51
Cr-Commit-Position: refs/heads/master@{#385642}
Patch Set 1 #Patch Set 2 : #Patch Set 3 : Fixed unit tests and moved check to RenderWidget #
Messages
Total messages: 24 (12 generated)
|