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 CompositorMutatorImpl_h | 5 #ifndef CompositorMutatorImpl_h |
6 #define CompositorMutatorImpl_h | 6 #define CompositorMutatorImpl_h |
7 | 7 |
| 8 #include <memory> |
8 #include "core/animation/CustomCompositorAnimationManager.h" | 9 #include "core/animation/CustomCompositorAnimationManager.h" |
9 #include "platform/graphics/CompositorMutator.h" | 10 #include "platform/graphics/CompositorMutator.h" |
10 #include "platform/heap/Handle.h" | 11 #include "platform/heap/Handle.h" |
11 #include "platform/heap/HeapAllocator.h" | 12 #include "platform/heap/HeapAllocator.h" |
12 #include "wtf/Noncopyable.h" | 13 #include "platform/wtf/Noncopyable.h" |
13 #include <memory> | |
14 | 14 |
15 namespace blink { | 15 namespace blink { |
16 | 16 |
17 class CompositorAnimator; | 17 class CompositorAnimator; |
18 class CompositorMutatorClient; | 18 class CompositorMutatorClient; |
19 | 19 |
20 // Fans out requests from the compositor to all of the registered | 20 // Fans out requests from the compositor to all of the registered |
21 // CompositorAnimators which can then mutate layers through their respective | 21 // CompositorAnimators which can then mutate layers through their respective |
22 // mutate interface. Requests for animation frames are received from | 22 // mutate interface. Requests for animation frames are received from |
23 // CompositorAnimators and sent to the compositor to generate a new compositor | 23 // CompositorAnimators and sent to the compositor to generate a new compositor |
(...skipping 29 matching lines...) Expand all Loading... |
53 HashSet<CrossThreadPersistent<CompositorAnimator>>; | 53 HashSet<CrossThreadPersistent<CompositorAnimator>>; |
54 CompositorAnimators m_animators; | 54 CompositorAnimators m_animators; |
55 | 55 |
56 std::unique_ptr<CustomCompositorAnimationManager> m_animationManager; | 56 std::unique_ptr<CustomCompositorAnimationManager> m_animationManager; |
57 CompositorMutatorClient* m_client; | 57 CompositorMutatorClient* m_client; |
58 }; | 58 }; |
59 | 59 |
60 } // namespace blink | 60 } // namespace blink |
61 | 61 |
62 #endif // CompositorMutatorImpl_h | 62 #endif // CompositorMutatorImpl_h |
OLD | NEW |