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

Unified Diff: content/browser/renderer_host/overscroll_controller.h

Issue 13931009: Add latency info to input events sent to RenderWidget. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 7 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: content/browser/renderer_host/overscroll_controller.h
diff --git a/content/browser/renderer_host/overscroll_controller.h b/content/browser/renderer_host/overscroll_controller.h
index 9f26b9129a9096207a2435aad0fde1f73ba7cbac..6f82d0af3803bb3c04a5ffa17c6cf9ee4c5c516c 100644
--- a/content/browser/renderer_host/overscroll_controller.h
+++ b/content/browser/renderer_host/overscroll_controller.h
@@ -9,6 +9,10 @@
#include "base/compiler_specific.h"
#include "third_party/WebKit/Source/WebKit/chromium/public/WebInputEvent.h"
+namespace cc {
+struct LatencyInfo;
+}
+
namespace content {
class MockRenderWidgetHost;
@@ -39,7 +43,8 @@ class OverscrollController {
// RenderWidgetHostView so that the state of the overscroll gesture can be
// updated properly.
// Returns true if the event should be dispatched, false otherwise.
- bool WillDispatchEvent(const WebKit::WebInputEvent& event);
+ bool WillDispatchEvent(const WebKit::WebInputEvent& event,
+ const cc::LatencyInfo& latency_info);
// This must be called when the ACK for any event comes in. This updates the
// overscroll gesture status as appropriate.
« no previous file with comments | « content/browser/renderer_host/gesture_event_filter.cc ('k') | content/browser/renderer_host/overscroll_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698