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

Unified Diff: webkit/compositor_bindings/web_to_ccinput_handler_adapter.cc

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: webkit/compositor_bindings/web_to_ccinput_handler_adapter.cc
diff --git a/webkit/compositor_bindings/web_to_ccinput_handler_adapter.cc b/webkit/compositor_bindings/web_to_ccinput_handler_adapter.cc
index 3f23d71172cd36631e2fde5d9a2862004c1ef036..87e9e239a4ea1b00d78fc5c3db7a746a750d02c7 100644
--- a/webkit/compositor_bindings/web_to_ccinput_handler_adapter.cc
+++ b/webkit/compositor_bindings/web_to_ccinput_handler_adapter.cc
@@ -93,6 +93,11 @@ public:
return m_client->haveTouchEventHandlersAt(point);
}
+ virtual void didReceiveLastInputEventForVSync() OVERRIDE
+ {
+ m_client->didReceiveLastInputEventForVSync();
+ }
+
private:
cc::InputHandlerClient* m_client;
};

Powered by Google App Engine
This is Rietveld 408576698