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

Unified Diff: cc/blink/web_float_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_float_animation_curve_impl.h
diff --git a/cc/blink/web_float_animation_curve_impl.h b/cc/blink/web_float_animation_curve_impl.h
index 09cadb8ace87ae498abfa6e49340fb7264af1ae5..9d0be3e4e719be7fbb07544724f8241a9d55a46c 100644
--- a/cc/blink/web_float_animation_curve_impl.h
+++ b/cc/blink/web_float_animation_curve_impl.h
@@ -37,6 +37,10 @@ class WebFloatAnimationCurveImpl : public blink::WebFloatAnimationCurve {
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
virtual float getValue(double time) const;

Powered by Google App Engine
This is Rietveld 408576698