| 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 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 87 bool IsInsideDraw() override; | 87 bool IsInsideDraw() override; |
| 88 void RenewTreePriority() override; | 88 void RenewTreePriority() override; |
| 89 void PostDelayedAnimationTaskOnImplThread(const base::Closure& task, | 89 void PostDelayedAnimationTaskOnImplThread(const base::Closure& task, |
| 90 base::TimeDelta delay) override; | 90 base::TimeDelta delay) override; |
| 91 void DidActivateSyncTree() override; | 91 void DidActivateSyncTree() override; |
| 92 void WillPrepareTiles() override; | 92 void WillPrepareTiles() override; |
| 93 void DidPrepareTiles() override; | 93 void DidPrepareTiles() override; |
| 94 void DidCompletePageScaleAnimationOnImplThread() override; | 94 void DidCompletePageScaleAnimationOnImplThread() override; |
| 95 void OnDrawForCompositorFrameSink(bool resourceless_software_draw) override; | 95 void OnDrawForCompositorFrameSink(bool resourceless_software_draw) override; |
| 96 void NeedsImplSideInvalidation() override; | 96 void NeedsImplSideInvalidation() override; |
| 97 void NotifyImageDecodeRequestFinished() override; |
| 97 | 98 |
| 98 // SchedulerClient implementation | 99 // SchedulerClient implementation |
| 99 void WillBeginImplFrame(const BeginFrameArgs& args) override; | 100 void WillBeginImplFrame(const BeginFrameArgs& args) override; |
| 100 void DidFinishImplFrame() override; | 101 void DidFinishImplFrame() override; |
| 101 void DidNotProduceFrame(const BeginFrameAck& ack) override; | 102 void DidNotProduceFrame(const BeginFrameAck& ack) override; |
| 102 void ScheduledActionSendBeginMainFrame(const BeginFrameArgs& args) override; | 103 void ScheduledActionSendBeginMainFrame(const BeginFrameArgs& args) override; |
| 103 DrawResult ScheduledActionDrawIfPossible() override; | 104 DrawResult ScheduledActionDrawIfPossible() override; |
| 104 DrawResult ScheduledActionDrawForced() override; | 105 DrawResult ScheduledActionDrawForced() override; |
| 105 void ScheduledActionCommit() override; | 106 void ScheduledActionCommit() override; |
| 106 void ScheduledActionActivateSyncTree() override; | 107 void ScheduledActionActivateSyncTree() override; |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 156 // A weak pointer to ProxyMain that is invalidated when CompositorFrameSink is | 157 // A weak pointer to ProxyMain that is invalidated when CompositorFrameSink is |
| 157 // released. | 158 // released. |
| 158 base::WeakPtr<ProxyMain> proxy_main_frame_sink_bound_weak_ptr_; | 159 base::WeakPtr<ProxyMain> proxy_main_frame_sink_bound_weak_ptr_; |
| 159 | 160 |
| 160 DISALLOW_COPY_AND_ASSIGN(ProxyImpl); | 161 DISALLOW_COPY_AND_ASSIGN(ProxyImpl); |
| 161 }; | 162 }; |
| 162 | 163 |
| 163 } // namespace cc | 164 } // namespace cc |
| 164 | 165 |
| 165 #endif // CC_TREES_PROXY_IMPL_H_ | 166 #endif // CC_TREES_PROXY_IMPL_H_ |
| OLD | NEW |