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

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

Issue 2785533003: Animated scroll shouldn't consume unhandled scrolls for OOPIFs. (Closed)
Patch Set: Fix Android compile. Created 3 years, 8 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 463d7f694f44231c55dde8109cd836f33062760e..c36b559b19bda5e4b288638f4130d204f66ee59d 100644
--- a/content/browser/renderer_host/input/mock_input_router_client.h
+++ b/content/browser/renderer_host/input/mock_input_router_client.h
@@ -36,6 +36,7 @@ class MockInputRouterClient : public InputRouterClient {
void ForwardGestureEventWithLatencyInfo(
const blink::WebGestureEvent& gesture_event,
const ui::LatencyInfo& latency_info) override;
+ bool is_in_gesture_scroll(blink::WebGestureDevice device) override;
bool GetAndResetFilterEventCalled();
size_t GetAndResetDidFlushCount();
@@ -63,6 +64,7 @@ class MockInputRouterClient : public InputRouterClient {
InputRouter* input_router_;
int in_flight_event_count_;
bool has_touch_handler_;
+ bool is_in_gesture_scroll_;
InputEventAckState filter_state_;

Powered by Google App Engine
This is Rietveld 408576698