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

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

Issue 203463009: Web Animations API: Fix Synthetic keyframes + partial keyframes (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Return nullptr after exception + fixmes Created 6 years, 9 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
« no previous file with comments | « Source/core/animation/AnimationTest.cpp ('k') | Source/core/animation/EffectInput.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/animation/AnimationEffect.h" 8 #include "core/animation/AnimationEffect.h"
9 #include "wtf/Vector.h" 9 #include "wtf/Vector.h"
10 10
11 namespace WebCore { 11 namespace WebCore {
12 12
13 class AnimationEffect; 13 class AnimationEffect;
14 class Dictionary; 14 class Dictionary;
15 class Element; 15 class Element;
16 class ExceptionState;
16 17
17 class EffectInput { 18 class EffectInput {
18 public: 19 public:
19 static PassRefPtrWillBeRawPtr<AnimationEffect> convert(Element*, const Vecto r<Dictionary>& keyframeDictionaryVector, bool unsafe = false); 20 static PassRefPtrWillBeRawPtr<AnimationEffect> convert(Element*, const Vecto r<Dictionary>& keyframeDictionaryVector, ExceptionState&, bool unsafe = false);
20 }; 21 };
21 22
22 } // namespace WebCore 23 } // namespace WebCore
23 24
24 #endif 25 #endif
OLDNEW
« no previous file with comments | « Source/core/animation/AnimationTest.cpp ('k') | Source/core/animation/EffectInput.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698