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

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

Issue 660663002: Clear pending events upon main frame navigation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Updates Created 6 years, 1 month 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.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 a552ac0debf1c1509a7c9530d099cec92d8d36af..a8ddb432aac553da0ac561059777ddd18f8c1768 100644
--- a/content/browser/renderer_host/input/mock_input_router_client.h
+++ b/content/browser/renderer_host/input/mock_input_router_client.h
@@ -25,8 +25,6 @@ class MockInputRouterClient : public InputRouterClient {
const ui::LatencyInfo& latency_info) override;
void IncrementInFlightEventCount() override;
void DecrementInFlightEventCount() override;
- void OnHasTouchEventHandlers(bool has_handlers) override;
- void SetNeedsFlush() override;
void DidFlush() override;
void DidOverscroll(const DidOverscrollParams& params) override;
@@ -38,7 +36,6 @@ class MockInputRouterClient : public InputRouterClient {
input_router_ = input_router;
}
- bool has_touch_handler() const { return has_touch_handler_; }
void set_filter_state(InputEventAckState filter_state) {
filter_state_ = filter_state;
}
@@ -52,7 +49,6 @@ class MockInputRouterClient : public InputRouterClient {
private:
InputRouter* input_router_;
int in_flight_event_count_;
- bool has_touch_handler_;
InputEventAckState filter_state_;
@@ -60,7 +56,6 @@ class MockInputRouterClient : public InputRouterClient {
scoped_ptr<InputEvent> last_filter_event_;
size_t did_flush_called_count_;
- bool set_needs_flush_called_;
DidOverscrollParams overscroll_;
};

Powered by Google App Engine
This is Rietveld 408576698