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

Unified Diff: cc/blink/web_filter_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_filter_animation_curve_impl.h
diff --git a/cc/blink/web_filter_animation_curve_impl.h b/cc/blink/web_filter_animation_curve_impl.h
index 0454cce549eef1092326f4c700e63556f62a894b..d6be0aae65363e882762ff4ce771e4b4d268394b 100644
--- a/cc/blink/web_filter_animation_curve_impl.h
+++ b/cc/blink/web_filter_animation_curve_impl.h
@@ -36,6 +36,10 @@ class WebFilterAnimationCurveImpl : public blink::WebFilterAnimationCurve {
double y1,
double x2,
double y2);
+#if WEB_ANIMATION_SUPPORTS_ANIMATION_TIMING
ajuma 2014/09/25 14:44:38 Since you're just adding new methods rather than c
ikilpatrick 2014/09/25 22:54:58 Done.
+ virtual void setTimingFunction(TimingFunctionType = TimingFunctionTypeEase);
ajuma 2014/09/25 14:44:38 No default argument; the one on the Blink side is
ikilpatrick 2014/09/25 22:54:58 Done.
+ 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