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

Unified Diff: content/renderer/compositor_bindings/web_animation_impl.h

Issue 423373003: CC: Support fractional iteration count on compositor animations (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase and review changes Created 6 years, 4 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/animation_unittest.cc ('k') | content/renderer/compositor_bindings/web_animation_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/compositor_bindings/web_animation_impl.h
diff --git a/content/renderer/compositor_bindings/web_animation_impl.h b/content/renderer/compositor_bindings/web_animation_impl.h
index 6586ceaad168b086b7530803e1e363d7ca533c64..460b6f531c23e3dd0f183a28dbd633497defd2ce 100644
--- a/content/renderer/compositor_bindings/web_animation_impl.h
+++ b/content/renderer/compositor_bindings/web_animation_impl.h
@@ -28,8 +28,13 @@ 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 startTime() const;
virtual void setStartTime(double monotonic_time);
virtual double timeOffset() const;
« no previous file with comments | « cc/animation/animation_unittest.cc ('k') | content/renderer/compositor_bindings/web_animation_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698