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

Unified Diff: cc/thread_proxy.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/thread_proxy.h
diff --git a/cc/thread_proxy.h b/cc/thread_proxy.h
index da4f3868eddfb01ff385e71323e828bdcb731ae8..2b2970b4fe72a34ec4b298c92b8615414065be70 100644
--- a/cc/thread_proxy.h
+++ b/cc/thread_proxy.h
@@ -65,6 +65,7 @@ public:
virtual void postAnimationEventsToMainThreadOnImplThread(scoped_ptr<AnimationEventsVector>, base::Time wallClockTime) OVERRIDE;
virtual bool reduceContentsTextureMemoryOnImplThread(size_t limitBytes, int priorityCutoff) OVERRIDE;
virtual void sendManagedMemoryStats() OVERRIDE;
+ virtual void onReceivedLatencyInfo(const WebKit::WebLatencyInfoImpl& latencyInfo) OVERRIDE;
// SchedulerClient implementation
virtual void scheduledActionBeginFrame() OVERRIDE;
@@ -98,6 +99,7 @@ private:
void setAnimationEvents(scoped_ptr<AnimationEventsVector>, base::Time wallClockTime);
void beginContextRecreation();
void tryToRecreateOutputSurface();
+ void receivedLatencyInfo(const WebKit::WebLatencyInfoImpl& latencyInfo);
// Called on impl thread
struct ReadbackRequest {
« cc/gl_renderer.h ('K') | « cc/test/layer_tree_test_common.cc ('k') | cc/thread_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698