Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(137)

Side by Side Diff: cc/test/animation_timelines_test_common.h

Issue 2527623002: add has_element_in_any_list check in ElementAnimations::UpdateActivation (Closed)
Patch Set: update check condition Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « cc/animation/element_animations_unittest.cc ('k') | cc/test/animation_timelines_test_common.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « cc/animation/element_animations_unittest.cc ('k') | cc/test/animation_timelines_test_common.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698