#include "cc/animation/animation_timeline.h"
#include <algorithm>
#include <utility>
#include <vector>
#include "base/time/time.h"
#include "cc/animation/animation.h"
#include "cc/animation/animation_host.h"
#include "cc/animation/keyframe_effect.h"
#include "cc/trees/property_tree.h"
namespace cc {
scoped_refptr<AnimationTimeline> AnimationTimeline::Create(int id,
bool impl_only) { … }
AnimationTimeline::AnimationTimeline(int id, bool is_impl_only)
: … { … }
AnimationTimeline::~AnimationTimeline() { … }
scoped_refptr<AnimationTimeline> AnimationTimeline::CreateImplInstance() const { … }
void AnimationTimeline::SetAnimationHost(AnimationHost* animation_host) { … }
void AnimationTimeline::AttachAnimation(scoped_refptr<Animation> animation) { … }
void AnimationTimeline::DetachAnimation(scoped_refptr<Animation> animation) { … }
Animation* AnimationTimeline::GetAnimationById(int animation_id) const { … }
void AnimationTimeline::ClearAnimations() { … }
bool AnimationTimeline::TickTimeLinkedAnimations(
const std::vector<scoped_refptr<Animation>>& ticking_animations,
base::TimeTicks monotonic_time,
bool tick_finished) { … }
bool AnimationTimeline::TickScrollLinkedAnimations(
const std::vector<scoped_refptr<Animation>>& ticking_animations,
const ScrollTree& scroll_tree,
bool is_active_tree) { … }
void AnimationTimeline::SetNeedsPushProperties() { … }
void AnimationTimeline::PushPropertiesTo(AnimationTimeline* timeline_impl) { … }
void AnimationTimeline::PushAttachedAnimationsToImplThread(
AnimationTimeline* timeline_impl) const { … }
void AnimationTimeline::RemoveDetachedAnimationsFromImplThread(
AnimationTimeline* timeline_impl) const { … }
void AnimationTimeline::EraseAnimation(scoped_refptr<Animation> animation) { … }
void AnimationTimeline::PushPropertiesToImplThread(
AnimationTimeline* timeline_impl) { … }
bool AnimationTimeline::IsScrollTimeline() const { … }
bool AnimationTimeline::IsLinkedToScroller(ElementId scroller) const { … }
bool AnimationTimeline::IsOwnerThread() const { … }
bool AnimationTimeline::InProtectedSequence() const { … }
void AnimationTimeline::WaitForProtectedSequenceCompletion() const { … }
}