Index: ui/compositor/compositor.h |
diff --git a/ui/compositor/compositor.h b/ui/compositor/compositor.h |
index 1602d30caae8b7b4ad72f727422e309428722004..909c2951273543f5b0acd00bcf98813edf408283 100644 |
--- a/ui/compositor/compositor.h |
+++ b/ui/compositor/compositor.h |
@@ -33,6 +33,7 @@ class SingleThreadTaskRunner; |
} |
namespace cc { |
+class AnimationTimeline; |
class ContextProvider; |
class Layer; |
class LayerTreeDebugState; |
@@ -177,6 +178,8 @@ class COMPOSITOR_EXPORT Compositor |
Layer* root_layer() { return root_layer_; } |
void SetRootLayer(Layer* root_layer); |
+ cc::AnimationTimeline* GetAnimationTimeline() const; |
+ |
// Called when we need the compositor to preserve the alpha channel in the |
// output for situations when we want to render transparently atop something |
// else, e.g. Aero glass. |
@@ -315,6 +318,7 @@ class COMPOSITOR_EXPORT Compositor |
const cc::LayerTreeDebugState& GetLayerTreeDebugState() const; |
void SetLayerTreeDebugState(const cc::LayerTreeDebugState& debug_state); |
const cc::RendererSettings& GetRendererSettings() const; |
+ const cc::LayerTreeHost& GetLayerTreeHost() const; |
LayerAnimatorCollection* layer_animator_collection() { |
return &layer_animator_collection_; |
@@ -368,6 +372,7 @@ class COMPOSITOR_EXPORT Compositor |
CompositorLock* compositor_lock_; |
LayerAnimatorCollection layer_animator_collection_; |
+ scoped_refptr<cc::AnimationTimeline> animation_timeline_; |
// Used to send to any new CompositorBeginFrameObserver immediately. |
cc::BeginFrameArgs missed_begin_frame_args_; |