DescriptionCC Animation: Move animations_ from ElementAnimations to AnimationPlayer.
- Also move all accompanying methods.
- We don't have a notion of pending animations anymore.
As a result, we will get many (*:1 relationship) collections of animations for each element
(animation's target).
This a part of the plan to make ElementAnimations a hidden
and passive entity (not presented in API and unit tests).
Next steps (separate CLs):
- Shouldn't manually iterate through the list if base::ObserverList
(http://crbug.com/634916)
- Rework all UpdateClientAnimationState callers to use bitset.
- Remove AnimationPlayer::animations() getter
- Change activation to be on a per-player basis
(so AnimationHost works with a list of active
AnimationPlayers rather than ElementAnimations)
- CompositorPlayer::addAnimation should consume unique_ptr.
BUG=592873
CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_precise_blink_rel
Committed: https://crrev.com/db00688793f63e1f3ccd71f883ec3129bd169abe
Cr-Commit-Position: refs/heads/master@{#418439}
Patch Set 1 #Patch Set 2 : Clean it up. #Patch Set 3 : Clean it up harder. Rework UpdateClientAnimationState. #
Total comments: 4
Dependent Patchsets: Messages
Total messages: 28 (21 generated)
|