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 eb84c5416e1afad5e15801db78cba1214e27f44f..f9cf55c64fbf440b9b2d578a6537294475b3a2bb 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" |
@@ -185,6 +186,7 @@ class CC_EXPORT LayerTreeHostImpl |
std::vector<gfx::Rect> occluding_screen_space_rects; |
std::vector<gfx::Rect> non_occluding_screen_space_rects; |
+ std::vector<FrameTimingTracker::FrameAndRectIds> composite_events; |
RenderPassList render_passes; |
RenderPassIdHashMap render_passes_by_id; |
const LayerImplList* render_surface_layer_list; |
@@ -514,6 +516,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, |
@@ -732,6 +738,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); |
}; |