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

Unified Diff: public/platform/WebFilterAnimationCurve.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
« no previous file with comments | « Source/core/animation/CompositorAnimationsTestHelper.h ('k') | public/platform/WebFloatAnimationCurve.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/platform/WebFilterAnimationCurve.h
diff --git a/public/platform/WebFilterAnimationCurve.h b/public/platform/WebFilterAnimationCurve.h
index fbacae45814b14402bcdee6ada2e2d8afe9ae6a9..7126a8fd52a11bdf6268aac6e668d3c73f96108a 100644
--- a/public/platform/WebFilterAnimationCurve.h
+++ b/public/platform/WebFilterAnimationCurve.h
@@ -49,6 +49,11 @@ public:
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;
+
+ 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;
Nate Chapin 2015/01/07 19:00:29 It's kind of unfortunate to have to define these i
};
} // namespace blink
« no previous file with comments | « Source/core/animation/CompositorAnimationsTestHelper.h ('k') | public/platform/WebFloatAnimationCurve.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698