| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_THREADED_CHANNEL_H_ | 5 #ifndef CC_TREES_THREADED_CHANNEL_H_ |
| 6 #define CC_TREES_THREADED_CHANNEL_H_ | 6 #define CC_TREES_THREADED_CHANNEL_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 | 9 |
| 10 #include "base/macros.h" | 10 #include "base/macros.h" |
| (...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 89 bool animate) override; | 89 bool animate) override; |
| 90 void InitializeOutputSurfaceOnImpl(OutputSurface* output_surface) override; | 90 void InitializeOutputSurfaceOnImpl(OutputSurface* output_surface) override; |
| 91 void InitializeMutatorOnImpl( | 91 void InitializeMutatorOnImpl( |
| 92 std::unique_ptr<LayerTreeMutator> mutator) override; | 92 std::unique_ptr<LayerTreeMutator> mutator) override; |
| 93 void MainThreadHasStoppedFlingingOnImpl() override; | 93 void MainThreadHasStoppedFlingingOnImpl() override; |
| 94 void SetInputThrottledUntilCommitOnImpl(bool is_throttled) override; | 94 void SetInputThrottledUntilCommitOnImpl(bool is_throttled) override; |
| 95 void SetDeferCommitsOnImpl(bool defer_commits) override; | 95 void SetDeferCommitsOnImpl(bool defer_commits) override; |
| 96 void SetNeedsCommitOnImpl() override; | 96 void SetNeedsCommitOnImpl() override; |
| 97 void BeginMainFrameAbortedOnImpl( | 97 void BeginMainFrameAbortedOnImpl( |
| 98 CommitEarlyOutReason reason, | 98 CommitEarlyOutReason reason, |
| 99 base::TimeTicks main_thread_start_time) override; | 99 base::TimeTicks main_thread_start_time, |
| 100 std::vector<std::unique_ptr<SwapPromise>> swap_promises) override; |
| 100 void SetNeedsRedrawOnImpl(const gfx::Rect& damage_rect) override; | 101 void SetNeedsRedrawOnImpl(const gfx::Rect& damage_rect) override; |
| 101 void SetVisibleOnImpl(bool visible) override; | 102 void SetVisibleOnImpl(bool visible) override; |
| 102 | 103 |
| 103 // Blocking calls to ProxyImpl | 104 // Blocking calls to ProxyImpl |
| 104 void FinishAllRenderingOnImpl(CompletionEvent* completion) override; | 105 void FinishAllRenderingOnImpl(CompletionEvent* completion) override; |
| 105 void ReleaseOutputSurfaceOnImpl(CompletionEvent* completion) override; | 106 void ReleaseOutputSurfaceOnImpl(CompletionEvent* completion) override; |
| 106 void MainFrameWillHappenOnImplForTesting( | 107 void MainFrameWillHappenOnImplForTesting( |
| 107 CompletionEvent* completion, | 108 CompletionEvent* completion, |
| 108 bool* main_frame_will_happen) override; | 109 bool* main_frame_will_happen) override; |
| 109 void NotifyReadyToCommitOnImpl(CompletionEvent* completion, | 110 void NotifyReadyToCommitOnImpl(CompletionEvent* completion, |
| (...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 206 // Used on the main thread to safely queue calls to ProxyImpl to be run on the | 207 // Used on the main thread to safely queue calls to ProxyImpl to be run on the |
| 207 // impl thread. | 208 // impl thread. |
| 208 base::WeakPtr<ProxyImpl> proxy_impl_weak_ptr_; | 209 base::WeakPtr<ProxyImpl> proxy_impl_weak_ptr_; |
| 209 | 210 |
| 210 DISALLOW_COPY_AND_ASSIGN(ThreadedChannel); | 211 DISALLOW_COPY_AND_ASSIGN(ThreadedChannel); |
| 211 }; | 212 }; |
| 212 | 213 |
| 213 } // namespace cc | 214 } // namespace cc |
| 214 | 215 |
| 215 #endif // CC_TREES_THREADED_CHANNEL_H_ | 216 #endif // CC_TREES_THREADED_CHANNEL_H_ |
| OLD | NEW |