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

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

Issue 2265393002: Refactor compositor event handling path to be callback-based (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: dtapuska's review, rename to DidHandleInputEventAndOverScroll Created 4 years, 4 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: 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 efc24ed6d17d4a83b8879422c96db83481f7d89a..fdc6afe15af4fd3e19caf4c90cdbced566c516fc 100644
--- a/ui/events/blink/input_handler_proxy_client.h
+++ b/ui/events/blink/input_handler_proxy_client.h
@@ -32,6 +32,8 @@ class InputHandlerProxyClient {
const blink::WebFloatPoint& velocity,
const blink::WebSize& cumulative_scroll) = 0;
+ // Fired when the overscroll was NOT caused by InputEvent.
+ // InputEvent associated overscroll will be returned along with the callback.
virtual void DidOverscroll(
const gfx::Vector2dF& accumulated_overscroll,
const gfx::Vector2dF& latest_overscroll_delta,

Powered by Google App Engine
This is Rietveld 408576698