| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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_REMOTE_CHANNEL_MAIN_H_ | 5 #ifndef CC_TREES_REMOTE_CHANNEL_MAIN_H_ |
| 6 #define CC_TREES_REMOTE_CHANNEL_MAIN_H_ | 6 #define CC_TREES_REMOTE_CHANNEL_MAIN_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" | 8 #include "base/macros.h" |
| 9 #include "cc/base/cc_export.h" | 9 #include "cc/base/cc_export.h" |
| 10 #include "cc/trees/channel_main.h" | 10 #include "cc/trees/channel_main.h" |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 42 void FinishAllRenderingOnImpl(CompletionEvent* completion) override; | 42 void FinishAllRenderingOnImpl(CompletionEvent* completion) override; |
| 43 void SetVisibleOnImpl(bool visible) override; | 43 void SetVisibleOnImpl(bool visible) override; |
| 44 void ReleaseOutputSurfaceOnImpl(CompletionEvent* completion) override; | 44 void ReleaseOutputSurfaceOnImpl(CompletionEvent* completion) override; |
| 45 void MainFrameWillHappenOnImplForTesting( | 45 void MainFrameWillHappenOnImplForTesting( |
| 46 CompletionEvent* completion, | 46 CompletionEvent* completion, |
| 47 bool* main_frame_will_happen) override; | 47 bool* main_frame_will_happen) override; |
| 48 void SetNeedsRedrawOnImpl(const gfx::Rect& damage_rect) override; | 48 void SetNeedsRedrawOnImpl(const gfx::Rect& damage_rect) override; |
| 49 void SetNeedsCommitOnImpl() override; | 49 void SetNeedsCommitOnImpl() override; |
| 50 void BeginMainFrameAbortedOnImpl( | 50 void BeginMainFrameAbortedOnImpl( |
| 51 CommitEarlyOutReason reason, | 51 CommitEarlyOutReason reason, |
| 52 base::TimeTicks main_thread_start_time) override; | 52 base::TimeTicks main_thread_start_time, |
| 53 std::vector<std::unique_ptr<SwapPromise>> swap_promises) override; |
| 53 void NotifyReadyToCommitOnImpl(CompletionEvent* completion, | 54 void NotifyReadyToCommitOnImpl(CompletionEvent* completion, |
| 54 LayerTreeHost* layer_tree_host, | 55 LayerTreeHost* layer_tree_host, |
| 55 base::TimeTicks main_thread_start_time, | 56 base::TimeTicks main_thread_start_time, |
| 56 bool hold_commit_for_activation) override; | 57 bool hold_commit_for_activation) override; |
| 57 void SynchronouslyInitializeImpl( | 58 void SynchronouslyInitializeImpl( |
| 58 LayerTreeHost* layer_tree_host, | 59 LayerTreeHost* layer_tree_host, |
| 59 std::unique_ptr<BeginFrameSource> external_begin_frame_source) override; | 60 std::unique_ptr<BeginFrameSource> external_begin_frame_source) override; |
| 60 void SynchronouslyCloseImpl() override; | 61 void SynchronouslyCloseImpl() override; |
| 61 | 62 |
| 62 // RemoteProtoChannel::ProtoReceiver implementation | 63 // RemoteProtoChannel::ProtoReceiver implementation |
| (...skipping 20 matching lines...) Expand all Loading... |
| 83 bool initialized_; | 84 bool initialized_; |
| 84 | 85 |
| 85 base::WeakPtrFactory<RemoteChannelMain> weak_factory_; | 86 base::WeakPtrFactory<RemoteChannelMain> weak_factory_; |
| 86 | 87 |
| 87 DISALLOW_COPY_AND_ASSIGN(RemoteChannelMain); | 88 DISALLOW_COPY_AND_ASSIGN(RemoteChannelMain); |
| 88 }; | 89 }; |
| 89 | 90 |
| 90 } // namespace cc | 91 } // namespace cc |
| 91 | 92 |
| 92 #endif // CC_TREES_REMOTE_CHANNEL_MAIN_H_ | 93 #endif // CC_TREES_REMOTE_CHANNEL_MAIN_H_ |
| OLD | NEW |