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 ScrollAnimatorCompositorCoordinator_h | 5 #ifndef ScrollAnimatorCompositorCoordinator_h |
6 #define ScrollAnimatorCompositorCoordinator_h | 6 #define ScrollAnimatorCompositorCoordinator_h |
7 | 7 |
| 8 #include <memory> |
8 #include "base/gtest_prod_util.h" | 9 #include "base/gtest_prod_util.h" |
9 #include "cc/animation/animation_curve.h" | 10 #include "cc/animation/animation_curve.h" |
10 #include "cc/animation/scroll_offset_animations.h" | 11 #include "cc/animation/scroll_offset_animations.h" |
11 #include "platform/PlatformExport.h" | 12 #include "platform/PlatformExport.h" |
12 #include "platform/animation/CompositorAnimationDelegate.h" | 13 #include "platform/animation/CompositorAnimationDelegate.h" |
13 #include "platform/animation/CompositorAnimationPlayerClient.h" | 14 #include "platform/animation/CompositorAnimationPlayerClient.h" |
14 #include "platform/graphics/CompositorElementId.h" | 15 #include "platform/graphics/CompositorElementId.h" |
15 #include "platform/heap/Handle.h" | 16 #include "platform/heap/Handle.h" |
16 #include "platform/scroll/ScrollTypes.h" | 17 #include "platform/scroll/ScrollTypes.h" |
17 #include "wtf/Allocator.h" | 18 #include "platform/wtf/Allocator.h" |
18 #include "wtf/Noncopyable.h" | 19 #include "platform/wtf/Noncopyable.h" |
19 #include <memory> | |
20 | 20 |
21 namespace blink { | 21 namespace blink { |
22 | 22 |
23 class ScrollableArea; | 23 class ScrollableArea; |
24 class CompositorAnimation; | 24 class CompositorAnimation; |
25 class CompositorAnimationPlayer; | 25 class CompositorAnimationPlayer; |
26 class CompositorAnimationTimeline; | 26 class CompositorAnimationTimeline; |
27 | 27 |
28 class PLATFORM_EXPORT ScrollAnimatorCompositorCoordinator | 28 class PLATFORM_EXPORT ScrollAnimatorCompositorCoordinator |
29 : public GarbageCollectedFinalized<ScrollAnimatorCompositorCoordinator>, | 29 : public GarbageCollectedFinalized<ScrollAnimatorCompositorCoordinator>, |
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
181 bool hasImplOnlyAnimationUpdate() const; | 181 bool hasImplOnlyAnimationUpdate() const; |
182 void updateImplOnlyCompositorAnimations(); | 182 void updateImplOnlyCompositorAnimations(); |
183 // Accesses compositing state and should only be called when in or after | 183 // Accesses compositing state and should only be called when in or after |
184 // DocumentLifecycle::LifecycleState::CompositingClean. | 184 // DocumentLifecycle::LifecycleState::CompositingClean. |
185 void takeOverImplOnlyScrollOffsetAnimation(); | 185 void takeOverImplOnlyScrollOffsetAnimation(); |
186 }; | 186 }; |
187 | 187 |
188 } // namespace blink | 188 } // namespace blink |
189 | 189 |
190 #endif // ScrollAnimatorCompositorCoordinator_h | 190 #endif // ScrollAnimatorCompositorCoordinator_h |
OLD | NEW |