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/EffectModel.h" | 9 #include "core/animation/EffectModel.h" |
| 10 #include "wtf/Allocator.h" |
10 #include "wtf/Vector.h" | 11 #include "wtf/Vector.h" |
11 | 12 |
12 namespace blink { | 13 namespace blink { |
13 | 14 |
14 class EffectModel; | 15 class EffectModel; |
15 class EffectModelOrDictionarySequence; | 16 class EffectModelOrDictionarySequence; |
16 class Dictionary; | 17 class Dictionary; |
17 class Element; | 18 class Element; |
18 class ExceptionState; | 19 class ExceptionState; |
19 | 20 |
20 class CORE_EXPORT EffectInput { | 21 class CORE_EXPORT EffectInput { |
| 22 STATIC_ONLY(EffectInput); |
21 public: | 23 public: |
22 static PassRefPtrWillBeRawPtr<EffectModel> convert(Element*, const Vector<Di
ctionary>& keyframeDictionaryVector, ExceptionState&); | 24 static PassRefPtrWillBeRawPtr<EffectModel> convert(Element*, const Vector<Di
ctionary>& keyframeDictionaryVector, ExceptionState&); |
23 static PassRefPtrWillBeRawPtr<EffectModel> convert(Element*, const EffectMod
elOrDictionarySequence&, ExceptionState&); | 25 static PassRefPtrWillBeRawPtr<EffectModel> convert(Element*, const EffectMod
elOrDictionarySequence&, ExceptionState&); |
24 }; | 26 }; |
25 | 27 |
26 } // namespace blink | 28 } // namespace blink |
27 | 29 |
28 #endif | 30 #endif |
OLD | NEW |