| 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 749048d8e9ff6b9931b61f5ca5a3a1718102e1b6..2f46068b22f99ac086c60e01a45325f3e83ceda2 100644
|
| --- a/cc/trees/layer_tree_host_impl.h
|
| +++ b/cc/trees/layer_tree_host_impl.h
|
| @@ -35,11 +35,11 @@ class LayerTreeImpl;
|
| class PageScaleAnimation;
|
| class PaintTimeCounter;
|
| class MemoryHistory;
|
| +class RenderingStatsInstrumentation;
|
| class RenderPassDrawQuad;
|
| class ResourceProvider;
|
| class TopControlsManager;
|
| struct RendererCapabilities;
|
| -struct RenderingStats;
|
|
|
| // LayerTreeHost->Proxy callback interface.
|
| class LayerTreeHostImplClient {
|
| @@ -81,7 +81,8 @@ class CC_EXPORT LayerTreeHostImpl : public InputHandlerClient,
|
| static scoped_ptr<LayerTreeHostImpl> Create(
|
| const LayerTreeSettings& settings,
|
| LayerTreeHostImplClient* client,
|
| - Proxy* proxy);
|
| + Proxy* proxy,
|
| + RenderingStatsInstrumentation* rendering_stats_instrumentation);
|
| virtual ~LayerTreeHostImpl();
|
|
|
| // InputHandlerClient implementation
|
| @@ -238,8 +239,6 @@ class CC_EXPORT LayerTreeHostImpl : public InputHandlerClient,
|
| return !animation_registrar_->active_animation_controllers().empty();
|
| }
|
|
|
| - void CollectRenderingStats(RenderingStats* stats) const;
|
| -
|
| void SendManagedMemoryStats(
|
| size_t memory_visible_bytes,
|
| size_t memory_visible_and_nearby_bytes,
|
| @@ -329,9 +328,11 @@ class CC_EXPORT LayerTreeHostImpl : public InputHandlerClient,
|
| bool page_scale_animation_active() const { return !!page_scale_animation_; }
|
|
|
| protected:
|
| - LayerTreeHostImpl(const LayerTreeSettings& settings,
|
| - LayerTreeHostImplClient* client,
|
| - Proxy* proxy);
|
| + LayerTreeHostImpl(
|
| + const LayerTreeSettings& settings,
|
| + LayerTreeHostImplClient* client,
|
| + Proxy* proxy,
|
| + RenderingStatsInstrumentation* rendering_stats_instrumentation);
|
| void ActivatePendingTree();
|
|
|
| // Virtual for testing.
|
| @@ -448,6 +449,8 @@ class CC_EXPORT LayerTreeHostImpl : public InputHandlerClient,
|
|
|
| scoped_ptr<AnimationRegistrar> animation_registrar_;
|
|
|
| + RenderingStatsInstrumentation* rendering_stats_instrumentation_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl);
|
| };
|
|
|
|
|