Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(144)

Unified Diff: cc/layer_tree_host_client.h

Issue 11293121: Add latency measurement system (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: create cc::LatencyInfo Created 7 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/layer_tree_host.cc ('k') | cc/layer_tree_host_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layer_tree_host_client.h
diff --git a/cc/layer_tree_host_client.h b/cc/layer_tree_host_client.h
index 6657f59a8f268e8e7e4004810d31d3a327f28e41..e966f21c0542bbc890b95667a153b0576aee0871 100644
--- a/cc/layer_tree_host_client.h
+++ b/cc/layer_tree_host_client.h
@@ -15,6 +15,7 @@ namespace cc {
class FontAtlas;
class InputHandler;
class OutputSurface;
+struct LatencyInfo;
class LayerTreeHostClient {
public:
@@ -31,6 +32,7 @@ public:
virtual void didCommit() = 0;
virtual void didCommitAndDrawFrame() = 0;
virtual void didCompleteSwapBuffers() = 0;
+ virtual void onReceivedLatencyInfo(const LatencyInfo&) = 0;
// Used only in the single-threaded path.
virtual void scheduleComposite() = 0;
« no previous file with comments | « cc/layer_tree_host.cc ('k') | cc/layer_tree_host_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698