Index: ui/compositor/compositor.h |
diff --git a/ui/compositor/compositor.h b/ui/compositor/compositor.h |
index 5a6d93290350c5f67fc0035804c3478803d49cc0..aef19167a4d8ac9cb0f0596133523096507c2f20 100644 |
--- a/ui/compositor/compositor.h |
+++ b/ui/compositor/compositor.h |
@@ -33,6 +33,7 @@ class RunLoop; |
} |
namespace cc { |
+class AnimationTimeline; |
class ContextProvider; |
class Layer; |
class LayerTreeDebugState; |
@@ -175,6 +176,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. |
@@ -299,6 +302,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_; |
@@ -349,6 +353,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_; |