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

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

Issue 2291463003: Revert "CC Animation: Introduce some dirty flags to optimize PushProperties on commit" (Closed)
Patch Set: Created 4 years, 3 months 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/scroll_offset_animations.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 276 matching lines...) Expand 10 before | Expand all | Expand 10 after
287 void ReleaseRefPtrs(); 287 void ReleaseRefPtrs();
288 288
289 void AnimateLayersTransferEvents(base::TimeTicks time, 289 void AnimateLayersTransferEvents(base::TimeTicks time,
290 unsigned expect_events); 290 unsigned expect_events);
291 291
292 AnimationPlayer* GetPlayerForElementId(ElementId element_id); 292 AnimationPlayer* GetPlayerForElementId(ElementId element_id);
293 AnimationPlayer* GetImplPlayerForLayerId(ElementId element_id); 293 AnimationPlayer* GetImplPlayerForLayerId(ElementId element_id);
294 294
295 int NextTestLayerId(); 295 int NextTestLayerId();
296 296
297 bool CheckPlayerTimelineNeedsPushProperties(bool needs_push_properties) const;
298
299 TestHostClient client_; 297 TestHostClient client_;
300 TestHostClient client_impl_; 298 TestHostClient client_impl_;
301 299
302 AnimationHost* host_; 300 AnimationHost* host_;
303 AnimationHost* host_impl_; 301 AnimationHost* host_impl_;
304 302
305 const int timeline_id_; 303 const int timeline_id_;
306 const int player_id_; 304 const int player_id_;
307 ElementId element_id_; 305 ElementId element_id_;
308 306
309 int next_test_layer_id_; 307 int next_test_layer_id_;
310 308
311 scoped_refptr<AnimationTimeline> timeline_; 309 scoped_refptr<AnimationTimeline> timeline_;
312 scoped_refptr<AnimationPlayer> player_; 310 scoped_refptr<AnimationPlayer> player_;
313 311
314 scoped_refptr<AnimationTimeline> timeline_impl_; 312 scoped_refptr<AnimationTimeline> timeline_impl_;
315 scoped_refptr<AnimationPlayer> player_impl_; 313 scoped_refptr<AnimationPlayer> player_impl_;
316 }; 314 };
317 315
318 } // namespace cc 316 } // namespace cc
319 317
320 #endif // CC_TEST_ANIMATION_TIMELINES_TEST_COMMON_H_ 318 #endif // CC_TEST_ANIMATION_TIMELINES_TEST_COMMON_H_
OLDNEW
« no previous file with comments | « cc/animation/scroll_offset_animations.cc ('k') | cc/test/animation_timelines_test_common.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698