| Index: content/browser/renderer_host/input/mock_input_router_client.cc
|
| diff --git a/content/browser/renderer_host/input/mock_input_router_client.cc b/content/browser/renderer_host/input/mock_input_router_client.cc
|
| index 068af8c9206c6e12af80f9a8ce661acfff62553a..fcb5de1a0492545a35d5521dda0f470b5e0f44d0 100644
|
| --- a/content/browser/renderer_host/input/mock_input_router_client.cc
|
| +++ b/content/browser/renderer_host/input/mock_input_router_client.cc
|
| @@ -19,13 +19,13 @@ using blink::WebTouchPoint;
|
| namespace content {
|
|
|
| MockInputRouterClient::MockInputRouterClient()
|
| - : input_router_(NULL),
|
| - in_flight_event_count_(0),
|
| - has_touch_handler_(false),
|
| - filter_state_(INPUT_EVENT_ACK_STATE_NOT_CONSUMED),
|
| - filter_input_event_called_(false),
|
| - did_flush_called_count_(0),
|
| - set_needs_flush_called_(false) {}
|
| + : input_router_(NULL),
|
| + in_flight_event_count_(0),
|
| + has_touch_handler_(false),
|
| + filter_state_(INPUT_EVENT_ACK_STATE_NOT_CONSUMED),
|
| + filter_input_event_called_(false),
|
| + did_flush_called_count_(0) {
|
| +}
|
|
|
| MockInputRouterClient::~MockInputRouterClient() {}
|
|
|
| @@ -50,10 +50,6 @@ void MockInputRouterClient::OnHasTouchEventHandlers(
|
| has_touch_handler_ = has_handlers;
|
| }
|
|
|
| -void MockInputRouterClient::SetNeedsFlush() {
|
| - set_needs_flush_called_ = true;
|
| -}
|
| -
|
| void MockInputRouterClient::DidFlush() {
|
| ++did_flush_called_count_;
|
| }
|
| @@ -62,6 +58,9 @@ void MockInputRouterClient::DidOverscroll(const DidOverscrollParams& params) {
|
| overscroll_ = params;
|
| }
|
|
|
| +void MockInputRouterClient::DidStopFlinging() {
|
| +}
|
| +
|
| bool MockInputRouterClient::GetAndResetFilterEventCalled() {
|
| bool filter_input_event_called = filter_input_event_called_;
|
| filter_input_event_called_ = false;
|
|
|