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

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: Minor fixes Created 6 years, 5 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
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 a706358ae36d966a4c7bdb7ee70de0114471d352..0758df14c6eebe00182882364ffc9e01353384f3 100644
--- a/content/renderer/compositor_bindings/web_animation_impl.h
+++ b/content/renderer/compositor_bindings/web_animation_impl.h
@@ -31,8 +31,13 @@ class WebAnimationImpl : public blink::WebAnimation {
// blink::WebAnimation 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;

Powered by Google App Engine
This is Rietveld 408576698