Chromium Code Reviews

Unified Diff: cc/blink/web_compositor_animation_player_impl.h

Issue 1534813004: Run smooth scroll animations on the compositor when possible (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix compile error on mac Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: cc/blink/web_compositor_animation_player_impl.h
diff --git a/cc/blink/web_compositor_animation_player_impl.h b/cc/blink/web_compositor_animation_player_impl.h
index 1d4879b45a4bc2aeb72f95898109a6aa22b1520d..f0fbdd5d62fa41064199cdddae2ece12a9dac988 100644
--- a/cc/blink/web_compositor_animation_player_impl.h
+++ b/cc/blink/web_compositor_animation_player_impl.h
@@ -35,6 +35,7 @@ class WebCompositorAnimationPlayerImpl
void addAnimation(blink::WebCompositorAnimation* animation) override;
void removeAnimation(int animation_id) override;
void pauseAnimation(int animation_id, double time_offset) override;
+ void abortAnimation(int animation_id) override;
private:
scoped_refptr<cc::AnimationPlayer> animation_player_;

Powered by Google App Engine