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 TimingInput_h | 5 #ifndef TimingInput_h |
6 #define TimingInput_h | 6 #define TimingInput_h |
7 | 7 |
8 #include "core/CoreExport.h" | 8 #include "core/CoreExport.h" |
9 #include "core/animation/Timing.h" | 9 #include "core/animation/Timing.h" |
10 #include "wtf/Allocator.h" | 10 #include "wtf/Allocator.h" |
11 | 11 |
12 namespace blink { | 12 namespace blink { |
13 | 13 |
14 class Dictionary; | |
15 class Document; | 14 class Document; |
16 class ExceptionState; | 15 class ExceptionState; |
17 class KeyframeEffectOptions; | 16 class KeyframeEffectOptions; |
18 class UnrestrictedDoubleOrString; | 17 class UnrestrictedDoubleOrString; |
19 | 18 |
20 class CORE_EXPORT TimingInput { | 19 class CORE_EXPORT TimingInput { |
21 STATIC_ONLY(TimingInput); | 20 STATIC_ONLY(TimingInput); |
22 | 21 |
23 public: | 22 public: |
24 static bool convert(const KeyframeEffectOptions& timingInput, | 23 static bool convert(const KeyframeEffectOptions& timingInput, |
(...skipping 18 matching lines...) Expand all Loading... |
43 static void setPlaybackDirection(Timing&, const String& direction); | 42 static void setPlaybackDirection(Timing&, const String& direction); |
44 static bool setTimingFunction(Timing&, | 43 static bool setTimingFunction(Timing&, |
45 const String& timingFunctionString, | 44 const String& timingFunctionString, |
46 Document*, | 45 Document*, |
47 ExceptionState&); | 46 ExceptionState&); |
48 }; | 47 }; |
49 | 48 |
50 } // namespace blink | 49 } // namespace blink |
51 | 50 |
52 #endif | 51 #endif |
OLD | NEW |