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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 bool BeginMainFrameRequested() const override; | 54 bool BeginMainFrameRequested() const override; |
55 void MainThreadHasStoppedFlinging() override {} | 55 void MainThreadHasStoppedFlinging() override {} |
56 void Start( | 56 void Start( |
57 std::unique_ptr<BeginFrameSource> external_begin_frame_source) override; | 57 std::unique_ptr<BeginFrameSource> external_begin_frame_source) override; |
58 void Stop() override; | 58 void Stop() override; |
59 bool SupportsImplScrolling() const override; | 59 bool SupportsImplScrolling() const override; |
60 bool MainFrameWillHappenForTesting() override; | 60 bool MainFrameWillHappenForTesting() override; |
61 void UpdateTopControlsState(TopControlsState constraints, | 61 void UpdateTopControlsState(TopControlsState constraints, |
62 TopControlsState current, | 62 TopControlsState current, |
63 bool animate) override; | 63 bool animate) override; |
64 void SetOutputIsSecure(bool output_is_secure) override; | |
65 | 64 |
66 // SchedulerClient implementation | 65 // SchedulerClient implementation |
67 void WillBeginImplFrame(const BeginFrameArgs& args) override; | 66 void WillBeginImplFrame(const BeginFrameArgs& args) override; |
68 void DidFinishImplFrame() override; | 67 void DidFinishImplFrame() override; |
69 void ScheduledActionSendBeginMainFrame(const BeginFrameArgs& args) override; | 68 void ScheduledActionSendBeginMainFrame(const BeginFrameArgs& args) override; |
70 DrawResult ScheduledActionDrawAndSwapIfPossible() override; | 69 DrawResult ScheduledActionDrawAndSwapIfPossible() override; |
71 DrawResult ScheduledActionDrawAndSwapForced() override; | 70 DrawResult ScheduledActionDrawAndSwapForced() override; |
72 void ScheduledActionCommit() override; | 71 void ScheduledActionCommit() override; |
73 void ScheduledActionActivateSyncTree() override; | 72 void ScheduledActionActivateSyncTree() override; |
74 void ScheduledActionBeginOutputSurfaceCreation() override; | 73 void ScheduledActionBeginOutputSurfaceCreation() override; |
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
232 private: | 231 private: |
233 DebugScopedSetImplThread impl_thread_; | 232 DebugScopedSetImplThread impl_thread_; |
234 DebugScopedSetMainThreadBlocked main_thread_blocked_; | 233 DebugScopedSetMainThreadBlocked main_thread_blocked_; |
235 | 234 |
236 DISALLOW_COPY_AND_ASSIGN(DebugScopedSetImplThreadAndMainThreadBlocked); | 235 DISALLOW_COPY_AND_ASSIGN(DebugScopedSetImplThreadAndMainThreadBlocked); |
237 }; | 236 }; |
238 | 237 |
239 } // namespace cc | 238 } // namespace cc |
240 | 239 |
241 #endif // CC_TREES_SINGLE_THREAD_PROXY_H_ | 240 #endif // CC_TREES_SINGLE_THREAD_PROXY_H_ |
OLD | NEW |