| 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 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 80 void DidBeginImplFrameDeadline() override; | 80 void DidBeginImplFrameDeadline() override; |
| 81 void SendBeginFramesToChildren(const BeginFrameArgs& args) override; | 81 void SendBeginFramesToChildren(const BeginFrameArgs& args) override; |
| 82 void SendBeginMainFrameNotExpectedSoon() override; | 82 void SendBeginMainFrameNotExpectedSoon() override; |
| 83 | 83 |
| 84 // LayerTreeHostImplClient implementation | 84 // LayerTreeHostImplClient implementation |
| 85 void UpdateRendererCapabilitiesOnImplThread() override; | 85 void UpdateRendererCapabilitiesOnImplThread() override; |
| 86 void DidLoseOutputSurfaceOnImplThread() override; | 86 void DidLoseOutputSurfaceOnImplThread() override; |
| 87 void CommitVSyncParameters(base::TimeTicks timebase, | 87 void CommitVSyncParameters(base::TimeTicks timebase, |
| 88 base::TimeDelta interval) override; | 88 base::TimeDelta interval) override; |
| 89 void SetEstimatedParentDrawTime(base::TimeDelta draw_time) override; | 89 void SetEstimatedParentDrawTime(base::TimeDelta draw_time) override; |
| 90 void SetMaxSwapsPendingOnImplThread(int max) override {} | 90 void SetMaxSwapsPendingOnImplThread(int max) override; |
| 91 void DidSwapBuffersOnImplThread() override; | 91 void DidSwapBuffersOnImplThread() override; |
| 92 void DidSwapBuffersCompleteOnImplThread() override; | 92 void DidSwapBuffersCompleteOnImplThread() override; |
| 93 void OnCanDrawStateChanged(bool can_draw) override; | 93 void OnCanDrawStateChanged(bool can_draw) override; |
| 94 void NotifyReadyToActivate() override; | 94 void NotifyReadyToActivate() override; |
| 95 void NotifyReadyToDraw() override; | 95 void NotifyReadyToDraw() override; |
| 96 void SetNeedsRedrawOnImplThread() override; | 96 void SetNeedsRedrawOnImplThread() override; |
| 97 void SetNeedsRedrawRectOnImplThread(const gfx::Rect& dirty_rect) override; | 97 void SetNeedsRedrawRectOnImplThread(const gfx::Rect& dirty_rect) override; |
| 98 void SetNeedsAnimateOnImplThread() override; | 98 void SetNeedsAnimateOnImplThread() override; |
| 99 void SetNeedsPrepareTilesOnImplThread() override; | 99 void SetNeedsPrepareTilesOnImplThread() override; |
| 100 void SetNeedsCommitOnImplThread() override; | 100 void SetNeedsCommitOnImplThread() override; |
| (...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 231 private: | 231 private: |
| 232 DebugScopedSetImplThread impl_thread_; | 232 DebugScopedSetImplThread impl_thread_; |
| 233 DebugScopedSetMainThreadBlocked main_thread_blocked_; | 233 DebugScopedSetMainThreadBlocked main_thread_blocked_; |
| 234 | 234 |
| 235 DISALLOW_COPY_AND_ASSIGN(DebugScopedSetImplThreadAndMainThreadBlocked); | 235 DISALLOW_COPY_AND_ASSIGN(DebugScopedSetImplThreadAndMainThreadBlocked); |
| 236 }; | 236 }; |
| 237 | 237 |
| 238 } // namespace cc | 238 } // namespace cc |
| 239 | 239 |
| 240 #endif // CC_TREES_SINGLE_THREAD_PROXY_H_ | 240 #endif // CC_TREES_SINGLE_THREAD_PROXY_H_ |
| OLD | NEW |