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 WebCore { | 11 namespace WebCore { |
12 | 12 |
13 class AnimationEffect; | 13 class AnimationEffect; |
14 class Dictionary; | 14 class Dictionary; |
15 class Element; | 15 class Element; |
| 16 class ExceptionState; |
16 | 17 |
17 class EffectInput { | 18 class EffectInput { |
18 public: | 19 public: |
19 static PassRefPtrWillBeRawPtr<AnimationEffect> convert(Element*, const Vecto
r<Dictionary>& keyframeDictionaryVector, bool unsafe = false); | 20 static PassRefPtrWillBeRawPtr<AnimationEffect> convert(Element*, const Vecto
r<Dictionary>& keyframeDictionaryVector, ExceptionState&, bool unsafe = false); |
20 }; | 21 }; |
21 | 22 |
22 } // namespace WebCore | 23 } // namespace WebCore |
23 | 24 |
24 #endif | 25 #endif |
OLD | NEW |