| 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 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 74 void ScheduledActionPrepareTiles() override; | 74 void ScheduledActionPrepareTiles() override; |
| 75 void ScheduledActionInvalidateOutputSurface() override; | 75 void ScheduledActionInvalidateOutputSurface() override; |
| 76 void SendBeginFramesToChildren(const BeginFrameArgs& args) override; | 76 void SendBeginFramesToChildren(const BeginFrameArgs& args) override; |
| 77 void SendBeginMainFrameNotExpectedSoon() override; | 77 void SendBeginMainFrameNotExpectedSoon() override; |
| 78 | 78 |
| 79 // LayerTreeHostImplClient implementation | 79 // LayerTreeHostImplClient implementation |
| 80 void UpdateRendererCapabilitiesOnImplThread() override; | 80 void UpdateRendererCapabilitiesOnImplThread() override; |
| 81 void DidLoseOutputSurfaceOnImplThread() override; | 81 void DidLoseOutputSurfaceOnImplThread() override; |
| 82 void CommitVSyncParameters(base::TimeTicks timebase, | 82 void CommitVSyncParameters(base::TimeTicks timebase, |
| 83 base::TimeDelta interval) override; | 83 base::TimeDelta interval) override; |
| 84 void SetBeginFrameSource(BeginFrameSource* source) override; |
| 84 void SetEstimatedParentDrawTime(base::TimeDelta draw_time) override; | 85 void SetEstimatedParentDrawTime(base::TimeDelta draw_time) override; |
| 85 void DidSwapBuffersOnImplThread() override; | 86 void DidSwapBuffersOnImplThread() override; |
| 86 void DidSwapBuffersCompleteOnImplThread() override; | 87 void DidSwapBuffersCompleteOnImplThread() override; |
| 87 void OnCanDrawStateChanged(bool can_draw) override; | 88 void OnCanDrawStateChanged(bool can_draw) override; |
| 88 void NotifyReadyToActivate() override; | 89 void NotifyReadyToActivate() override; |
| 89 void NotifyReadyToDraw() override; | 90 void NotifyReadyToDraw() override; |
| 90 void SetNeedsRedrawOnImplThread() override; | 91 void SetNeedsRedrawOnImplThread() override; |
| 91 void SetNeedsRedrawRectOnImplThread(const gfx::Rect& dirty_rect) override; | 92 void SetNeedsRedrawRectOnImplThread(const gfx::Rect& dirty_rect) override; |
| 92 void SetNeedsOneBeginImplFrameOnImplThread() override; | 93 void SetNeedsOneBeginImplFrameOnImplThread() override; |
| 93 void SetNeedsPrepareTilesOnImplThread() override; | 94 void SetNeedsPrepareTilesOnImplThread() override; |
| (...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 237 private: | 238 private: |
| 238 DebugScopedSetImplThread impl_thread_; | 239 DebugScopedSetImplThread impl_thread_; |
| 239 DebugScopedSetMainThreadBlocked main_thread_blocked_; | 240 DebugScopedSetMainThreadBlocked main_thread_blocked_; |
| 240 | 241 |
| 241 DISALLOW_COPY_AND_ASSIGN(DebugScopedSetImplThreadAndMainThreadBlocked); | 242 DISALLOW_COPY_AND_ASSIGN(DebugScopedSetImplThreadAndMainThreadBlocked); |
| 242 }; | 243 }; |
| 243 | 244 |
| 244 } // namespace cc | 245 } // namespace cc |
| 245 | 246 |
| 246 #endif // CC_TREES_SINGLE_THREAD_PROXY_H_ | 247 #endif // CC_TREES_SINGLE_THREAD_PROXY_H_ |
| OLD | NEW |