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

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

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/input_router_impl.cc
diff --git a/content/browser/renderer_host/input/input_router_impl.cc b/content/browser/renderer_host/input/input_router_impl.cc
index 4f00ab21454f89b16da290c120eb65ed6f9dd71e..9c50a1e3ef317e7728d539912a2106740624e9b0 100644
--- a/content/browser/renderer_host/input/input_router_impl.cc
+++ b/content/browser/renderer_host/input/input_router_impl.cc
@@ -311,6 +311,11 @@ void InputRouterImpl::ForwardGestureEventWithLatencyInfo(
client_->ForwardGestureEventWithLatencyInfo(event, latency_info);
}
+bool InputRouterImpl::is_in_gesture_scroll() {
+ return client_->is_in_gesture_scroll(
+ blink::WebGestureDevice::kWebGestureDeviceTouchpad);
+}
+
void InputRouterImpl::SendMouseWheelEventImmediately(
const MouseWheelEventWithLatencyInfo& wheel_event) {
FilterAndSendWebInputEvent(wheel_event.event, wheel_event.latency);

Powered by Google App Engine
This is Rietveld 408576698