| 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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 50 void NotifyInputThrottledUntilCommit() override {} | 50 void NotifyInputThrottledUntilCommit() override {} |
| 51 void SetDeferCommits(bool defer_commits) override; | 51 void SetDeferCommits(bool defer_commits) override; |
| 52 bool CommitRequested() const override; | 52 bool CommitRequested() const override; |
| 53 bool BeginMainFrameRequested() const override; | 53 bool BeginMainFrameRequested() const override; |
| 54 void MainThreadHasStoppedFlinging() override {} | 54 void MainThreadHasStoppedFlinging() override {} |
| 55 void Start() override; | 55 void Start() override; |
| 56 void Stop() override; | 56 void Stop() override; |
| 57 void SetMutator(std::unique_ptr<LayerTreeMutator> mutator) override; | 57 void SetMutator(std::unique_ptr<LayerTreeMutator> mutator) override; |
| 58 bool SupportsImplScrolling() const override; | 58 bool SupportsImplScrolling() const override; |
| 59 bool MainFrameWillHappenForTesting() override; | 59 bool MainFrameWillHappenForTesting() override; |
| 60 void UpdateTopControlsState(TopControlsState constraints, | 60 void UpdateTopControlsState(BrowserControlsState constraints, |
| 61 TopControlsState current, | 61 BrowserControlsState current, |
| 62 bool animate) override; | 62 bool animate) override; |
| 63 | 63 |
| 64 // SchedulerClient implementation | 64 // SchedulerClient implementation |
| 65 void WillBeginImplFrame(const BeginFrameArgs& args) override; | 65 void WillBeginImplFrame(const BeginFrameArgs& args) override; |
| 66 void DidFinishImplFrame() override; | 66 void DidFinishImplFrame() override; |
| 67 void ScheduledActionSendBeginMainFrame(const BeginFrameArgs& args) override; | 67 void ScheduledActionSendBeginMainFrame(const BeginFrameArgs& args) override; |
| 68 DrawResult ScheduledActionDrawIfPossible() override; | 68 DrawResult ScheduledActionDrawIfPossible() override; |
| 69 DrawResult ScheduledActionDrawForced() override; | 69 DrawResult ScheduledActionDrawForced() override; |
| 70 void ScheduledActionCommit() override; | 70 void ScheduledActionCommit() override; |
| 71 void ScheduledActionActivateSyncTree() override; | 71 void ScheduledActionActivateSyncTree() override; |
| (...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 233 private: | 233 private: |
| 234 DebugScopedSetImplThread impl_thread_; | 234 DebugScopedSetImplThread impl_thread_; |
| 235 DebugScopedSetMainThreadBlocked main_thread_blocked_; | 235 DebugScopedSetMainThreadBlocked main_thread_blocked_; |
| 236 | 236 |
| 237 DISALLOW_COPY_AND_ASSIGN(DebugScopedSetImplThreadAndMainThreadBlocked); | 237 DISALLOW_COPY_AND_ASSIGN(DebugScopedSetImplThreadAndMainThreadBlocked); |
| 238 }; | 238 }; |
| 239 | 239 |
| 240 } // namespace cc | 240 } // namespace cc |
| 241 | 241 |
| 242 #endif // CC_TREES_SINGLE_THREAD_PROXY_H_ | 242 #endif // CC_TREES_SINGLE_THREAD_PROXY_H_ |
| OLD | NEW |