| 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_ANIMATION_PLAYER_H_ | 5 #ifndef CC_ANIMATION_ANIMATION_PLAYER_H_ |
| 6 #define CC_ANIMATION_ANIMATION_PLAYER_H_ | 6 #define CC_ANIMATION_ANIMATION_PLAYER_H_ |
| 7 | 7 |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/macros.h" | 10 #include "base/macros.h" |
| (...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 181 void RegisterPlayer(); | 181 void RegisterPlayer(); |
| 182 void UnregisterPlayer(); | 182 void UnregisterPlayer(); |
| 183 | 183 |
| 184 void BindElementAnimations(); | 184 void BindElementAnimations(); |
| 185 void UnbindElementAnimations(); | 185 void UnbindElementAnimations(); |
| 186 | 186 |
| 187 void AnimationAdded(); | 187 void AnimationAdded(); |
| 188 | 188 |
| 189 void MarkAbortedAnimationsForDeletion( | 189 void MarkAbortedAnimationsForDeletion( |
| 190 AnimationPlayer* animation_player_impl) const; | 190 AnimationPlayer* animation_player_impl) const; |
| 191 void PurgeAnimationsMarkedForDeletion(); | 191 void PurgeAnimationsMarkedForDeletion(bool impl_only); |
| 192 void PushNewAnimationsToImplThread( | 192 void PushNewAnimationsToImplThread( |
| 193 AnimationPlayer* animation_player_impl) const; | 193 AnimationPlayer* animation_player_impl) const; |
| 194 void RemoveAnimationsCompletedOnMainThread( | 194 void RemoveAnimationsCompletedOnMainThread( |
| 195 AnimationPlayer* animation_player_impl) const; | 195 AnimationPlayer* animation_player_impl) const; |
| 196 void PushPropertiesToImplThread(AnimationPlayer* animation_player_impl); | 196 void PushPropertiesToImplThread(AnimationPlayer* animation_player_impl); |
| 197 | 197 |
| 198 using Animations = std::vector<std::unique_ptr<Animation>>; | 198 using Animations = std::vector<std::unique_ptr<Animation>>; |
| 199 Animations animations_; | 199 Animations animations_; |
| 200 | 200 |
| 201 AnimationHost* animation_host_; | 201 AnimationHost* animation_host_; |
| (...skipping 15 matching lines...) Expand all Loading... |
| 217 bool is_ticking_; | 217 bool is_ticking_; |
| 218 | 218 |
| 219 bool scroll_offset_animation_was_interrupted_; | 219 bool scroll_offset_animation_was_interrupted_; |
| 220 | 220 |
| 221 DISALLOW_COPY_AND_ASSIGN(AnimationPlayer); | 221 DISALLOW_COPY_AND_ASSIGN(AnimationPlayer); |
| 222 }; | 222 }; |
| 223 | 223 |
| 224 } // namespace cc | 224 } // namespace cc |
| 225 | 225 |
| 226 #endif // CC_ANIMATION_ANIMATION_PLAYER_H_ | 226 #endif // CC_ANIMATION_ANIMATION_PLAYER_H_ |
| OLD | NEW |