DescriptionConnect LTHI::ScrollAnimated to cc::Viewport
This CL removed to hack in FindScrollLayerForDeviceViewportPoint to ensure
that we scroll the outer viewport and connects the LTHI::ScrollAnimated function
to the viewport class.
The viewport class distributes the scroll delta between the inner and outer
viewports and starts animation the layer which consumes more of the scroll delta.
Our animation system does not support running two scroll offset animations and this
is something that we may need to add in future.
BUG=575019, 595421
CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel
Committed: https://crrev.com/99740e85f5ebeb08b80a13b34144f7f7f2d1687e
Cr-Commit-Position: refs/heads/master@{#385657}
Patch Set 1 #
Total comments: 17
Patch Set 2 : address feedback #Patch Set 3 : remove unused ScrollAmount #Patch Set 4 : review comments #
Messages
Total messages: 19 (9 generated)
|