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 73ec892268983fff97569251edaa6ef0b0b4d628..2955c138802ef5505142488d102e5b3a5ea62100 100644 |
--- a/cc/trees/layer_tree_host_client.h |
+++ b/cc/trees/layer_tree_host_client.h |
@@ -5,6 +5,9 @@ |
#ifndef CC_TREES_LAYER_TREE_HOST_CLIENT_H_ |
#define CC_TREES_LAYER_TREE_HOST_CLIENT_H_ |
+#include <utility> |
+#include <vector> |
+ |
#include "base/memory/ref_counted.h" |
#include "base/memory/scoped_ptr.h" |
#include "base/time/time.h" |
@@ -30,6 +33,12 @@ class LayerTreeHostClient { |
virtual void ApplyViewportDeltas(const gfx::Vector2d& scroll_delta, |
float page_scale, |
float top_controls_delta) = 0; |
+ virtual void RecordCommitTiming( |
+ int64_t rect_id, |
+ const std::pair<int, base::TimeTicks>& commit) = 0; |
+ virtual void RecordCompositeTiming( |
+ int64_t rect_id, |
+ const std::vector<std::pair<int, base::TimeTicks> >& composites) = 0; |
// Creates an OutputSurface. If fallback is true, it should attempt to |
// create an OutputSurface that is guaranteed to initialize correctly. |
virtual scoped_ptr<OutputSurface> CreateOutputSurface(bool fallback) = 0; |