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

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

Issue 2554773002: CC Animation: Rename Active Players to Ticking Players. (Closed)
Patch Set: Rename the argument. 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/layers/layer.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 227 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 DestroyTestMainLayer();
244 void CreateTestImplLayer(ElementListType element_list_type); 244 void CreateTestImplLayer(ElementListType element_list_type);
245 245
246 void ReleaseRefPtrs(); 246 void ReleaseRefPtrs();
247 247
248 void AnimateLayersTransferEvents(base::TimeTicks time, 248 void TickAnimationsTransferEvents(base::TimeTicks time,
249 unsigned expect_events); 249 unsigned expect_events);
250 250
251 AnimationPlayer* GetPlayerForElementId(ElementId element_id); 251 AnimationPlayer* GetPlayerForElementId(ElementId element_id);
252 AnimationPlayer* GetImplPlayerForLayerId(ElementId element_id); 252 AnimationPlayer* GetImplPlayerForLayerId(ElementId element_id);
253 253
254 int NextTestLayerId(); 254 int NextTestLayerId();
255 255
256 bool CheckPlayerTimelineNeedsPushProperties(bool needs_push_properties) const; 256 bool CheckPlayerTimelineNeedsPushProperties(bool needs_push_properties) const;
257 257
258 void PushProperties(); 258 void PushProperties();
259 259
(...skipping 14 matching lines...) Expand all
274 scoped_refptr<ElementAnimations> element_animations_; 274 scoped_refptr<ElementAnimations> element_animations_;
275 275
276 scoped_refptr<AnimationTimeline> timeline_impl_; 276 scoped_refptr<AnimationTimeline> timeline_impl_;
277 scoped_refptr<AnimationPlayer> player_impl_; 277 scoped_refptr<AnimationPlayer> player_impl_;
278 scoped_refptr<ElementAnimations> element_animations_impl_; 278 scoped_refptr<ElementAnimations> element_animations_impl_;
279 }; 279 };
280 280
281 } // namespace cc 281 } // namespace cc
282 282
283 #endif // CC_TEST_ANIMATION_TIMELINES_TEST_COMMON_H_ 283 #endif // CC_TEST_ANIMATION_TIMELINES_TEST_COMMON_H_
OLDNEW
« no previous file with comments | « cc/layers/layer.cc ('k') | cc/test/animation_timelines_test_common.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698