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

Unified Diff: cc/renderer.h

Issue 11293121: Add latency measurement system (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: minor input event changes Created 8 years 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
Index: cc/renderer.h
diff --git a/cc/renderer.h b/cc/renderer.h
index 981679cc08826f942e6e2a17d8ba421f9a64aaf1..84776e40e60e6f4163dc81d15d5c47176536c529 100644
--- a/cc/renderer.h
+++ b/cc/renderer.h
@@ -26,6 +26,7 @@ public:
virtual void setManagedMemoryPolicy(const ManagedMemoryPolicy& policy) = 0;
virtual void enforceManagedMemoryPolicy(const ManagedMemoryPolicy& policy) = 0;
virtual bool hasImplThread() const = 0;
+ virtual void onReceivedLatencyInfo(const WebKit::WebLatencyInfoImpl&) = 0;
protected:
virtual ~RendererClient() { }
};
@@ -72,6 +73,8 @@ public:
virtual void setVisible(bool) = 0;
+ virtual void setLatencyInfo(const WebKit::WebLatencyInfoImpl&) = 0;
+
virtual void sendManagedMemoryStats(size_t bytesVisible, size_t bytesVisibleAndNearby, size_t bytesAllocated) = 0;
protected:
« cc/gl_renderer.h ('K') | « cc/layer_tree_host_unittest.cc ('k') | cc/single_thread_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698