| 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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 void NeedsImplSideInvalidation() override; |
| 94 void NotifyImageDecodeRequestFinished() override; |
| 94 | 95 |
| 95 // SchedulerClient implementation | 96 // SchedulerClient implementation |
| 96 void WillBeginImplFrame(const BeginFrameArgs& args) override; | 97 void WillBeginImplFrame(const BeginFrameArgs& args) override; |
| 97 void DidFinishImplFrame() override; | 98 void DidFinishImplFrame() override; |
| 98 void ScheduledActionSendBeginMainFrame(const BeginFrameArgs& args) override; | 99 void ScheduledActionSendBeginMainFrame(const BeginFrameArgs& args) override; |
| 99 DrawResult ScheduledActionDrawIfPossible() override; | 100 DrawResult ScheduledActionDrawIfPossible() override; |
| 100 DrawResult ScheduledActionDrawForced() override; | 101 DrawResult ScheduledActionDrawForced() override; |
| 101 void ScheduledActionCommit() override; | 102 void ScheduledActionCommit() override; |
| 102 void ScheduledActionActivateSyncTree() override; | 103 void ScheduledActionActivateSyncTree() override; |
| 103 void ScheduledActionBeginCompositorFrameSinkCreation() override; | 104 void ScheduledActionBeginCompositorFrameSinkCreation() override; |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 146 | 147 |
| 147 // Used to post tasks to ProxyMain on the main thread. | 148 // Used to post tasks to ProxyMain on the main thread. |
| 148 base::WeakPtr<ProxyMain> proxy_main_weak_ptr_; | 149 base::WeakPtr<ProxyMain> proxy_main_weak_ptr_; |
| 149 | 150 |
| 150 DISALLOW_COPY_AND_ASSIGN(ProxyImpl); | 151 DISALLOW_COPY_AND_ASSIGN(ProxyImpl); |
| 151 }; | 152 }; |
| 152 | 153 |
| 153 } // namespace cc | 154 } // namespace cc |
| 154 | 155 |
| 155 #endif // CC_TREES_PROXY_IMPL_H_ | 156 #endif // CC_TREES_PROXY_IMPL_H_ |
| OLD | NEW |