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

Unified Diff: Source/core/animation/CompositorAnimations.h

Issue 225183014: Handle direction control in compositor Animations (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: same patch with a manual test added Created 6 years, 3 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/CompositorAnimations.h
diff --git a/Source/core/animation/CompositorAnimations.h b/Source/core/animation/CompositorAnimations.h
index c3a5dab70655fa54edd2afb914b4188fec58b5a8..32c8a5909e286aeb1be069ad57273cdfffb19407 100644
--- a/Source/core/animation/CompositorAnimations.h
+++ b/Source/core/animation/CompositorAnimations.h
@@ -41,18 +41,6 @@ namespace blink {
class Element;
class FloatBox;
-// Given an input timing function between keyframe at 0 and keyframe at 1.0, we
-// need a timing function such that the behavior with the keyframes swapped is
-// equivalent to reversing time with the input timing function and keyframes.
-// This means flipping the timing function about x=0.5 and about y=0.5.
-// FIXME: Remove once the Compositor natively understands reversing time.
-class CompositorAnimationsTimingFunctionReverser {
-public:
- static PassRefPtr<TimingFunction> reverse(const LinearTimingFunction& timefunc);
- static PassRefPtr<TimingFunction> reverse(const CubicBezierTimingFunction& timefunc);
- static PassRefPtr<TimingFunction> reverse(const TimingFunction& timefunc);
-};
-
class CompositorAnimations {
public:
static CompositorAnimations* instance() { return instance(0); }
« no previous file with comments | « ManualTests/animation/compositor-animation-direction.html ('k') | Source/core/animation/CompositorAnimations.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698