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

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

Issue 628763003: Support InputRouter recycling (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Updates Created 6 years, 2 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.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 3eb5a256b9a1d5d5021eb0024f602fc578a82b3d..9523b29ca51d1af73e62a713b40b522e652d2067 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;
virtual void IncrementInFlightEventCount() override;
virtual void DecrementInFlightEventCount() override;
- virtual void OnHasTouchEventHandlers(bool has_handlers) override;
- virtual void SetNeedsFlush() override;
virtual void DidFlush() override;
virtual 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