[go: nahoru, domu]

CC Animations: Establish AnimationHost, AnimationTimeline and AnimationPlayer.

The compositor should not need to worry about servicing animations.
Instead, it should be able to request property updates as needed from external
mutators.

- We setup CC representations for blink::AnimationPlayer and blink::AnimationTimeline.
- We want to move all the animation-related code from LayerTreeHost to AnimationHost.
- We move LayerAnimatedController ownership to cc::AnimationPlayer.
- We move AnimationRegistrar ownership to cc::AnimationHost.
- We add/remove animations to cc::AnimationPlayer from now.
- LayerAnimatedController to be merged into cc::AnimaitonPlayer.
- AnimationRegistrar to be merged into cc::AnimationHost/cc::AnimationTimeline.

A chromium part. Blink part: https://codereview.chromium.org/946323002

Next episode:
https://codereview.chromium.org/1010663002/

BUG=394777
R=dstockwell@chromium.org
R=shane@chromium.org
R=ajuma@chromium.org
R=vollick@chromium.org
CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel

Review URL: https://codereview.chromium.org/947033002

Cr-Commit-Position: refs/heads/master@{#337266}
39 files changed