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 Keyframe_h | 5 #ifndef Keyframe_h |
6 #define Keyframe_h | 6 #define Keyframe_h |
7 | 7 |
8 #include "core/CoreExport.h" | 8 #include "core/CoreExport.h" |
9 #include "core/animation/AnimationEffect.h" | 9 #include "core/animation/AnimationEffect.h" |
10 #include "core/animation/EffectModel.h" | 10 #include "core/animation/EffectModel.h" |
11 #include "core/animation/PropertyHandle.h" | 11 #include "core/animation/PropertyHandle.h" |
12 #include "core/animation/animatable/AnimatableValue.h" | 12 #include "core/animation/animatable/AnimatableValue.h" |
13 #include "wtf/Allocator.h" | 13 #include "wtf/Allocator.h" |
| 14 #include "wtf/Forward.h" |
| 15 #include "wtf/RefCounted.h" |
| 16 #include "wtf/RefPtr.h" |
14 | 17 |
15 namespace blink { | 18 namespace blink { |
16 | 19 |
17 using PropertyHandleSet = HashSet<PropertyHandle>; | 20 using PropertyHandleSet = HashSet<PropertyHandle>; |
18 | 21 |
19 class Element; | 22 class Element; |
20 class ComputedStyle; | 23 class ComputedStyle; |
21 | 24 |
22 // Represents a user specificed keyframe in a KeyframeEffect. | 25 // Represents a user specificed keyframe in a KeyframeEffect. |
23 // http://w3c.github.io/web-animations/#keyframe | 26 // http://w3c.github.io/web-animations/#keyframe |
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
106 double m_offset; | 109 double m_offset; |
107 EffectModel::CompositeOperation m_composite; | 110 EffectModel::CompositeOperation m_composite; |
108 RefPtr<TimingFunction> m_easing; | 111 RefPtr<TimingFunction> m_easing; |
109 }; | 112 }; |
110 | 113 |
111 using PropertySpecificKeyframe = Keyframe::PropertySpecificKeyframe; | 114 using PropertySpecificKeyframe = Keyframe::PropertySpecificKeyframe; |
112 | 115 |
113 } // namespace blink | 116 } // namespace blink |
114 | 117 |
115 #endif // Keyframe_h | 118 #endif // Keyframe_h |
OLD | NEW |