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

Unified Diff: ui/events/blink/input_handler_proxy_client.h

Issue 2854683002: Send a GSB to main thread before switching to it in the middle of scrolling. (Closed)
Patch Set: 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
« no previous file with comments | « ui/events/blink/input_handler_proxy.cc ('k') | ui/events/blink/input_handler_proxy_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/events/blink/input_handler_proxy_client.h
diff --git a/ui/events/blink/input_handler_proxy_client.h b/ui/events/blink/input_handler_proxy_client.h
index 125d25695c4cab709d1ea75441bbd6e847f4a059..ae9a88b0d8aa9edbf7d01149a1ba08527c6bb4b8 100644
--- a/ui/events/blink/input_handler_proxy_client.h
+++ b/ui/events/blink/input_handler_proxy_client.h
@@ -55,6 +55,11 @@ class InputHandlerProxyClient {
virtual void DidAnimateForInput() = 0;
+ // Used to send a GSB to the main thread when the wheel scroll latching is
+ // enabled and the scrolling should switch to the main thread.
+ virtual void GenerateScrollBeginAndSendToMainThread(
+ const blink::WebGestureEvent& update_event) = 0;
+
protected:
virtual ~InputHandlerProxyClient() {}
};
« no previous file with comments | « ui/events/blink/input_handler_proxy.cc ('k') | ui/events/blink/input_handler_proxy_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698