OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef EffectInput_h | 5 #ifndef EffectInput_h |
6 #define EffectInput_h | 6 #define EffectInput_h |
7 | 7 |
8 #include "core/CoreExport.h" | 8 #include "core/CoreExport.h" |
9 #include "core/animation/AnimationEffect.h" | 9 #include "core/animation/EffectModel.h" |
10 #include "wtf/Vector.h" | 10 #include "wtf/Vector.h" |
11 | 11 |
12 namespace blink { | 12 namespace blink { |
13 | 13 |
14 class AnimationEffect; | 14 class EffectModel; |
15 class AnimationEffectOrDictionarySequence; | 15 class EffectModelOrDictionarySequence; |
16 class Dictionary; | 16 class Dictionary; |
17 class Element; | 17 class Element; |
18 class ExceptionState; | 18 class ExceptionState; |
19 | 19 |
20 class CORE_EXPORT EffectInput { | 20 class CORE_EXPORT EffectInput { |
21 public: | 21 public: |
22 static PassRefPtrWillBeRawPtr<AnimationEffect> convert(Element*, const Vecto
r<Dictionary>& keyframeDictionaryVector, ExceptionState&); | 22 static PassRefPtrWillBeRawPtr<EffectModel> convert(Element*, const Vector<Di
ctionary>& keyframeDictionaryVector, ExceptionState&); |
23 static PassRefPtrWillBeRawPtr<AnimationEffect> convert(Element*, const Anima
tionEffectOrDictionarySequence&, ExceptionState&); | 23 static PassRefPtrWillBeRawPtr<EffectModel> convert(Element*, const EffectMod
elOrDictionarySequence&, ExceptionState&); |
24 }; | 24 }; |
25 | 25 |
26 } // namespace blink | 26 } // namespace blink |
27 | 27 |
28 #endif | 28 #endif |
OLD | NEW |