| 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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 55 void SetMutator(std::unique_ptr<LayerTreeMutator> mutator) override; | 55 void SetMutator(std::unique_ptr<LayerTreeMutator> mutator) override; |
| 56 bool SupportsImplScrolling() const override; | 56 bool SupportsImplScrolling() const override; |
| 57 bool MainFrameWillHappenForTesting() override; | 57 bool MainFrameWillHappenForTesting() override; |
| 58 void UpdateBrowserControlsState(BrowserControlsState constraints, | 58 void UpdateBrowserControlsState(BrowserControlsState constraints, |
| 59 BrowserControlsState current, | 59 BrowserControlsState current, |
| 60 bool animate) override; | 60 bool animate) override; |
| 61 | 61 |
| 62 // SchedulerClient implementation | 62 // SchedulerClient implementation |
| 63 void WillBeginImplFrame(const BeginFrameArgs& args) override; | 63 void WillBeginImplFrame(const BeginFrameArgs& args) override; |
| 64 void DidFinishImplFrame() override; | 64 void DidFinishImplFrame() override; |
| 65 void BeginFrameDidNotProduceFrame(const BeginFrameAck& ack) override; |
| 65 void ScheduledActionSendBeginMainFrame(const BeginFrameArgs& args) override; | 66 void ScheduledActionSendBeginMainFrame(const BeginFrameArgs& args) override; |
| 66 DrawResult ScheduledActionDrawIfPossible() override; | 67 DrawResult ScheduledActionDrawIfPossible() override; |
| 67 DrawResult ScheduledActionDrawForced() override; | 68 DrawResult ScheduledActionDrawForced() override; |
| 68 void ScheduledActionCommit() override; | 69 void ScheduledActionCommit() override; |
| 69 void ScheduledActionActivateSyncTree() override; | 70 void ScheduledActionActivateSyncTree() override; |
| 70 void ScheduledActionBeginCompositorFrameSinkCreation() override; | 71 void ScheduledActionBeginCompositorFrameSinkCreation() override; |
| 71 void ScheduledActionPrepareTiles() override; | 72 void ScheduledActionPrepareTiles() override; |
| 72 void ScheduledActionInvalidateCompositorFrameSink() override; | 73 void ScheduledActionInvalidateCompositorFrameSink() override; |
| 73 void ScheduledActionPerformImplSideInvalidation() override; | 74 void ScheduledActionPerformImplSideInvalidation() override; |
| 74 void SendBeginMainFrameNotExpectedSoon() override; | 75 void SendBeginMainFrameNotExpectedSoon() override; |
| (...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 244 private: | 245 private: |
| 245 DebugScopedSetImplThread impl_thread_; | 246 DebugScopedSetImplThread impl_thread_; |
| 246 DebugScopedSetMainThreadBlocked main_thread_blocked_; | 247 DebugScopedSetMainThreadBlocked main_thread_blocked_; |
| 247 | 248 |
| 248 DISALLOW_COPY_AND_ASSIGN(DebugScopedSetImplThreadAndMainThreadBlocked); | 249 DISALLOW_COPY_AND_ASSIGN(DebugScopedSetImplThreadAndMainThreadBlocked); |
| 249 }; | 250 }; |
| 250 | 251 |
| 251 } // namespace cc | 252 } // namespace cc |
| 252 | 253 |
| 253 #endif // CC_TREES_SINGLE_THREAD_PROXY_H_ | 254 #endif // CC_TREES_SINGLE_THREAD_PROXY_H_ |
| OLD | NEW |