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

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

Issue 2040543002: Take MT jank into account when animating the scroll offset on CC (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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.h
diff --git a/ui/events/blink/input_handler_proxy.h b/ui/events/blink/input_handler_proxy.h
index 40ef289bd9b2ef1465225f133edd53a2c489f21b..d78f69a73b5f2f6cd93114c4db61bf3dc39a09f5 100644
--- a/ui/events/blink/input_handler_proxy.h
+++ b/ui/events/blink/input_handler_proxy.h
@@ -60,7 +60,9 @@ class InputHandlerProxy
EventDisposition HandleInputEventWithLatencyInfo(
const blink::WebInputEvent& event,
ui::LatencyInfo* latency_info);
- EventDisposition HandleInputEvent(const blink::WebInputEvent& event);
+ EventDisposition HandleInputEvent(
+ const blink::WebInputEvent& event,
+ ui::LatencyInfo* latency_info = nullptr);
// cc::InputHandlerClient implementation.
void WillShutdown() override;
@@ -106,7 +108,7 @@ class InputHandlerProxy
EventDisposition HandleGestureScrollBegin(
const blink::WebGestureEvent& event);
EventDisposition HandleGestureScrollUpdate(
- const blink::WebGestureEvent& event);
+ const blink::WebGestureEvent& event, ui::LatencyInfo* latency_info);
EventDisposition HandleGestureScrollEnd(
const blink::WebGestureEvent& event);
EventDisposition HandleGestureFlingStart(

Powered by Google App Engine
This is Rietveld 408576698