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_TREES_PROXY_IMPL_H_ | 5 #ifndef CC_TREES_PROXY_IMPL_H_ |
6 #define CC_TREES_PROXY_IMPL_H_ | 6 #define CC_TREES_PROXY_IMPL_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 | 9 |
10 #include "base/macros.h" | 10 #include "base/macros.h" |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
83 std::unique_ptr<MutatorEvents> events) override; | 83 std::unique_ptr<MutatorEvents> events) override; |
84 bool IsInsideDraw() override; | 84 bool IsInsideDraw() override; |
85 void RenewTreePriority() override; | 85 void RenewTreePriority() override; |
86 void PostDelayedAnimationTaskOnImplThread(const base::Closure& task, | 86 void PostDelayedAnimationTaskOnImplThread(const base::Closure& task, |
87 base::TimeDelta delay) override; | 87 base::TimeDelta delay) override; |
88 void DidActivateSyncTree() override; | 88 void DidActivateSyncTree() override; |
89 void WillPrepareTiles() override; | 89 void WillPrepareTiles() override; |
90 void DidPrepareTiles() override; | 90 void DidPrepareTiles() override; |
91 void DidCompletePageScaleAnimationOnImplThread() override; | 91 void DidCompletePageScaleAnimationOnImplThread() override; |
92 void OnDrawForCompositorFrameSink(bool resourceless_software_draw) override; | 92 void OnDrawForCompositorFrameSink(bool resourceless_software_draw) override; |
| 93 void NeedsImplSideInvalidation() override; |
93 | 94 |
94 // SchedulerClient implementation | 95 // SchedulerClient implementation |
95 void WillBeginImplFrame(const BeginFrameArgs& args) override; | 96 void WillBeginImplFrame(const BeginFrameArgs& args) override; |
96 void DidFinishImplFrame() override; | 97 void DidFinishImplFrame() override; |
97 void ScheduledActionSendBeginMainFrame(const BeginFrameArgs& args) override; | 98 void ScheduledActionSendBeginMainFrame(const BeginFrameArgs& args) override; |
98 DrawResult ScheduledActionDrawIfPossible() override; | 99 DrawResult ScheduledActionDrawIfPossible() override; |
99 DrawResult ScheduledActionDrawForced() override; | 100 DrawResult ScheduledActionDrawForced() override; |
100 void ScheduledActionCommit() override; | 101 void ScheduledActionCommit() override; |
101 void ScheduledActionActivateSyncTree() override; | 102 void ScheduledActionActivateSyncTree() override; |
102 void ScheduledActionBeginCompositorFrameSinkCreation() override; | 103 void ScheduledActionBeginCompositorFrameSinkCreation() override; |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
144 | 145 |
145 // Used to post tasks to ProxyMain on the main thread. | 146 // Used to post tasks to ProxyMain on the main thread. |
146 base::WeakPtr<ProxyMain> proxy_main_weak_ptr_; | 147 base::WeakPtr<ProxyMain> proxy_main_weak_ptr_; |
147 | 148 |
148 DISALLOW_COPY_AND_ASSIGN(ProxyImpl); | 149 DISALLOW_COPY_AND_ASSIGN(ProxyImpl); |
149 }; | 150 }; |
150 | 151 |
151 } // namespace cc | 152 } // namespace cc |
152 | 153 |
153 #endif // CC_TREES_PROXY_IMPL_H_ | 154 #endif // CC_TREES_PROXY_IMPL_H_ |
OLD | NEW |