| Index: cc/trees/layer_tree_host_impl.h
|
| diff --git a/cc/trees/layer_tree_host_impl.h b/cc/trees/layer_tree_host_impl.h
|
| index 157fe00eb67013347d1840a7c9499e392b885fcf..b7c0a7bbe96fab05146e52f1ad5713290b8acd7b 100644
|
| --- a/cc/trees/layer_tree_host_impl.h
|
| +++ b/cc/trees/layer_tree_host_impl.h
|
| @@ -45,7 +45,6 @@ class DebugRectHistory;
|
| class EvictionTilePriorityQueue;
|
| class FrameRateCounter;
|
| class LayerImpl;
|
| -class LayerTreeHostImplTimeSourceAdapter;
|
| class LayerTreeImpl;
|
| class MemoryHistory;
|
| class PageScaleAnimation;
|
| @@ -188,7 +187,6 @@ class CC_EXPORT LayerTreeHostImpl
|
| virtual void UpdateAnimationState(bool start_ready_animations);
|
| void ActivateAnimations();
|
| void MainThreadHasStoppedFlinging();
|
| - void UpdateBackgroundAnimateTicking(bool should_background_tick);
|
| void DidAnimateScrollOffset();
|
| void SetViewportDamage(const gfx::Rect& damage_rect);
|
|
|
| @@ -329,6 +327,8 @@ class CC_EXPORT LayerTreeHostImpl
|
| virtual void SetVisible(bool visible);
|
| bool visible() const { return visible_; }
|
|
|
| + bool AnimationsAreVisible() { return visible() && CanDraw(); }
|
| +
|
| void SetNeedsCommit() { client_->SetNeedsCommitOnImplThread(); }
|
| void SetNeedsRedraw();
|
|
|
| @@ -506,8 +506,6 @@ class CC_EXPORT LayerTreeHostImpl
|
|
|
| // Virtual for testing.
|
| virtual void AnimateLayers(base::TimeTicks monotonic_time);
|
| - virtual base::TimeDelta LowFrequencyAnimationInterval() const;
|
| -
|
| const AnimationRegistrar::AnimationControllerMap&
|
| active_animation_controllers() const {
|
| return animation_registrar_->active_animation_controllers();
|
| @@ -646,9 +644,6 @@ class CC_EXPORT LayerTreeHostImpl
|
|
|
| scoped_ptr<PageScaleAnimation> page_scale_animation_;
|
|
|
| - // This is used for ticking animations slowly when hidden.
|
| - scoped_ptr<LayerTreeHostImplTimeSourceAdapter> time_source_client_adapter_;
|
| -
|
| scoped_ptr<FrameRateCounter> fps_counter_;
|
| scoped_ptr<PaintTimeCounter> paint_time_counter_;
|
| scoped_ptr<MemoryHistory> memory_history_;
|
|
|