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

Unified Diff: cc/input/input_handler.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: cc/input/input_handler.h
diff --git a/cc/input/input_handler.h b/cc/input/input_handler.h
index 30ac88d425665f7786501a4e6a7f3f6e0281e8f2..b8ddffc23f05ae53527ae82e411188883d9f0f75 100644
--- a/cc/input/input_handler.h
+++ b/cc/input/input_handler.h
@@ -130,7 +130,8 @@ class CC_EXPORT InputHandler {
const gfx::Point& viewport_point) = 0;
virtual ScrollStatus ScrollAnimated(const gfx::Point& viewport_point,
- const gfx::Vector2dF& scroll_delta) = 0;
+ const gfx::Vector2dF& scroll_delta,
+ const ui::LatencyInfo* latency) = 0;
// Scroll the layer selected by |ScrollBegin| by given |scroll_state| delta.
// Internally, the delta is transformed to local layer's coordinate space for

Powered by Google App Engine
This is Rietveld 408576698