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

Unified Diff: cc/blink/web_animation_impl.h

Issue 579863004: CC: Add fill mode to compositor animations (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix compile Created 6 years, 3 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/layer_animation_controller.cc ('k') | cc/blink/web_animation_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/blink/web_animation_impl.h
diff --git a/cc/blink/web_animation_impl.h b/cc/blink/web_animation_impl.h
index 1c61af0a9266036dba326059a0dd2df689c1544c..74741cc3a317aa72bf28dd590014ec617d5e43e5 100644
--- a/cc/blink/web_animation_impl.h
+++ b/cc/blink/web_animation_impl.h
@@ -31,13 +31,8 @@ class WebCompositorAnimationImpl : public blink::WebCompositorAnimation {
// blink::WebCompositorAnimation implementation
virtual int id();
virtual TargetProperty targetProperty() const;
-#if WEB_ANIMATION_SUPPORTS_FRACTIONAL_ITERATIONS
virtual double iterations() const;
virtual void setIterations(double iterations);
-#else
- virtual int iterations() const;
- virtual void setIterations(int iterations);
-#endif
virtual double iterationStart() const;
virtual void setIterationStart(double iteration_start);
virtual double startTime() const;
@@ -48,7 +43,10 @@ class WebCompositorAnimationImpl : public blink::WebCompositorAnimation {
virtual void setDirection(Direction);
virtual double playbackRate() const;
virtual void setPlaybackRate(double playback_rate);
-
+#if WEB_ANIMATION_SUPPORTS_FILL_MODE
+ virtual FillMode fillMode() const;
+ virtual void setFillMode(blink::WebCompositorAnimation::FillMode fill_mode);
+#endif
scoped_ptr<cc::Animation> PassAnimation();
private:
« no previous file with comments | « cc/animation/layer_animation_controller.cc ('k') | cc/blink/web_animation_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698