Index: content/browser/renderer_host/input/mock_input_router_client.h |
diff --git a/content/browser/renderer_host/input/mock_input_router_client.h b/content/browser/renderer_host/input/mock_input_router_client.h |
index d2ea81d45cc55dc90dba7843a5aaf1ae90c48036..fdfbbc5a43c4eaa8dc639a55a43ba0dd8f4d115c 100644 |
--- a/content/browser/renderer_host/input/mock_input_router_client.h |
+++ b/content/browser/renderer_host/input/mock_input_router_client.h |
@@ -30,6 +30,7 @@ class MockInputRouterClient : public InputRouterClient { |
virtual void SetNeedsFlush() OVERRIDE; |
bool GetAndResetFilterEventCalled(); |
+ size_t GetAndResetDidFlushCount(); |
void set_input_router(InputRouter* input_router) { |
input_router_ = input_router; |
@@ -46,9 +47,6 @@ class MockInputRouterClient : public InputRouterClient { |
filter_state_ = INPUT_EVENT_ACK_STATE_NO_CONSUMER_EXISTS; |
} |
- bool did_flush_called() const { return did_flush_called_; } |
- bool needs_flush_called() const { return set_needs_flush_called_; } |
- |
private: |
InputRouter* input_router_; |
int in_flight_event_count_; |
@@ -59,7 +57,7 @@ class MockInputRouterClient : public InputRouterClient { |
bool filter_input_event_called_; |
scoped_ptr<InputEvent> last_filter_event_; |
- bool did_flush_called_; |
+ size_t did_flush_called_count_; |
bool set_needs_flush_called_; |
}; |