| 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 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 |
| OLD | NEW |