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

Unified Diff: content/browser/renderer_host/input/input_router_impl.h

Issue 281723010: Bundle DidOverscrollParams with the InputEventAck (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Updates Created 6 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/input/input_router_impl.h
diff --git a/content/browser/renderer_host/input/input_router_impl.h b/content/browser/renderer_host/input/input_router_impl.h
index 76af1c4e1a7ca496a73f38dbc9163d1134520993..75e9efb399da494f438f39d8169057b735594531 100644
--- a/content/browser/renderer_host/input/input_router_impl.h
+++ b/content/browser/renderer_host/input/input_router_impl.h
@@ -32,6 +32,8 @@ class InputAckHandler;
class InputRouterClient;
class OverscrollController;
class RenderWidgetHostImpl;
+struct DidOverscrollParams;
+struct InputEventAck;
// A default implementation for browser input event routing.
class CONTENT_EXPORT InputRouterImpl
@@ -146,9 +148,8 @@ private:
const GestureEventWithLatencyInfo& pinch_event);
// IPC message handlers
- void OnInputEventAck(blink::WebInputEvent::Type event_type,
- InputEventAckState ack_result,
- const ui::LatencyInfo& latency_info);
+ void OnInputEventAck(const InputEventAck& ack);
+ void OnDidOverscroll(const DidOverscrollParams& params);
void OnMsgMoveCaretAck();
void OnSelectRangeAck();
void OnHasTouchEventHandlers(bool has_handlers);

Powered by Google App Engine
This is Rietveld 408576698