| 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 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 71 void ScheduledActionCommit() override; | 71 void ScheduledActionCommit() override; |
| 72 void ScheduledActionActivateSyncTree() override; | 72 void ScheduledActionActivateSyncTree() override; |
| 73 void ScheduledActionBeginCompositorFrameSinkCreation() override; | 73 void ScheduledActionBeginCompositorFrameSinkCreation() override; |
| 74 void ScheduledActionPrepareTiles() override; | 74 void ScheduledActionPrepareTiles() override; |
| 75 void ScheduledActionInvalidateCompositorFrameSink() override; | 75 void ScheduledActionInvalidateCompositorFrameSink() override; |
| 76 void SendBeginMainFrameNotExpectedSoon() override; | 76 void SendBeginMainFrameNotExpectedSoon() override; |
| 77 | 77 |
| 78 // LayerTreeHostImplClient implementation | 78 // LayerTreeHostImplClient implementation |
| 79 void DidLoseCompositorFrameSinkOnImplThread() override; | 79 void DidLoseCompositorFrameSinkOnImplThread() override; |
| 80 void SetBeginFrameSource(BeginFrameSource* source) override; | 80 void SetBeginFrameSource(BeginFrameSource* source) override; |
| 81 void SetEstimatedParentDrawTime(base::TimeDelta draw_time) override; | |
| 82 void DidSwapBuffersCompleteOnImplThread() override; | 81 void DidSwapBuffersCompleteOnImplThread() override; |
| 83 void OnCanDrawStateChanged(bool can_draw) override; | 82 void OnCanDrawStateChanged(bool can_draw) override; |
| 84 void NotifyReadyToActivate() override; | 83 void NotifyReadyToActivate() override; |
| 85 void NotifyReadyToDraw() override; | 84 void NotifyReadyToDraw() override; |
| 86 void SetNeedsRedrawOnImplThread() override; | 85 void SetNeedsRedrawOnImplThread() override; |
| 87 void SetNeedsOneBeginImplFrameOnImplThread() override; | 86 void SetNeedsOneBeginImplFrameOnImplThread() override; |
| 88 void SetNeedsPrepareTilesOnImplThread() override; | 87 void SetNeedsPrepareTilesOnImplThread() override; |
| 89 void SetNeedsCommitOnImplThread() override; | 88 void SetNeedsCommitOnImplThread() override; |
| 90 void SetVideoNeedsBeginFrames(bool needs_begin_frames) override; | 89 void SetVideoNeedsBeginFrames(bool needs_begin_frames) override; |
| 91 void PostAnimationEventsToMainThreadOnImplThread( | 90 void PostAnimationEventsToMainThreadOnImplThread( |
| (...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 236 private: | 235 private: |
| 237 DebugScopedSetImplThread impl_thread_; | 236 DebugScopedSetImplThread impl_thread_; |
| 238 DebugScopedSetMainThreadBlocked main_thread_blocked_; | 237 DebugScopedSetMainThreadBlocked main_thread_blocked_; |
| 239 | 238 |
| 240 DISALLOW_COPY_AND_ASSIGN(DebugScopedSetImplThreadAndMainThreadBlocked); | 239 DISALLOW_COPY_AND_ASSIGN(DebugScopedSetImplThreadAndMainThreadBlocked); |
| 241 }; | 240 }; |
| 242 | 241 |
| 243 } // namespace cc | 242 } // namespace cc |
| 244 | 243 |
| 245 #endif // CC_TREES_SINGLE_THREAD_PROXY_H_ | 244 #endif // CC_TREES_SINGLE_THREAD_PROXY_H_ |
| OLD | NEW |