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

Unified Diff: Source/core/animation/CompositorAnimationsTestHelper.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: Source/core/animation/CompositorAnimationsTestHelper.h
diff --git a/Source/core/animation/CompositorAnimationsTestHelper.h b/Source/core/animation/CompositorAnimationsTestHelper.h
index 677f0d19d3d2b482392ba71a16ca07aeb1abe450..7b4db7a973af284545cd7729c4f1d72ee7d3add3 100644
--- a/Source/core/animation/CompositorAnimationsTestHelper.h
+++ b/Source/core/animation/CompositorAnimationsTestHelper.h
@@ -110,6 +110,11 @@ public:
MOCK_METHOD5_T(add, void(const KeyframeType&, double, double, double, double));
MOCK_METHOD3_T(add, void(const KeyframeType&, int steps, float stepsStartOffset));
+ MOCK_METHOD0(setLinearTimingFunction, void());
+ MOCK_METHOD4(setCubicBezierTimingFunction, void(double, double, double, double));
+ MOCK_METHOD1(setCubicBezierTimingFunction, void(WebCompositorAnimationCurve::TimingFunctionType));
+ MOCK_METHOD2(setStepsTimingFunction, void(int, float));
+
MOCK_CONST_METHOD1_T(getValue, float(double)); // Only on WebFloatAnimationCurve, but can't hurt to have here.
virtual WebCompositorAnimationCurve::AnimationCurveType type() const { return CurveId; };

Powered by Google App Engine
This is Rietveld 408576698