| 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/Allocator.h" | 10 #include "platform/wtf/Allocator.h" |
| 11 #include "wtf/Forward.h" | 11 #include "platform/wtf/Forward.h" |
| 12 | 12 |
| 13 namespace blink { | 13 namespace blink { |
| 14 | 14 |
| 15 class Document; | 15 class Document; |
| 16 class Element; | 16 class Element; |
| 17 class ExceptionState; | 17 class ExceptionState; |
| 18 class TimingFunction; | 18 class TimingFunction; |
| 19 class QualifiedName; | 19 class QualifiedName; |
| 20 | 20 |
| 21 class CORE_EXPORT AnimationInputHelpers { | 21 class CORE_EXPORT AnimationInputHelpers { |
| 22 STATIC_ONLY(AnimationInputHelpers); | 22 STATIC_ONLY(AnimationInputHelpers); |
| 23 | 23 |
| 24 public: | 24 public: |
| 25 static CSSPropertyID keyframeAttributeToCSSProperty(const String&, | 25 static CSSPropertyID keyframeAttributeToCSSProperty(const String&, |
| 26 const Document&); | 26 const Document&); |
| 27 static CSSPropertyID keyframeAttributeToPresentationAttribute(const String&, | 27 static CSSPropertyID keyframeAttributeToPresentationAttribute(const String&, |
| 28 const Element&); | 28 const Element&); |
| 29 static const QualifiedName* keyframeAttributeToSVGAttribute(const String&, | 29 static const QualifiedName* keyframeAttributeToSVGAttribute(const String&, |
| 30 Element&); | 30 Element&); |
| 31 static PassRefPtr<TimingFunction> parseTimingFunction(const String&, | 31 static PassRefPtr<TimingFunction> parseTimingFunction(const String&, |
| 32 Document*, | 32 Document*, |
| 33 ExceptionState&); | 33 ExceptionState&); |
| 34 }; | 34 }; |
| 35 | 35 |
| 36 } // namespace blink | 36 } // namespace blink |
| 37 | 37 |
| 38 #endif // AnimationInputHelpers_h | 38 #endif // AnimationInputHelpers_h |
| OLD | NEW |