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

Side by Side Diff: cc/animation/element_animations_unittest.cc

Issue 1877073006: CC Animation: Make AnimationRegistrar a private member of AnimationHost. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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/element_animations.cc ('k') | cc/animation/layer_animation_controller_unittest.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 #include "cc/animation/element_animations.h" 5 #include "cc/animation/element_animations.h"
6 6
7 #include "cc/animation/animation_delegate.h" 7 #include "cc/animation/animation_delegate.h"
8 #include "cc/animation/animation_host.h" 8 #include "cc/animation/animation_host.h"
9 #include "cc/animation/animation_id_provider.h" 9 #include "cc/animation/animation_id_provider.h"
10 #include "cc/animation/animation_player.h" 10 #include "cc/animation/animation_player.h"
11 #include "cc/animation/animation_registrar.h"
12 #include "cc/animation/animation_timeline.h" 11 #include "cc/animation/animation_timeline.h"
13 #include "cc/test/animation_test_common.h" 12 #include "cc/test/animation_test_common.h"
14 #include "cc/test/animation_timelines_test_common.h" 13 #include "cc/test/animation_timelines_test_common.h"
15 14
16 namespace cc { 15 namespace cc {
17 namespace { 16 namespace {
18 17
19 class ElementAnimationsTest : public AnimationTimelinesTest { 18 class ElementAnimationsTest : public AnimationTimelinesTest {
20 public: 19 public:
21 ElementAnimationsTest() {} 20 ElementAnimationsTest() {}
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after
209 node = node->next()) { 208 node = node->next()) {
210 const AnimationPlayer* player_impl = node->value(); 209 const AnimationPlayer* player_impl = node->value();
211 EXPECT_TRUE(timeline_->GetPlayerById(player_impl->id())); 210 EXPECT_TRUE(timeline_->GetPlayerById(player_impl->id()));
212 ++list_size_after; 211 ++list_size_after;
213 } 212 }
214 EXPECT_EQ(2, list_size_after); 213 EXPECT_EQ(2, list_size_after);
215 } 214 }
216 215
217 } // namespace 216 } // namespace
218 } // namespace cc 217 } // namespace cc
OLDNEW
« no previous file with comments | « cc/animation/element_animations.cc ('k') | cc/animation/layer_animation_controller_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698