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 TimingFunction; | 14 class TimingFunction; |
15 | 15 |
16 class CORE_EXPORT AnimationInputHelpers { | 16 class CORE_EXPORT AnimationInputHelpers { |
| 17 STATIC_ONLY(AnimationInputHelpers); |
17 public: | 18 public: |
18 static CSSPropertyID keyframeAttributeToCSSPropertyID(const String&); | 19 static CSSPropertyID keyframeAttributeToCSSPropertyID(const String&); |
19 static PassRefPtr<TimingFunction> parseTimingFunction(const String&); | 20 static PassRefPtr<TimingFunction> parseTimingFunction(const String&); |
20 }; | 21 }; |
21 | 22 |
22 } // namespace blink | 23 } // namespace blink |
23 | 24 |
24 #endif // AnimationInputHelpers_h | 25 #endif // AnimationInputHelpers_h |
OLD | NEW |