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

Side by Side Diff: Source/core/animation/InterpolationFactory.h

Issue 863863004: Implemented additive animations for length (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: More comprehensive non-negative length layout tests Created 5 years, 10 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef InterpolationFactory_h
6 #define InterpolationFactory_h
7
8 #include "core/animation/AnimationEffect.h"
9 #include "core/animation/Interpolation.h"
10 #include "core/dom/Element.h"
11 #include "platform/heap/Handle.h"
12
13 namespace blink {
14
15 class InterpolationFactory {
16 public:
17
18 // FIXME: Remove use of animatableValueCache and element
19 static PassRefPtrWillBeRawPtr<Interpolation> maybeCreateInterpolation(
20 CSSPropertyID,
21 CSSValue* fromCSSValue,
22 CSSValue* toCSSValue,
23 AnimationEffect::CompositeOperation fromComposite,
24 AnimationEffect::CompositeOperation toComposite,
25 RefPtrWillBeRawPtr<AnimatableValue>* fromAnimatableValueCache = nullptr,
26 RefPtrWillBeRawPtr<AnimatableValue>* toAnimatableValueCache = nullptr,
27 Element* = nullptr);
28
29 static PassRefPtrWillBeRawPtr<Interpolation> createConstantInterpolation(
30 CSSPropertyID,
31 CSSValue*,
32 AnimationEffect::CompositeOperation fromComposite,
33 AnimationEffect::CompositeOperation toComposite);
34 };
35
36 } // namespace blink
37
38 #endif // InterpolationFactory_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698