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

Unified Diff: cc/blink/web_float_animation_curve_impl.h

Issue 814853003: CC: Allow per-curve timing functions to be steps timing functions (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@0
Patch Set: Rebase Created 5 years, 11 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
« no previous file with comments | « cc/blink/web_filter_animation_curve_impl.cc ('k') | cc/blink/web_float_animation_curve_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 9fca7bba4b8e3b55c765b25df28c2c83fbd29ca8..b5a97aa5db69ea54a2cd4dbc1e9de5daa87ee7b5 100644
--- a/cc/blink/web_float_animation_curve_impl.h
+++ b/cc/blink/web_float_animation_curve_impl.h
@@ -40,9 +40,14 @@ class WebFloatAnimationCurveImpl : public blink::WebFloatAnimationCurve {
virtual void add(const blink::WebFloatKeyframe& keyframe,
int steps,
float steps_start_offset);
-
- virtual void setTimingFunction(TimingFunctionType type);
- virtual void setTimingFunction(double x1, double y1, double x2, double y2);
+ virtual void setLinearTimingFunction();
+ virtual void setCubicBezierTimingFunction(TimingFunctionType);
+ virtual void setCubicBezierTimingFunction(double x1,
+ double y1,
+ double x2,
+ double y2);
+ virtual void setStepsTimingFunction(int number_of_steps,
+ float steps_start_offset);
virtual float getValue(double time) const;
« no previous file with comments | « cc/blink/web_filter_animation_curve_impl.cc ('k') | cc/blink/web_float_animation_curve_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698