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

Unified Diff: public/platform/WebFilterAnimationCurve.h

Issue 812013002: Define step timing function for the cc animation framework. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years 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/WebFilterAnimationCurve.h
diff --git a/public/platform/WebFilterAnimationCurve.h b/public/platform/WebFilterAnimationCurve.h
index aad09702bffd4f6a25530d96c3661f44ab3e53d4..fbacae45814b14402bcdee6ada2e2d8afe9ae6a9 100644
--- a/public/platform/WebFilterAnimationCurve.h
+++ b/public/platform/WebFilterAnimationCurve.h
@@ -47,6 +47,8 @@ public:
// Adds the keyframe with a custom, bezier timing function. Note, it is
// assumed that x0 = y0 = 0, and x3 = y3 = 1.
virtual void add(const WebFilterKeyframe&, double x1, double y1, double x2, double y2) = 0;
+ // Adds the keyframe with a steps timing function.
+ virtual void add(const WebFilterKeyframe&, int steps, float stepsStartOffset) = 0;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698