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_CHANNEL_MAIN_H_ | 5 #ifndef CC_TREES_CHANNEL_MAIN_H_ |
6 #define CC_TREES_CHANNEL_MAIN_H_ | 6 #define CC_TREES_CHANNEL_MAIN_H_ |
7 | 7 |
8 #include "cc/base/cc_export.h" | 8 #include "cc/base/cc_export.h" |
9 #include "cc/base/completion_event.h" | 9 #include "cc/base/completion_event.h" |
10 #include "cc/input/top_controls_state.h" | 10 #include "cc/input/top_controls_state.h" |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 base::TimeTicks main_thread_start_time, | 55 base::TimeTicks main_thread_start_time, |
56 std::vector<std::unique_ptr<SwapPromise>> swap_promises) = 0; | 56 std::vector<std::unique_ptr<SwapPromise>> swap_promises) = 0; |
57 virtual void NotifyReadyToCommitOnImpl( | 57 virtual void NotifyReadyToCommitOnImpl( |
58 CompletionEvent* completion, | 58 CompletionEvent* completion, |
59 LayerTreeHostInProcess* layer_tree_host, | 59 LayerTreeHostInProcess* layer_tree_host, |
60 base::TimeTicks main_thread_start_time, | 60 base::TimeTicks main_thread_start_time, |
61 bool hold_commit_for_activation) = 0; | 61 bool hold_commit_for_activation) = 0; |
62 | 62 |
63 // Must be called before using the channel. | 63 // Must be called before using the channel. |
64 virtual void SynchronouslyInitializeImpl( | 64 virtual void SynchronouslyInitializeImpl( |
65 LayerTreeHostInProcess* layer_tree_host, | 65 LayerTreeHostInProcess* layer_tree_host) = 0; |
66 std::unique_ptr<BeginFrameSource> external_begin_frame_source) = 0; | |
67 | 66 |
68 // Must be called before deleting the channel. | 67 // Must be called before deleting the channel. |
69 virtual void SynchronouslyCloseImpl() = 0; | 68 virtual void SynchronouslyCloseImpl() = 0; |
70 }; | 69 }; |
71 | 70 |
72 } // namespace cc | 71 } // namespace cc |
73 | 72 |
74 #endif // CC_TREES_CHANNEL_MAIN_H_ | 73 #endif // CC_TREES_CHANNEL_MAIN_H_ |
OLD | NEW |