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