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

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

Issue 2814043004: MouseWheelEventQueue should respect ScrollBegin/End state from RenderWidgetHost. (Closed)
Patch Set: Rename function, make it const. 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_client.h
diff --git a/content/browser/renderer_host/input/input_router_client.h b/content/browser/renderer_host/input/input_router_client.h
index 0221533738205bce9c75dabe055cdb781266cdb7..adffb8b8f369979bbd98fba6292095ca92c41c48 100644
--- a/content/browser/renderer_host/input/input_router_client.h
+++ b/content/browser/renderer_host/input/input_router_client.h
@@ -60,6 +60,10 @@ class CONTENT_EXPORT InputRouterClient {
virtual void ForwardGestureEventWithLatencyInfo(
const blink::WebGestureEvent& gesture_event,
const ui::LatencyInfo& latency_info) = 0;
+
+ // Call this function to determine if it's necessary to insert
+ // GestureScrollBegin/Ends.
+ virtual bool IsInGestureScroll(blink::WebGestureDevice device) const = 0;
};
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698