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

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

Issue 1851003002: Throw TypeError if easing string is invalid. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix "liner"->"linear" typo in ui/file_manager js file Created 4 years, 8 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 AnimationInputHelpers_h 5 #ifndef AnimationInputHelpers_h
6 #define AnimationInputHelpers_h 6 #define AnimationInputHelpers_h
7 7
8 #include "core/CSSPropertyNames.h" 8 #include "core/CSSPropertyNames.h"
9 #include "core/CoreExport.h" 9 #include "core/CoreExport.h"
10 #include "wtf/Forward.h" 10 #include "wtf/Forward.h"
11 11
12 namespace blink { 12 namespace blink {
13 13
14 class Element; 14 class Element;
15 class ExceptionState;
15 class TimingFunction; 16 class TimingFunction;
16 class QualifiedName; 17 class QualifiedName;
17 18
18 class CORE_EXPORT AnimationInputHelpers { 19 class CORE_EXPORT AnimationInputHelpers {
19 STATIC_ONLY(AnimationInputHelpers); 20 STATIC_ONLY(AnimationInputHelpers);
20 public: 21 public:
21 static CSSPropertyID keyframeAttributeToCSSProperty(const String&, const Doc ument&); 22 static CSSPropertyID keyframeAttributeToCSSProperty(const String&, const Doc ument&);
22 static CSSPropertyID keyframeAttributeToPresentationAttribute(const String&, const Element&); 23 static CSSPropertyID keyframeAttributeToPresentationAttribute(const String&, const Element&);
23 static const QualifiedName* keyframeAttributeToSVGAttribute(const String&, E lement&); 24 static const QualifiedName* keyframeAttributeToSVGAttribute(const String&, E lement&);
24 static PassRefPtr<TimingFunction> parseTimingFunction(const String&, Documen t*); 25 static PassRefPtr<TimingFunction> parseTimingFunction(const String&, Documen t*, ExceptionState&);
25 }; 26 };
26 27
27 } // namespace blink 28 } // namespace blink
28 29
29 #endif // AnimationInputHelpers_h 30 #endif // AnimationInputHelpers_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698