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

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

Issue 2893843002: input: Remove now dead code. (Closed)
Patch Set: tot merge Created 3 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/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 2a3cde0700029e7e19db2d06e338e4bd7088a1bd..50fcf500bd2923207aacd080bd9d4fdf195b09ad 100644
--- a/content/browser/renderer_host/input/mock_input_router_client.cc
+++ b/content/browser/renderer_host/input/mock_input_router_client.cc
@@ -23,9 +23,7 @@ MockInputRouterClient::MockInputRouterClient()
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) {
-}
+ filter_input_event_called_(false) {}
MockInputRouterClient::~MockInputRouterClient() {}
@@ -52,10 +50,6 @@ void MockInputRouterClient::OnHasTouchEventHandlers(
has_touch_handler_ = has_handlers;
}
-void MockInputRouterClient::DidFlush() {
- ++did_flush_called_count_;
-}
-
void MockInputRouterClient::DidOverscroll(
const ui::DidOverscrollParams& params) {
overscroll_ = params;
@@ -78,12 +72,6 @@ bool MockInputRouterClient::GetAndResetFilterEventCalled() {
return filter_input_event_called;
}
-size_t MockInputRouterClient::GetAndResetDidFlushCount() {
- size_t did_flush_called_count = did_flush_called_count_;
- did_flush_called_count_ = 0;
- return did_flush_called_count;
-}
-
ui::DidOverscrollParams MockInputRouterClient::GetAndResetOverscroll() {
ui::DidOverscrollParams overscroll;
std::swap(overscroll_, overscroll);

Powered by Google App Engine
This is Rietveld 408576698