Chromium Code Reviews| 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 b2b821f1c995c6ae48240e60ad9728408196cc35..48123a0656885a4b205a878bd38d97372fa29f3e 100644 |
| --- a/cc/trees/layer_tree_host_impl.h |
| +++ b/cc/trees/layer_tree_host_impl.h |
| @@ -18,6 +18,7 @@ |
| #include "cc/animation/scrollbar_animation_controller.h" |
| #include "cc/base/cc_export.h" |
| #include "cc/base/synced_property.h" |
| +#include "cc/debug/frame_timing_tracker.h" |
| #include "cc/debug/micro_benchmark_controller_impl.h" |
| #include "cc/input/input_handler.h" |
| #include "cc/input/layer_scroll_offset_delegate.h" |
| @@ -189,6 +190,7 @@ class CC_EXPORT LayerTreeHostImpl |
| const LayerImplList* render_surface_layer_list; |
| LayerImplList will_draw_layers; |
| bool has_no_damage; |
| + std::vector<FrameTimingTracker::FrameAndRectIds> composite_events; |
|
danakj
2015/02/02 23:10:09
nit: stick this up with the other vectors?
vmpstr
2015/02/02 23:32:29
Done.
|
| // RenderPassSink implementation. |
| void AppendRenderPass(scoped_ptr<RenderPass> render_pass) override; |
| @@ -513,6 +515,10 @@ class CC_EXPORT LayerTreeHostImpl |
| bool prepare_tiles_needed() const { return tile_priorities_dirty_; } |
| + FrameTimingTracker* frame_timing_tracker() { |
| + return frame_timing_tracker_.get(); |
| + } |
| + |
| protected: |
| LayerTreeHostImpl( |
| const LayerTreeSettings& settings, |
| @@ -731,6 +737,8 @@ class CC_EXPORT LayerTreeHostImpl |
| bool requires_high_res_to_draw_; |
| bool is_likely_to_require_a_draw_; |
| + scoped_ptr<FrameTimingTracker> frame_timing_tracker_; |
| + |
| DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); |
| }; |