| OLD | NEW |
| 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 Loading... |
| 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_ |
| OLD | NEW |