| 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" |
| (...skipping 14 matching lines...) Expand all Loading... |
| 25 public: | 25 public: |
| 26 // TODO(alancutter): Replace Element* parameter with Document&. | 26 // TODO(alancutter): Replace Element* parameter with Document&. |
| 27 static EffectModel* convert(Element*, | 27 static EffectModel* convert(Element*, |
| 28 const DictionarySequenceOrDictionary&, | 28 const DictionarySequenceOrDictionary&, |
| 29 ExecutionContext*, | 29 ExecutionContext*, |
| 30 ExceptionState&); | 30 ExceptionState&); |
| 31 | 31 |
| 32 private: | 32 private: |
| 33 static EffectModel* convertArrayForm(Element&, | 33 static EffectModel* convertArrayForm(Element&, |
| 34 const Vector<Dictionary>& keyframes, | 34 const Vector<Dictionary>& keyframes, |
| 35 ExecutionContext*, |
| 35 ExceptionState&); | 36 ExceptionState&); |
| 36 static EffectModel* convertObjectForm(Element&, | 37 static EffectModel* convertObjectForm(Element&, |
| 37 const Dictionary& keyframe, | 38 const Dictionary& keyframe, |
| 38 ExecutionContext*, | 39 ExecutionContext*, |
| 39 ExceptionState&); | 40 ExceptionState&); |
| 40 }; | 41 }; |
| 41 | 42 |
| 42 } // namespace blink | 43 } // namespace blink |
| 43 | 44 |
| 44 #endif | 45 #endif |
| OLD | NEW |