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..aca231aa96437c9503064cc4edba91e135c0de46 100644 |
--- a/cc/animation/scroll_offset_animations_impl.h |
+++ b/cc/animation/scroll_offset_animations_impl.h |
@@ -40,6 +40,12 @@ 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, |
+ base::TimeTicks frame_monotonic_time); |
+ |
void ScrollAnimationAbort(bool needs_completion); |
// AnimationDelegate implementation. |