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 fdfbbc5a43c4eaa8dc639a55a43ba0dd8f4d115c..68b0c6f19647ecfd85f9be5b26e8e1d33d58a2a9 100644 |
--- a/content/browser/renderer_host/input/mock_input_router_client.h |
+++ b/content/browser/renderer_host/input/mock_input_router_client.h |
@@ -7,6 +7,7 @@ |
#include "base/memory/scoped_ptr.h" |
#include "content/browser/renderer_host/input/input_router_client.h" |
+#include "content/common/input/did_overscroll_params.h" |
namespace content { |
@@ -27,10 +28,12 @@ class MockInputRouterClient : public InputRouterClient { |
virtual void OnHasTouchEventHandlers(bool has_handlers) OVERRIDE; |
virtual OverscrollController* GetOverscrollController() const OVERRIDE; |
virtual void DidFlush() OVERRIDE; |
+ virtual void DidOverscroll(const DidOverscrollParams& params) OVERRIDE; |
virtual void SetNeedsFlush() OVERRIDE; |
bool GetAndResetFilterEventCalled(); |
size_t GetAndResetDidFlushCount(); |
+ DidOverscrollParams GetAndResetOverscroll(); |
void set_input_router(InputRouter* input_router) { |
input_router_ = input_router; |
@@ -59,6 +62,8 @@ class MockInputRouterClient : public InputRouterClient { |
size_t did_flush_called_count_; |
bool set_needs_flush_called_; |
+ |
+ DidOverscrollParams overscroll_; |
}; |
} // namespace content |