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

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: fix constant 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 3e10d9a1ee82724ab22737e587bf086641e1f1e3..40ca0455dd00072caefb7ee28b1067cefa712177 100644
--- a/ui/events/blink/input_handler_proxy.h
+++ b/ui/events/blink/input_handler_proxy.h
@@ -57,7 +57,8 @@ 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;
@@ -103,7 +104,8 @@ 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