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

Unified Diff: cc/trees/channel_main.h

Issue 2340143002: cc: Rename LayerTreeHost to LayerTreeHostInProcess. (Closed)
Patch Set: comment fix Created 4 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/test/layer_tree_test.cc ('k') | cc/trees/layer_tree.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/channel_main.h
diff --git a/cc/trees/channel_main.h b/cc/trees/channel_main.h
index 4902b46ce81107e413a563575f47ea43abb2ad58..35d553ba38373ccbf7d08066c221174b6d442b92 100644
--- a/cc/trees/channel_main.h
+++ b/cc/trees/channel_main.h
@@ -14,7 +14,7 @@
#include "cc/trees/proxy_common.h"
namespace cc {
-
+class LayerTreeHostInProcess;
class LayerTreeMutator;
// ChannelMain and ChannelImpl provide an abstract communication layer for
@@ -22,7 +22,7 @@ class LayerTreeMutator;
//
// The communication sequence between the 2 sides is:
//
-// LayerTreeHost<-->ProxyMain<-->ChannelMain
+// LayerTreeHostInProcess<-->ProxyMain<-->ChannelMain
// |
// |
// ChannelImpl<-->ProxyImpl<-->LayerTreeHostImpl
@@ -54,14 +54,15 @@ class CC_EXPORT ChannelMain {
CommitEarlyOutReason reason,
base::TimeTicks main_thread_start_time,
std::vector<std::unique_ptr<SwapPromise>> swap_promises) = 0;
- virtual void NotifyReadyToCommitOnImpl(CompletionEvent* completion,
- LayerTreeHost* layer_tree_host,
- base::TimeTicks main_thread_start_time,
- bool hold_commit_for_activation) = 0;
+ virtual void NotifyReadyToCommitOnImpl(
+ CompletionEvent* completion,
+ LayerTreeHostInProcess* layer_tree_host,
+ base::TimeTicks main_thread_start_time,
+ bool hold_commit_for_activation) = 0;
// Must be called before using the channel.
virtual void SynchronouslyInitializeImpl(
- LayerTreeHost* layer_tree_host,
+ LayerTreeHostInProcess* layer_tree_host,
std::unique_ptr<BeginFrameSource> external_begin_frame_source) = 0;
// Must be called before deleting the channel.
« no previous file with comments | « cc/test/layer_tree_test.cc ('k') | cc/trees/layer_tree.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698