OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 CC_ANIMATION_ELEMENT_ANIMATIONS_H_ | 5 #ifndef CC_ANIMATION_ELEMENT_ANIMATIONS_H_ |
6 #define CC_ANIMATION_ELEMENT_ANIMATIONS_H_ | 6 #define CC_ANIMATION_ELEMENT_ANIMATIONS_H_ |
7 | 7 |
8 #include <bitset> | 8 #include <bitset> |
9 #include <memory> | 9 #include <memory> |
10 #include <vector> | 10 #include <vector> |
(...skipping 276 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
287 bool potentially_animating_for_active_elements = false; | 287 bool potentially_animating_for_active_elements = false; |
288 bool potentially_animating_for_pending_elements = false; | 288 bool potentially_animating_for_pending_elements = false; |
289 void Clear() { | 289 void Clear() { |
290 currently_running_for_active_elements = false; | 290 currently_running_for_active_elements = false; |
291 currently_running_for_pending_elements = false; | 291 currently_running_for_pending_elements = false; |
292 potentially_animating_for_active_elements = false; | 292 potentially_animating_for_active_elements = false; |
293 potentially_animating_for_pending_elements = false; | 293 potentially_animating_for_pending_elements = false; |
294 } | 294 } |
295 }; | 295 }; |
296 | 296 |
| 297 struct PropertyAnimationState filter_animation_state_; |
297 struct PropertyAnimationState opacity_animation_state_; | 298 struct PropertyAnimationState opacity_animation_state_; |
298 struct PropertyAnimationState transform_animation_state_; | 299 struct PropertyAnimationState transform_animation_state_; |
299 | 300 |
300 DISALLOW_COPY_AND_ASSIGN(ElementAnimations); | 301 DISALLOW_COPY_AND_ASSIGN(ElementAnimations); |
301 }; | 302 }; |
302 | 303 |
303 } // namespace cc | 304 } // namespace cc |
304 | 305 |
305 #endif // CC_ANIMATION_ELEMENT_ANIMATIONS_H_ | 306 #endif // CC_ANIMATION_ELEMENT_ANIMATIONS_H_ |
OLD | NEW |