Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(97)

Side by Side Diff: third_party/WebKit/Source/core/animation/EffectInput.h

Issue 2234683002: Remove EffectModel IDL interface (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 EffectModelOrDictionarySequenceOrDictionary; 16 class DictionarySequenceOrDictionary;
17 class Dictionary; 17 class Dictionary;
18 class Element; 18 class Element;
19 class ExceptionState; 19 class ExceptionState;
20 class ExecutionContext; 20 class ExecutionContext;
21 21
22 class CORE_EXPORT EffectInput { 22 class CORE_EXPORT EffectInput {
23 STATIC_ONLY(EffectInput); 23 STATIC_ONLY(EffectInput);
24 public: 24 public:
25 // TODO(alancutter): Replace Element* parameter with Document&. 25 // TODO(alancutter): Replace Element* parameter with Document&.
26 static EffectModel* convert(Element*, const EffectModelOrDictionarySequenceO rDictionary&, ExecutionContext*, ExceptionState&); 26 static EffectModel* convert(Element*, const DictionarySequenceOrDictionary&, ExecutionContext*, ExceptionState&);
27 27
28 private: 28 private:
29 static EffectModel* convertArrayForm(Element&, const Vector<Dictionary>& key frames, ExceptionState&); 29 static EffectModel* convertArrayForm(Element&, const Vector<Dictionary>& key frames, ExceptionState&);
30 static EffectModel* convertObjectForm(Element&, const Dictionary& keyframe, ExceptionState&); 30 static EffectModel* convertObjectForm(Element&, const Dictionary& keyframe, ExceptionState&);
31 }; 31 };
32 32
33 } // namespace blink 33 } // namespace blink
34 34
35 #endif 35 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/bindings/core/v8/generated.gypi ('k') | third_party/WebKit/Source/core/animation/EffectInput.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698