| 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_TEST_ANIMATION_TIMELINES_TEST_COMMON_H_ | 5 #ifndef CC_TEST_ANIMATION_TIMELINES_TEST_COMMON_H_ |
| 6 #define CC_TEST_ANIMATION_TIMELINES_TEST_COMMON_H_ | 6 #define CC_TEST_ANIMATION_TIMELINES_TEST_COMMON_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 #include <unordered_map> | 9 #include <unordered_map> |
| 10 | 10 |
| (...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 233 void TearDown() override; | 233 void TearDown() override; |
| 234 | 234 |
| 235 void GetImplTimelineAndPlayerByID(); | 235 void GetImplTimelineAndPlayerByID(); |
| 236 | 236 |
| 237 void CreateTestLayer(bool needs_active_value_observations, | 237 void CreateTestLayer(bool needs_active_value_observations, |
| 238 bool needs_pending_value_observations); | 238 bool needs_pending_value_observations); |
| 239 void AttachTimelinePlayerLayer(); | 239 void AttachTimelinePlayerLayer(); |
| 240 void CreateImplTimelineAndPlayer(); | 240 void CreateImplTimelineAndPlayer(); |
| 241 | 241 |
| 242 void CreateTestMainLayer(); | 242 void CreateTestMainLayer(); |
| 243 void DestroyTestMainLayer(); |
| 243 void CreateTestImplLayer(ElementListType element_list_type); | 244 void CreateTestImplLayer(ElementListType element_list_type); |
| 244 | 245 |
| 245 void ReleaseRefPtrs(); | 246 void ReleaseRefPtrs(); |
| 246 | 247 |
| 247 void AnimateLayersTransferEvents(base::TimeTicks time, | 248 void AnimateLayersTransferEvents(base::TimeTicks time, |
| 248 unsigned expect_events); | 249 unsigned expect_events); |
| 249 | 250 |
| 250 AnimationPlayer* GetPlayerForElementId(ElementId element_id); | 251 AnimationPlayer* GetPlayerForElementId(ElementId element_id); |
| 251 AnimationPlayer* GetImplPlayerForLayerId(ElementId element_id); | 252 AnimationPlayer* GetImplPlayerForLayerId(ElementId element_id); |
| 252 | 253 |
| (...skipping 20 matching lines...) Expand all Loading... |
| 273 scoped_refptr<ElementAnimations> element_animations_; | 274 scoped_refptr<ElementAnimations> element_animations_; |
| 274 | 275 |
| 275 scoped_refptr<AnimationTimeline> timeline_impl_; | 276 scoped_refptr<AnimationTimeline> timeline_impl_; |
| 276 scoped_refptr<AnimationPlayer> player_impl_; | 277 scoped_refptr<AnimationPlayer> player_impl_; |
| 277 scoped_refptr<ElementAnimations> element_animations_impl_; | 278 scoped_refptr<ElementAnimations> element_animations_impl_; |
| 278 }; | 279 }; |
| 279 | 280 |
| 280 } // namespace cc | 281 } // namespace cc |
| 281 | 282 |
| 282 #endif // CC_TEST_ANIMATION_TIMELINES_TEST_COMMON_H_ | 283 #endif // CC_TEST_ANIMATION_TIMELINES_TEST_COMMON_H_ |
| OLD | NEW |