Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(725)

Side by Side Diff: cc/trees/threaded_channel.h

Issue 2409923002: cc: Rename SwapBuffers on CompositorFrameSink to SubmitCompositorFrame (Closed)
Patch Set: swap-to-submit: rebase Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « cc/trees/single_thread_proxy.cc ('k') | cc/trees/threaded_channel.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 bool* main_frame_will_happen) override; 109 bool* main_frame_will_happen) override;
110 void NotifyReadyToCommitOnImpl(CompletionEvent* completion, 110 void NotifyReadyToCommitOnImpl(CompletionEvent* completion,
111 LayerTreeHostInProcess* layer_tree_host, 111 LayerTreeHostInProcess* layer_tree_host,
112 base::TimeTicks main_thread_start_time, 112 base::TimeTicks main_thread_start_time,
113 bool hold_commit_for_activation) override; 113 bool hold_commit_for_activation) override;
114 void SynchronouslyInitializeImpl( 114 void SynchronouslyInitializeImpl(
115 LayerTreeHostInProcess* layer_tree_host) override; 115 LayerTreeHostInProcess* layer_tree_host) override;
116 void SynchronouslyCloseImpl() override; 116 void SynchronouslyCloseImpl() override;
117 117
118 // ChannelImpl Implementation 118 // ChannelImpl Implementation
119 void DidCompleteSwapBuffers() override; 119 void DidReceiveCompositorFrameAck() override;
120 void BeginMainFrameNotExpectedSoon() override; 120 void BeginMainFrameNotExpectedSoon() override;
121 void DidCommitAndDrawFrame() override; 121 void DidCommitAndDrawFrame() override;
122 void SetAnimationEvents(std::unique_ptr<AnimationEvents> events) override; 122 void SetAnimationEvents(std::unique_ptr<AnimationEvents> events) override;
123 void DidLoseCompositorFrameSink() override; 123 void DidLoseCompositorFrameSink() override;
124 void RequestNewCompositorFrameSink() override; 124 void RequestNewCompositorFrameSink() override;
125 void DidInitializeCompositorFrameSink(bool success) override; 125 void DidInitializeCompositorFrameSink(bool success) override;
126 void DidCompletePageScaleAnimation() override; 126 void DidCompletePageScaleAnimation() override;
127 void BeginMainFrame(std::unique_ptr<BeginMainFrameAndCommitState> 127 void BeginMainFrame(std::unique_ptr<BeginMainFrameAndCommitState>
128 begin_main_frame_state) override; 128 begin_main_frame_state) override;
129 129
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
199 // Used on the main thread to safely queue calls to ProxyImpl to be run on the 199 // Used on the main thread to safely queue calls to ProxyImpl to be run on the
200 // impl thread. 200 // impl thread.
201 base::WeakPtr<ProxyImpl> proxy_impl_weak_ptr_; 201 base::WeakPtr<ProxyImpl> proxy_impl_weak_ptr_;
202 202
203 DISALLOW_COPY_AND_ASSIGN(ThreadedChannel); 203 DISALLOW_COPY_AND_ASSIGN(ThreadedChannel);
204 }; 204 };
205 205
206 } // namespace cc 206 } // namespace cc
207 207
208 #endif // CC_TREES_THREADED_CHANNEL_H_ 208 #endif // CC_TREES_THREADED_CHANNEL_H_
OLDNEW
« no previous file with comments | « cc/trees/single_thread_proxy.cc ('k') | cc/trees/threaded_channel.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698