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

Unified Diff: cc/blink/web_transform_animation_curve_impl.h

Issue 598853003: CC: Add curve (whole animation) timing function to compositor animations. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Renamed functions. 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
Index: cc/blink/web_transform_animation_curve_impl.h
diff --git a/cc/blink/web_transform_animation_curve_impl.h b/cc/blink/web_transform_animation_curve_impl.h
index 95ca90242e78db4bce57464a3f74cc51a115c203..1d9fa11ab120e0e7d203ba1821940acaaf960cd8 100644
--- a/cc/blink/web_transform_animation_curve_impl.h
+++ b/cc/blink/web_transform_animation_curve_impl.h
@@ -38,6 +38,10 @@ class WebTransformAnimationCurveImpl
double y1,
double x2,
double y2);
+#if WEB_ANIMATION_SUPPORTS_ANIMATION_TIMING
+ virtual void setTimingFunction(TimingFunctionType = TimingFunctionTypeEase);
+ virtual void setTimingFunction(double x1, double y1, double x2, double y2);
+#endif
scoped_ptr<cc::AnimationCurve> CloneToAnimationCurve() const;

Powered by Google App Engine
This is Rietveld 408576698