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 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
86 bool IsInsideDraw() override; | 86 bool IsInsideDraw() override; |
87 void RenewTreePriority() override; | 87 void RenewTreePriority() override; |
88 void PostDelayedAnimationTaskOnImplThread(const base::Closure& task, | 88 void PostDelayedAnimationTaskOnImplThread(const base::Closure& task, |
89 base::TimeDelta delay) override; | 89 base::TimeDelta delay) override; |
90 void DidActivateSyncTree() override; | 90 void DidActivateSyncTree() override; |
91 void WillPrepareTiles() override; | 91 void WillPrepareTiles() override; |
92 void DidPrepareTiles() override; | 92 void DidPrepareTiles() override; |
93 void DidCompletePageScaleAnimationOnImplThread() override; | 93 void DidCompletePageScaleAnimationOnImplThread() override; |
94 void OnDrawForCompositorFrameSink(bool resourceless_software_draw) override; | 94 void OnDrawForCompositorFrameSink(bool resourceless_software_draw) override; |
95 void NeedsImplSideInvalidation() override; | 95 void NeedsImplSideInvalidation() override; |
| 96 void NotifyImageDecodeRequestFinished() override; |
96 | 97 |
97 // SchedulerClient implementation | 98 // SchedulerClient implementation |
98 void WillBeginImplFrame(const BeginFrameArgs& args) override; | 99 void WillBeginImplFrame(const BeginFrameArgs& args) override; |
99 void DidFinishImplFrame() override; | 100 void DidFinishImplFrame() override; |
100 void ScheduledActionSendBeginMainFrame(const BeginFrameArgs& args) override; | 101 void ScheduledActionSendBeginMainFrame(const BeginFrameArgs& args) override; |
101 DrawResult ScheduledActionDrawIfPossible() override; | 102 DrawResult ScheduledActionDrawIfPossible() override; |
102 DrawResult ScheduledActionDrawForced() override; | 103 DrawResult ScheduledActionDrawForced() override; |
103 void ScheduledActionCommit() override; | 104 void ScheduledActionCommit() override; |
104 void ScheduledActionActivateSyncTree() override; | 105 void ScheduledActionActivateSyncTree() override; |
105 void ScheduledActionBeginCompositorFrameSinkCreation() override; | 106 void ScheduledActionBeginCompositorFrameSinkCreation() override; |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
148 | 149 |
149 // Used to post tasks to ProxyMain on the main thread. | 150 // Used to post tasks to ProxyMain on the main thread. |
150 base::WeakPtr<ProxyMain> proxy_main_weak_ptr_; | 151 base::WeakPtr<ProxyMain> proxy_main_weak_ptr_; |
151 | 152 |
152 DISALLOW_COPY_AND_ASSIGN(ProxyImpl); | 153 DISALLOW_COPY_AND_ASSIGN(ProxyImpl); |
153 }; | 154 }; |
154 | 155 |
155 } // namespace cc | 156 } // namespace cc |
156 | 157 |
157 #endif // CC_TREES_PROXY_IMPL_H_ | 158 #endif // CC_TREES_PROXY_IMPL_H_ |
OLD | NEW |