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

Unified Diff: cc/blink/web_filter_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 | « no previous file | cc/blink/web_filter_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_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 de3231694af20a5a5ef993676d403943810dafcb..93dae4ed052e22a70776bb7d897d545886487185 100644
--- a/cc/blink/web_filter_animation_curve_impl.h
+++ b/cc/blink/web_filter_animation_curve_impl.h
@@ -39,9 +39,14 @@ class WebFilterAnimationCurveImpl : public blink::WebFilterAnimationCurve {
virtual void add(const blink::WebFilterKeyframe& 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);
scoped_ptr<cc::AnimationCurve> CloneToAnimationCurve() const;
« no previous file with comments | « no previous file | cc/blink/web_filter_animation_curve_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698