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

Unified Diff: cc/single_thread_proxy.h

Issue 11854013: Use input events to improve vsync scheduling (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Don't set last-input-for-vsync bit on pages with touch handlers. Created 7 years, 11 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
Index: cc/single_thread_proxy.h
diff --git a/cc/single_thread_proxy.h b/cc/single_thread_proxy.h
index e5bd963024fddbd885563156a89039da41ff7fe8..8302c08ae5913a7b6ee07a953eed183b370db91f 100644
--- a/cc/single_thread_proxy.h
+++ b/cc/single_thread_proxy.h
@@ -52,6 +52,7 @@ public:
virtual void onSwapBuffersCompleteOnImplThread() OVERRIDE;
virtual void onVSyncParametersChanged(base::TimeTicks timebase, base::TimeDelta interval) OVERRIDE { }
virtual void didVSync(base::TimeTicks frameTime) OVERRIDE { }
+ virtual void didReceiveLastInputEventForVSync() OVERRIDE { }
virtual void onCanDrawStateChanged(bool canDraw) OVERRIDE { }
virtual void onHasPendingTreeStateChanged(bool havePendingTree) OVERRIDE;
virtual void setNeedsRedrawOnImplThread() OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698