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/animation/AnimationEffect.h" | 8 #include "core/animation/AnimationEffect.h" |
9 #include "wtf/Vector.h" | 9 #include "wtf/Vector.h" |
10 | 10 |
11 namespace blink { | 11 namespace blink { |
12 | 12 |
13 class AnimationEffect; | 13 class AnimationEffect; |
| 14 class AnimationEffectOrDictionarySequence; |
14 class Dictionary; | 15 class Dictionary; |
15 class Element; | 16 class Element; |
16 class ExceptionState; | 17 class ExceptionState; |
17 | 18 |
18 class EffectInput { | 19 class EffectInput { |
19 public: | 20 public: |
20 static PassRefPtrWillBeRawPtr<AnimationEffect> convert(Element*, const Vecto
r<Dictionary>& keyframeDictionaryVector, ExceptionState&); | 21 static PassRefPtrWillBeRawPtr<AnimationEffect> convert(Element*, const Vecto
r<Dictionary>& keyframeDictionaryVector, ExceptionState&); |
| 22 static PassRefPtrWillBeRawPtr<AnimationEffect> convert(Element*, const Anima
tionEffectOrDictionarySequence&, ExceptionState&); |
21 }; | 23 }; |
22 | 24 |
23 } // namespace blink | 25 } // namespace blink |
24 | 26 |
25 #endif | 27 #endif |
OLD | NEW |