| 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_PROXY_IMPL_H_ | 5 #ifndef CC_TREES_PROXY_IMPL_H_ |
| 6 #define CC_TREES_PROXY_IMPL_H_ | 6 #define CC_TREES_PROXY_IMPL_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 | 9 |
| 10 #include "base/macros.h" | 10 #include "base/macros.h" |
| (...skipping 26 matching lines...) Expand all Loading... |
| 37 void InitializeMutatorOnImpl(std::unique_ptr<LayerTreeMutator> mutator); | 37 void InitializeMutatorOnImpl(std::unique_ptr<LayerTreeMutator> mutator); |
| 38 void MainThreadHasStoppedFlingingOnImpl(); | 38 void MainThreadHasStoppedFlingingOnImpl(); |
| 39 void SetInputThrottledUntilCommitOnImpl(bool is_throttled); | 39 void SetInputThrottledUntilCommitOnImpl(bool is_throttled); |
| 40 void SetDeferCommitsOnImpl(bool defer_commits) const; | 40 void SetDeferCommitsOnImpl(bool defer_commits) const; |
| 41 void SetNeedsRedrawOnImpl(const gfx::Rect& damage_rect); | 41 void SetNeedsRedrawOnImpl(const gfx::Rect& damage_rect); |
| 42 void SetNeedsCommitOnImpl(); | 42 void SetNeedsCommitOnImpl(); |
| 43 void BeginMainFrameAbortedOnImpl( | 43 void BeginMainFrameAbortedOnImpl( |
| 44 CommitEarlyOutReason reason, | 44 CommitEarlyOutReason reason, |
| 45 base::TimeTicks main_thread_start_time, | 45 base::TimeTicks main_thread_start_time, |
| 46 std::vector<std::unique_ptr<SwapPromise>> swap_promises); | 46 std::vector<std::unique_ptr<SwapPromise>> swap_promises); |
| 47 void FinishAllRenderingOnImpl(CompletionEvent* completion); | |
| 48 void SetVisibleOnImpl(bool visible); | 47 void SetVisibleOnImpl(bool visible); |
| 49 void ReleaseOutputSurfaceOnImpl(CompletionEvent* completion); | 48 void ReleaseOutputSurfaceOnImpl(CompletionEvent* completion); |
| 50 void FinishGLOnImpl(CompletionEvent* completion); | 49 void FinishGLOnImpl(CompletionEvent* completion); |
| 51 void NotifyReadyToCommitOnImpl(CompletionEvent* completion, | 50 void NotifyReadyToCommitOnImpl(CompletionEvent* completion, |
| 52 LayerTreeHost* layer_tree_host, | 51 LayerTreeHost* layer_tree_host, |
| 53 base::TimeTicks main_thread_start_time, | 52 base::TimeTicks main_thread_start_time, |
| 54 bool hold_commit_for_activation); | 53 bool hold_commit_for_activation); |
| 55 | 54 |
| 56 void MainFrameWillHappenOnImplForTesting(CompletionEvent* completion, | 55 void MainFrameWillHappenOnImplForTesting(CompletionEvent* completion, |
| 57 bool* main_frame_will_happen); | 56 bool* main_frame_will_happen); |
| (...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 152 // Use accessors instead of this variable directly. | 151 // Use accessors instead of this variable directly. |
| 153 BlockedMainCommitOnly main_thread_blocked_commit_vars_unsafe_; | 152 BlockedMainCommitOnly main_thread_blocked_commit_vars_unsafe_; |
| 154 BlockedMainCommitOnly& blocked_main_commit(); | 153 BlockedMainCommitOnly& blocked_main_commit(); |
| 155 | 154 |
| 156 DISALLOW_COPY_AND_ASSIGN(ProxyImpl); | 155 DISALLOW_COPY_AND_ASSIGN(ProxyImpl); |
| 157 }; | 156 }; |
| 158 | 157 |
| 159 } // namespace cc | 158 } // namespace cc |
| 160 | 159 |
| 161 #endif // CC_TREES_PROXY_IMPL_H_ | 160 #endif // CC_TREES_PROXY_IMPL_H_ |
| OLD | NEW |