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

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: Adressed comments, split up GetProgress function. 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
+ 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