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

Unified Diff: content/browser/renderer_host/input/input_router_impl_perftest.cc

Issue 281723010: Bundle DidOverscrollParams with the InputEventAck (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix build 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_perftest.cc
diff --git a/content/browser/renderer_host/input/input_router_impl_perftest.cc b/content/browser/renderer_host/input/input_router_impl_perftest.cc
index 972fc49c114d9d58b5b4083e91757c58a437aefb..3db414e56d893049e455931c1560fc0d50d2bd41 100644
--- a/content/browser/renderer_host/input/input_router_impl_perftest.cc
+++ b/content/browser/renderer_host/input/input_router_impl_perftest.cc
@@ -82,6 +82,7 @@ class NullInputRouterClient : public InputRouterClient {
}
virtual void DidFlush() OVERRIDE {}
virtual void SetNeedsFlush() OVERRIDE {}
+ virtual void DidOverscroll(const DidOverscrollParams& params) OVERRIDE {}
};
class NullIPCSender : public IPC::Sender {
@@ -237,8 +238,10 @@ class InputRouterImplPerfTest : public testing::Test {
InputEventAckState ack_result) {
if (WebInputEventTraits::IgnoresAckDisposition(event))
return;
- InputHostMsg_HandleInputEvent_ACK response(
- 0, event.type, ack_result, ui::LatencyInfo());
+ InputHostMsg_HandleInputEvent_ACK_Params ack;
+ ack.type = event.type;
+ ack.state = ack_result;
+ InputHostMsg_HandleInputEvent_ACK response(0, ack);
input_router_->OnMessageReceived(response);
}

Powered by Google App Engine
This is Rietveld 408576698