| OLD | NEW |
| 1 // Copyright 2011 The Chromium Authors. All rights reserved. | 1 // Copyright 2011 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_SINGLE_THREAD_PROXY_H_ | 5 #ifndef CC_TREES_SINGLE_THREAD_PROXY_H_ |
| 6 #define CC_TREES_SINGLE_THREAD_PROXY_H_ | 6 #define CC_TREES_SINGLE_THREAD_PROXY_H_ |
| 7 | 7 |
| 8 #include <limits> | 8 #include <limits> |
| 9 | 9 |
| 10 #include "base/cancelable_callback.h" | 10 #include "base/cancelable_callback.h" |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 65 void ScheduledActionSendBeginMainFrame(const BeginFrameArgs& args) override; | 65 void ScheduledActionSendBeginMainFrame(const BeginFrameArgs& args) override; |
| 66 DrawResult ScheduledActionDrawIfPossible() override; | 66 DrawResult ScheduledActionDrawIfPossible() override; |
| 67 DrawResult ScheduledActionDrawForced() override; | 67 DrawResult ScheduledActionDrawForced() override; |
| 68 void ScheduledActionCommit() override; | 68 void ScheduledActionCommit() override; |
| 69 void ScheduledActionActivateSyncTree() override; | 69 void ScheduledActionActivateSyncTree() override; |
| 70 void ScheduledActionBeginCompositorFrameSinkCreation() override; | 70 void ScheduledActionBeginCompositorFrameSinkCreation() override; |
| 71 void ScheduledActionPrepareTiles() override; | 71 void ScheduledActionPrepareTiles() override; |
| 72 void ScheduledActionInvalidateCompositorFrameSink() override; | 72 void ScheduledActionInvalidateCompositorFrameSink() override; |
| 73 void ScheduledActionPerformImplSideInvalidation() override; | 73 void ScheduledActionPerformImplSideInvalidation() override; |
| 74 void SendBeginMainFrameNotExpectedSoon() override; | 74 void SendBeginMainFrameNotExpectedSoon() override; |
| 75 int SyncTreeSourceFrameNumber() override; |
| 75 | 76 |
| 76 // LayerTreeHostImplClient implementation | 77 // LayerTreeHostImplClient implementation |
| 77 void DidLoseCompositorFrameSinkOnImplThread() override; | 78 void DidLoseCompositorFrameSinkOnImplThread() override; |
| 78 void SetBeginFrameSource(BeginFrameSource* source) override; | 79 void SetBeginFrameSource(BeginFrameSource* source) override; |
| 79 void DidReceiveCompositorFrameAckOnImplThread() override; | 80 void DidReceiveCompositorFrameAckOnImplThread() override; |
| 80 void OnCanDrawStateChanged(bool can_draw) override; | 81 void OnCanDrawStateChanged(bool can_draw) override; |
| 81 void NotifyReadyToActivate() override; | 82 void NotifyReadyToActivate() override; |
| 82 void NotifyReadyToDraw() override; | 83 void NotifyReadyToDraw() override; |
| 83 void SetNeedsRedrawOnImplThread() override; | 84 void SetNeedsRedrawOnImplThread() override; |
| 84 void SetNeedsOneBeginImplFrameOnImplThread() override; | 85 void SetNeedsOneBeginImplFrameOnImplThread() override; |
| (...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 234 private: | 235 private: |
| 235 DebugScopedSetImplThread impl_thread_; | 236 DebugScopedSetImplThread impl_thread_; |
| 236 DebugScopedSetMainThreadBlocked main_thread_blocked_; | 237 DebugScopedSetMainThreadBlocked main_thread_blocked_; |
| 237 | 238 |
| 238 DISALLOW_COPY_AND_ASSIGN(DebugScopedSetImplThreadAndMainThreadBlocked); | 239 DISALLOW_COPY_AND_ASSIGN(DebugScopedSetImplThreadAndMainThreadBlocked); |
| 239 }; | 240 }; |
| 240 | 241 |
| 241 } // namespace cc | 242 } // namespace cc |
| 242 | 243 |
| 243 #endif // CC_TREES_SINGLE_THREAD_PROXY_H_ | 244 #endif // CC_TREES_SINGLE_THREAD_PROXY_H_ |
| OLD | NEW |