OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2013 Google Inc. All rights reserved. | 2 * Copyright (C) 2013 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
116 | 116 |
117 struct RunningTransition { | 117 struct RunningTransition { |
118 DISALLOW_NEW_EXCEPT_PLACEMENT_NEW(); | 118 DISALLOW_NEW_EXCEPT_PLACEMENT_NEW(); |
119 public: | 119 public: |
120 DEFINE_INLINE_TRACE() | 120 DEFINE_INLINE_TRACE() |
121 { | 121 { |
122 visitor->trace(animation); | 122 visitor->trace(animation); |
123 } | 123 } |
124 | 124 |
125 Member<Animation> animation; | 125 Member<Animation> animation; |
126 const AnimatableValue* from; | 126 RefPtr<AnimatableValue> from; |
127 const AnimatableValue* to; | 127 RefPtr<AnimatableValue> to; |
128 RefPtr<AnimatableValue> reversingAdjustedStartValue; | 128 RefPtr<AnimatableValue> reversingAdjustedStartValue; |
129 double reversingShorteningFactor; | 129 double reversingShorteningFactor; |
130 }; | 130 }; |
131 | 131 |
132 HeapVector<Member<RunningAnimation>> m_runningAnimations; | 132 HeapVector<Member<RunningAnimation>> m_runningAnimations; |
133 | 133 |
134 using TransitionMap = HeapHashMap<CSSPropertyID, RunningTransition>; | 134 using TransitionMap = HeapHashMap<CSSPropertyID, RunningTransition>; |
135 TransitionMap m_transitions; | 135 TransitionMap m_transitions; |
136 | 136 |
137 CSSAnimationUpdate m_pendingUpdate; | 137 CSSAnimationUpdate m_pendingUpdate; |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
191 | 191 |
192 Member<Element> m_transitionTarget; | 192 Member<Element> m_transitionTarget; |
193 const CSSPropertyID m_property; | 193 const CSSPropertyID m_property; |
194 AnimationEffect::Phase m_previousPhase; | 194 AnimationEffect::Phase m_previousPhase; |
195 }; | 195 }; |
196 }; | 196 }; |
197 | 197 |
198 } // namespace blink | 198 } // namespace blink |
199 | 199 |
200 #endif | 200 #endif |
OLD | NEW |