| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 CompositorAnimationPlayer_h | 5 #ifndef CompositorAnimationPlayer_h |
| 6 #define CompositorAnimationPlayer_h | 6 #define CompositorAnimationPlayer_h |
| 7 | 7 |
| 8 #include <memory> |
| 8 #include "base/memory/ref_counted.h" | 9 #include "base/memory/ref_counted.h" |
| 9 #include "cc/animation/animation_delegate.h" | 10 #include "cc/animation/animation_delegate.h" |
| 10 #include "cc/animation/animation_player.h" | 11 #include "cc/animation/animation_player.h" |
| 11 #include "platform/PlatformExport.h" | 12 #include "platform/PlatformExport.h" |
| 12 #include "platform/graphics/CompositorElementId.h" | 13 #include "platform/graphics/CompositorElementId.h" |
| 13 #include "wtf/Noncopyable.h" | 14 #include "wtf/Noncopyable.h" |
| 14 #include "wtf/PtrUtil.h" | 15 #include "wtf/PtrUtil.h" |
| 15 #include <memory> | |
| 16 | 16 |
| 17 namespace cc { | 17 namespace cc { |
| 18 class AnimationCurve; | 18 class AnimationCurve; |
| 19 } | 19 } |
| 20 | 20 |
| 21 namespace blink { | 21 namespace blink { |
| 22 | 22 |
| 23 class CompositorAnimation; | 23 class CompositorAnimation; |
| 24 class CompositorAnimationDelegate; | 24 class CompositorAnimationDelegate; |
| 25 | 25 |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 69 double animationStartTime, | 69 double animationStartTime, |
| 70 std::unique_ptr<cc::AnimationCurve>) override; | 70 std::unique_ptr<cc::AnimationCurve>) override; |
| 71 | 71 |
| 72 scoped_refptr<cc::AnimationPlayer> m_animationPlayer; | 72 scoped_refptr<cc::AnimationPlayer> m_animationPlayer; |
| 73 CompositorAnimationDelegate* m_delegate; | 73 CompositorAnimationDelegate* m_delegate; |
| 74 }; | 74 }; |
| 75 | 75 |
| 76 } // namespace blink | 76 } // namespace blink |
| 77 | 77 |
| 78 #endif // CompositorAnimationPlayer_h | 78 #endif // CompositorAnimationPlayer_h |
| OLD | NEW |