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 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
107 RefPtrWillBeMember<StyleRuleKeyframes> styleRule; | 107 RefPtrWillBeMember<StyleRuleKeyframes> styleRule; |
108 unsigned styleRuleVersion; | 108 unsigned styleRuleVersion; |
109 }; | 109 }; |
110 | 110 |
111 struct RunningTransition { | 111 struct RunningTransition { |
112 ALLOW_ONLY_INLINE_ALLOCATION(); | 112 ALLOW_ONLY_INLINE_ALLOCATION(); |
113 public: | 113 public: |
114 DEFINE_INLINE_TRACE() | 114 DEFINE_INLINE_TRACE() |
115 { | 115 { |
116 visitor->trace(animation); | 116 visitor->trace(animation); |
117 visitor->trace(from); | |
118 visitor->trace(to); | |
119 } | 117 } |
120 | 118 |
121 Member<Animation> animation; | 119 Member<Animation> animation; |
122 RawPtrWillBeMember<const AnimatableValue> from; | 120 const AnimatableValue* from; |
123 RawPtrWillBeMember<const AnimatableValue> to; | 121 const AnimatableValue* to; |
124 }; | 122 }; |
125 | 123 |
126 using AnimationMap = HeapHashMap<AtomicString, Member<RunningAnimation>>; | 124 using AnimationMap = HeapHashMap<AtomicString, Member<RunningAnimation>>; |
127 AnimationMap m_animations; | 125 AnimationMap m_animations; |
128 | 126 |
129 using TransitionMap = HeapHashMap<CSSPropertyID, RunningTransition>; | 127 using TransitionMap = HeapHashMap<CSSPropertyID, RunningTransition>; |
130 TransitionMap m_transitions; | 128 TransitionMap m_transitions; |
131 | 129 |
132 CSSAnimationUpdate m_pendingUpdate; | 130 CSSAnimationUpdate m_pendingUpdate; |
133 | 131 |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
185 | 183 |
186 RawPtrWillBeMember<Element> m_transitionTarget; | 184 RawPtrWillBeMember<Element> m_transitionTarget; |
187 const CSSPropertyID m_property; | 185 const CSSPropertyID m_property; |
188 AnimationEffect::Phase m_previousPhase; | 186 AnimationEffect::Phase m_previousPhase; |
189 }; | 187 }; |
190 }; | 188 }; |
191 | 189 |
192 } // namespace blink | 190 } // namespace blink |
193 | 191 |
194 #endif | 192 #endif |
OLD | NEW |