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

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

Issue 2814043004: MouseWheelEventQueue should respect ScrollBegin/End state from RenderWidgetHost. (Closed)
Patch Set: Rename function. 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..cd033c4448141f2f227fe325e24408ee732f540e 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::IsInGestureScrollForTouchpad() const {
+ return client_->IsInGestureScroll(
+ 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