DescriptionCommunicate MT changes to impl-only scroll offset animations
This CL adds cc::ScrollOffsetAnimations which is the MT version of
cc::ScrollOffsetAnimationsImpl.
The flow is as follows: The scroll offset is changed on the MT (e.g. scroll
anchoring adjustment) while there is an ongoing impl-only scroll offset
animation. ScrollAnimator::updateImplOnlyAnimationWithAdjustment is called,
which pushes the update to MT's cc::AnimationHost via
CompositorAnimationTimeline::CompositorAnimationHost::AnimationHost.
During commit, cc::ScrollOffsetAnimations::PushPropertiesTo calls the
relevant handler in response to the update. Once the updates are applied,
the list of updates is cleared.
This is described in http://bit.ly/1Y6RA6y.
Note that in this CL, this path is only exercised from ScrollAnchor.cpp
BUG=594456
CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel
Committed: https://crrev.com/f3a9e63578aff4d5c814a5bb374665a4a0812834
Cr-Commit-Position: refs/heads/master@{#394947}
Patch Set 1 #
Total comments: 15
Patch Set 2 : apply initial feedback comments #
Total comments: 13
Patch Set 3 : review comments #
Total comments: 23
Patch Set 4 : address review comments #
Total comments: 5
Patch Set 5 : loyso's feedback #Patch Set 6 : skobes' feedback #
Total comments: 4
Patch Set 7 : #
Total comments: 8
Patch Set 8 : jbroman's feedback #
Total comments: 1
Patch Set 9 : nit + rebase master #Patch Set 10 : fix bot #Patch Set 11 : rebase master #Patch Set 12 : attempt to fix rebase issue #Messages
Total messages: 62 (25 generated)
|