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

Unified Diff: cc/animation/animation_host.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
« no previous file with comments | « no previous file | cc/animation/animation_host.cc » ('j') | cc/input/input_handler.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/animation/animation_host.h
diff --git a/cc/animation/animation_host.h b/cc/animation/animation_host.h
index 8f5ff14a725896cf659af1c1e2be403ab2d98cee..46dd9327c69ee25f0a2265a1e7fcde9dba1bed02 100644
--- a/cc/animation/animation_host.h
+++ b/cc/animation/animation_host.h
@@ -143,6 +143,9 @@ class CC_EXPORT AnimationHost {
const gfx::ScrollOffset& max_scroll_offset,
base::TimeTicks frame_monotonic_time);
+ void ImplOnlyScrollAnimationAdjustDuration(ElementId element_id,
+ base::TimeDelta adjustment);
+
void ScrollAnimationAbort(bool needs_completion);
// This should only be called from the main thread.
« no previous file with comments | « no previous file | cc/animation/animation_host.cc » ('j') | cc/input/input_handler.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698