| Index: cc/layer_tree_host_impl.h
|
| diff --git a/cc/layer_tree_host_impl.h b/cc/layer_tree_host_impl.h
|
| index 6e90e93fc2913272e7a89bfde1b324240eb4e5d9..ed09f7c02ae833c9cf836341e548feafd2549034 100644
|
| --- a/cc/layer_tree_host_impl.h
|
| +++ b/cc/layer_tree_host_impl.h
|
| @@ -16,6 +16,7 @@
|
| #include "cc/render_pass.h"
|
| #include "cc/render_pass_sink.h"
|
| #include "cc/renderer.h"
|
| +#include "cc/rendering_stats_instrumentation.h"
|
| #include "cc/tile_manager.h"
|
| #include "cc/top_controls_manager_client.h"
|
| #include "skia/ext/refptr.h"
|
| @@ -39,7 +40,6 @@ class RenderPassDrawQuad;
|
| class ResourceProvider;
|
| class TopControlsManager;
|
| struct RendererCapabilities;
|
| -struct RenderingStats;
|
|
|
| // LayerTreeHost->Proxy callback interface.
|
| class LayerTreeHostImplClient {
|
| @@ -80,7 +80,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
|
| @@ -231,8 +232,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,
|
| @@ -322,9 +321,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.
|
| @@ -438,6 +439,8 @@ class CC_EXPORT LayerTreeHostImpl : public InputHandlerClient,
|
|
|
| scoped_ptr<AnimationRegistrar> animation_registrar_;
|
|
|
| + RenderingStatsInstrumentation* rendering_stats_instrumentation_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl);
|
| };
|
|
|
|
|