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

Unified Diff: public/platform/WebTransformAnimationCurve.h

Issue 800133004: Animation: Allow CC per-curve timing functions to be steps timing functions (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.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
Index: public/platform/WebTransformAnimationCurve.h
diff --git a/public/platform/WebTransformAnimationCurve.h b/public/platform/WebTransformAnimationCurve.h
index 072244533dde76c394321c8a32204ddb0d43f869..4aba2820b1e235ff170ed7c0fb9e0fea1b387652 100644
--- a/public/platform/WebTransformAnimationCurve.h
+++ b/public/platform/WebTransformAnimationCurve.h
@@ -44,6 +44,11 @@ public:
virtual void add(const WebTransformKeyframe&, double x1, double y1, double x2, double y2) = 0;
// Adds the keyframe with a steps timing function.
virtual void add(const WebTransformKeyframe&, int steps, float stepsStartOffset) = 0;
+
+ virtual void setLinearTimingFunction() = 0;
+ virtual void setCubicBezierTimingFunction(TimingFunctionType) = 0;
+ virtual void setCubicBezierTimingFunction(double x1, double y1, double x2, double y2) = 0;
+ virtual void setStepsTimingFunction(int numberOfSteps, float stepsStartOffset) = 0;
};
} // namespace blink
« public/platform/WebFilterAnimationCurve.h ('K') | « public/platform/WebFloatAnimationCurve.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698