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

Unified Diff: cc/animation/scroll_offset_animations_impl.h

Issue 1950243005: Communicate MT changes to impl-only scroll offset animations (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: attempt to fix rebase issue Created 4 years, 7 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 | « cc/animation/scroll_offset_animations.cc ('k') | cc/animation/scroll_offset_animations_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/animation/scroll_offset_animations_impl.h
diff --git a/cc/animation/scroll_offset_animations_impl.h b/cc/animation/scroll_offset_animations_impl.h
index 47e6d2b37b1e555c78489e4c351c81a4ffde979e..3ae441995a62636d0f90e641549ba9ec8b328d5e 100644
--- a/cc/animation/scroll_offset_animations_impl.h
+++ b/cc/animation/scroll_offset_animations_impl.h
@@ -40,6 +40,11 @@ class CC_EXPORT ScrollOffsetAnimationsImpl : public AnimationDelegate {
const gfx::ScrollOffset& max_scroll_offset,
base::TimeTicks frame_monotonic_time);
+ // Aborts the currently running scroll offset animation on an element and
+ // starts a new one offsetted by adjustment.
+ void ScrollAnimationApplyAdjustment(ElementId element_id,
+ const gfx::Vector2dF& adjustment);
+
void ScrollAnimationAbort(bool needs_completion);
// AnimationDelegate implementation.
« no previous file with comments | « cc/animation/scroll_offset_animations.cc ('k') | cc/animation/scroll_offset_animations_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698