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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 bool MainFrameWillHappenForTesting() override; | 59 bool MainFrameWillHappenForTesting() override; |
60 void SetChildrenNeedBeginFrames(bool children_need_begin_frames) override; | 60 void SetChildrenNeedBeginFrames(bool children_need_begin_frames) override; |
61 void SetAuthoritativeVSyncInterval(const base::TimeDelta& interval) override; | 61 void SetAuthoritativeVSyncInterval(const base::TimeDelta& interval) override; |
62 void UpdateTopControlsState(TopControlsState constraints, | 62 void UpdateTopControlsState(TopControlsState constraints, |
63 TopControlsState current, | 63 TopControlsState current, |
64 bool animate) override; | 64 bool animate) override; |
65 | 65 |
66 // SchedulerClient implementation | 66 // SchedulerClient implementation |
67 void WillBeginImplFrame(const BeginFrameArgs& args) override; | 67 void WillBeginImplFrame(const BeginFrameArgs& args) override; |
68 void DidFinishImplFrame() override; | 68 void DidFinishImplFrame() override; |
69 void ScheduledActionSendBeginMainFrame() override; | 69 void ScheduledActionSendBeginMainFrame(const BeginFrameArgs& args) override; |
70 DrawResult ScheduledActionDrawAndSwapIfPossible() override; | 70 DrawResult ScheduledActionDrawAndSwapIfPossible() override; |
71 DrawResult ScheduledActionDrawAndSwapForced() override; | 71 DrawResult ScheduledActionDrawAndSwapForced() override; |
72 void ScheduledActionCommit() override; | 72 void ScheduledActionCommit() override; |
73 void ScheduledActionAnimate() override; | 73 void ScheduledActionAnimate() override; |
74 void ScheduledActionActivateSyncTree() override; | 74 void ScheduledActionActivateSyncTree() override; |
75 void ScheduledActionBeginOutputSurfaceCreation() override; | 75 void ScheduledActionBeginOutputSurfaceCreation() override; |
76 void ScheduledActionPrepareTiles() override; | 76 void ScheduledActionPrepareTiles() override; |
77 void ScheduledActionInvalidateOutputSurface() override; | 77 void ScheduledActionInvalidateOutputSurface() override; |
78 void SendBeginFramesToChildren(const BeginFrameArgs& args) override; | 78 void SendBeginFramesToChildren(const BeginFrameArgs& args) override; |
79 void SendBeginMainFrameNotExpectedSoon() override; | 79 void SendBeginMainFrameNotExpectedSoon() override; |
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
236 private: | 236 private: |
237 DebugScopedSetImplThread impl_thread_; | 237 DebugScopedSetImplThread impl_thread_; |
238 DebugScopedSetMainThreadBlocked main_thread_blocked_; | 238 DebugScopedSetMainThreadBlocked main_thread_blocked_; |
239 | 239 |
240 DISALLOW_COPY_AND_ASSIGN(DebugScopedSetImplThreadAndMainThreadBlocked); | 240 DISALLOW_COPY_AND_ASSIGN(DebugScopedSetImplThreadAndMainThreadBlocked); |
241 }; | 241 }; |
242 | 242 |
243 } // namespace cc | 243 } // namespace cc |
244 | 244 |
245 #endif // CC_TREES_SINGLE_THREAD_PROXY_H_ | 245 #endif // CC_TREES_SINGLE_THREAD_PROXY_H_ |
OLD | NEW |