| 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 29 matching lines...) Expand all Loading... |
| 40 void MainThreadHasStoppedFlingingOnImpl(); | 40 void MainThreadHasStoppedFlingingOnImpl(); |
| 41 void SetInputThrottledUntilCommitOnImpl(bool is_throttled); | 41 void SetInputThrottledUntilCommitOnImpl(bool is_throttled); |
| 42 void SetDeferCommitsOnImpl(bool defer_commits) const; | 42 void SetDeferCommitsOnImpl(bool defer_commits) const; |
| 43 void SetNeedsRedrawOnImpl(const gfx::Rect& damage_rect); | 43 void SetNeedsRedrawOnImpl(const gfx::Rect& damage_rect); |
| 44 void SetNeedsCommitOnImpl(); | 44 void SetNeedsCommitOnImpl(); |
| 45 void BeginMainFrameAbortedOnImpl( | 45 void BeginMainFrameAbortedOnImpl( |
| 46 CommitEarlyOutReason reason, | 46 CommitEarlyOutReason reason, |
| 47 base::TimeTicks main_thread_start_time, | 47 base::TimeTicks main_thread_start_time, |
| 48 std::vector<std::unique_ptr<SwapPromise>> swap_promises); | 48 std::vector<std::unique_ptr<SwapPromise>> swap_promises); |
| 49 void SetVisibleOnImpl(bool visible); | 49 void SetVisibleOnImpl(bool visible); |
| 50 void SetIsFullscreenOnImpl(bool is_fullscreen); |
| 50 void ReleaseCompositorFrameSinkOnImpl(CompletionEvent* completion); | 51 void ReleaseCompositorFrameSinkOnImpl(CompletionEvent* completion); |
| 51 void FinishGLOnImpl(CompletionEvent* completion); | 52 void FinishGLOnImpl(CompletionEvent* completion); |
| 52 void NotifyReadyToCommitOnImpl(CompletionEvent* completion, | 53 void NotifyReadyToCommitOnImpl(CompletionEvent* completion, |
| 53 LayerTreeHost* layer_tree_host, | 54 LayerTreeHost* layer_tree_host, |
| 54 base::TimeTicks main_thread_start_time, | 55 base::TimeTicks main_thread_start_time, |
| 55 bool hold_commit_for_activation); | 56 bool hold_commit_for_activation); |
| 56 | 57 |
| 57 void MainFrameWillHappenOnImplForTesting(CompletionEvent* completion, | 58 void MainFrameWillHappenOnImplForTesting(CompletionEvent* completion, |
| 58 bool* main_frame_will_happen); | 59 bool* main_frame_will_happen); |
| 59 | 60 |
| (...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 155 // A weak pointer to ProxyMain that is invalidated when CompositorFrameSink is | 156 // A weak pointer to ProxyMain that is invalidated when CompositorFrameSink is |
| 156 // released. | 157 // released. |
| 157 base::WeakPtr<ProxyMain> proxy_main_frame_sink_bound_weak_ptr_; | 158 base::WeakPtr<ProxyMain> proxy_main_frame_sink_bound_weak_ptr_; |
| 158 | 159 |
| 159 DISALLOW_COPY_AND_ASSIGN(ProxyImpl); | 160 DISALLOW_COPY_AND_ASSIGN(ProxyImpl); |
| 160 }; | 161 }; |
| 161 | 162 |
| 162 } // namespace cc | 163 } // namespace cc |
| 163 | 164 |
| 164 #endif // CC_TREES_PROXY_IMPL_H_ | 165 #endif // CC_TREES_PROXY_IMPL_H_ |
| OLD | NEW |