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

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

Issue 2971503002: Transform animations should not collapse by default when interpolating (Closed)
Patch Set: . Created 3 years, 5 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/test/animation_test_common.cc ('k') | cc/test/geometry_test_utils.h » ('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
11 #include "cc/animation/animation.h" 11 #include "cc/animation/animation.h"
12 #include "cc/animation/animation_delegate.h" 12 #include "cc/animation/animation_delegate.h"
13 #include "cc/animation/animation_host.h" 13 #include "cc/animation/animation_host.h"
14 #include "cc/trees/mutator_host_client.h" 14 #include "cc/trees/mutator_host_client.h"
15 #include "testing/gtest/include/gtest/gtest.h" 15 #include "testing/gtest/include/gtest/gtest.h"
16 #include "ui/gfx/geometry/scroll_offset.h" 16 #include "ui/gfx/geometry/scroll_offset.h"
17 #include "ui/gfx/transform.h"
17 18
18 namespace cc { 19 namespace cc {
19 20
20 class TestLayer { 21 class TestLayer {
21 public: 22 public:
22 static std::unique_ptr<TestLayer> Create(); 23 static std::unique_ptr<TestLayer> Create();
23 ~TestLayer(); 24 ~TestLayer();
24 25
25 void ClearMutatedProperties(); 26 void ClearMutatedProperties();
26 27
(...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after
274 scoped_refptr<ElementAnimations> element_animations_; 275 scoped_refptr<ElementAnimations> element_animations_;
275 276
276 scoped_refptr<AnimationTimeline> timeline_impl_; 277 scoped_refptr<AnimationTimeline> timeline_impl_;
277 scoped_refptr<AnimationPlayer> player_impl_; 278 scoped_refptr<AnimationPlayer> player_impl_;
278 scoped_refptr<ElementAnimations> element_animations_impl_; 279 scoped_refptr<ElementAnimations> element_animations_impl_;
279 }; 280 };
280 281
281 } // namespace cc 282 } // namespace cc
282 283
283 #endif // CC_TEST_ANIMATION_TIMELINES_TEST_COMMON_H_ 284 #endif // CC_TEST_ANIMATION_TIMELINES_TEST_COMMON_H_
OLDNEW
« no previous file with comments | « cc/test/animation_test_common.cc ('k') | cc/test/geometry_test_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698