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

Unified Diff: cc/blink/web_transform_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_float_animation_curve_impl.cc ('k') | cc/blink/web_transform_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_transform_animation_curve_impl.h
diff --git a/cc/blink/web_transform_animation_curve_impl.h b/cc/blink/web_transform_animation_curve_impl.h
index 6dc64b57bf9ed812b3037686a2bd1e94caa4c628..81ed6073fa7bff8c2783cd12ad5434992cfc08a2 100644
--- a/cc/blink/web_transform_animation_curve_impl.h
+++ b/cc/blink/web_transform_animation_curve_impl.h
@@ -41,9 +41,14 @@ class WebTransformAnimationCurveImpl
virtual void add(const blink::WebTransformKeyframe& keyframe,
int steps,
float stepsStartOffset);
-
- 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 | « cc/blink/web_float_animation_curve_impl.cc ('k') | cc/blink/web_transform_animation_curve_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698