Index: cc/trees/layer_tree_host_client.h |
diff --git a/cc/trees/layer_tree_host_client.h b/cc/trees/layer_tree_host_client.h |
index 3aa041f227a26b173db4b68853fe9002c4d5f456..56a128f4badcf135e8be42ab4342f426f94a603e 100644 |
--- a/cc/trees/layer_tree_host_client.h |
+++ b/cc/trees/layer_tree_host_client.h |
@@ -8,6 +8,7 @@ |
#include "base/memory/ref_counted.h" |
#include "base/memory/scoped_ptr.h" |
#include "base/time/time.h" |
+#include "cc/debug/frame_timing_tracker.h" |
namespace gfx { |
class Vector2d; |
@@ -46,6 +47,9 @@ class LayerTreeHostClient { |
virtual void DidCommit() = 0; |
virtual void DidCommitAndDrawFrame() = 0; |
virtual void DidCompleteSwapBuffers() = 0; |
+ virtual void RecordFrameTimingEvents( |
+ scoped_ptr<FrameTimingTracker::CompositeTimingSet> composite_events, |
+ scoped_ptr<FrameTimingTracker::MainFrameTimingSet> main_frame_events) = 0; |
// Called when page scale animation has completed. |
virtual void DidCompletePageScaleAnimation() = 0; |