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

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

Issue 2524303002: Emit console warning when element.animate() keyframe value fails to parse (Closed)
Patch Set: Review changes Created 4 years 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"
(...skipping 14 matching lines...) Expand all
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698