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 2b1fcedfefd3b64cacd446b5943a2cf0f4eb1630..dddf231af5075afa7999bb68f649a3414425bd54 100644 |
--- a/cc/trees/layer_tree_host_impl.h |
+++ b/cc/trees/layer_tree_host_impl.h |
@@ -127,6 +127,10 @@ class LayerTreeHostImplClient { |
// Called when output surface asks for a draw. |
virtual void OnDrawForOutputSurface() = 0; |
+ virtual void PostFrameTimingEventsOnImplThread( |
+ scoped_ptr<FrameTimingTracker::CompositeTimingSet> composite_events, |
+ scoped_ptr<FrameTimingTracker::MainFrameTimingSet> main_frame_events) = 0; |
+ |
protected: |
virtual ~LayerTreeHostImplClient() {} |
}; |
@@ -539,6 +543,11 @@ class CC_EXPORT LayerTreeHostImpl |
const BeginFrameArgs& start_of_main_frame_args, |
const BeginFrameArgs& expected_next_main_frame_args); |
+ // Post the given frame timing events to the requester. |
+ void PostFrameTimingEvents( |
+ scoped_ptr<FrameTimingTracker::CompositeTimingSet> composite_events, |
+ scoped_ptr<FrameTimingTracker::MainFrameTimingSet> main_frame_events); |
+ |
protected: |
LayerTreeHostImpl( |
const LayerTreeSettings& settings, |