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

Unified Diff: cc/trees/remote_channel_impl.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/trees/proxy_main.cc ('k') | cc/trees/remote_channel_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/remote_channel_impl.h
diff --git a/cc/trees/remote_channel_impl.h b/cc/trees/remote_channel_impl.h
index 96b4e1b08a79d4d3831e4abace5e09ae7f50a4a6..d8d7fc843470c3b2a201b5682192ed1904b7a4f6 100644
--- a/cc/trees/remote_channel_impl.h
+++ b/cc/trees/remote_channel_impl.h
@@ -16,7 +16,7 @@
#include "cc/trees/remote_proto_channel.h"
namespace cc {
-class LayerTreeHost;
+class LayerTreeHostInProcess;
namespace proto {
class CompositorMessage;
@@ -70,15 +70,15 @@ class CompositorMessageToMain;
//
// The RemoteChannelImpl receives and processes messages from the remote server
// compositor on the main thread. The requests from ProxyImpl are received on
-// the impl thread which may be directed to the LayerTreeHost on the client
-// (for instance output surface requests) or sent to the LayerTreeHost on the
-// server. The messages to the server are created on the impl thread and sent
-// using the RemoteProtoChannel on the main thread.
+// the impl thread which may be directed to the LayerTreeHostInProcesson the
+// client (for instance output surface requests) or sent to the
+// LayerTreeHostInProcess on the server. The messages to the server are created
+// on the impl thread and sent using the RemoteProtoChannel on the main thread.
class CC_EXPORT RemoteChannelImpl : public ChannelImpl,
public RemoteProtoChannel::ProtoReceiver,
public Proxy {
public:
- RemoteChannelImpl(LayerTreeHost* layer_tree_host,
+ RemoteChannelImpl(LayerTreeHostInProcess* layer_tree_host,
RemoteProtoChannel* remote_proto_channel,
TaskRunnerProvider* task_runner_provider);
~RemoteChannelImpl() override;
@@ -86,13 +86,13 @@ class CC_EXPORT RemoteChannelImpl : public ChannelImpl,
// virtual for testing.
virtual std::unique_ptr<ProxyImpl> CreateProxyImpl(
ChannelImpl* channel_impl,
- LayerTreeHost* layer_tree_host,
+ LayerTreeHostInProcess* layer_tree_host,
TaskRunnerProvider* task_runner_provider,
std::unique_ptr<BeginFrameSource> external_begin_frame_source);
private:
struct MainThreadOnly {
- LayerTreeHost* layer_tree_host;
+ LayerTreeHostInProcess* layer_tree_host;
RemoteProtoChannel* remote_proto_channel;
bool started;
@@ -108,7 +108,7 @@ class CC_EXPORT RemoteChannelImpl : public ChannelImpl,
base::WeakPtrFactory<RemoteChannelImpl> remote_channel_weak_factory;
MainThreadOnly(RemoteChannelImpl*,
- LayerTreeHost* layer_tree_host,
+ LayerTreeHostInProcess* layer_tree_host,
RemoteProtoChannel* remote_proto_channel);
~MainThreadOnly();
};
@@ -181,7 +181,7 @@ class CC_EXPORT RemoteChannelImpl : public ChannelImpl,
void PostSetNeedsRedrawToImpl(const gfx::Rect& damaged_rect);
void InitializeImplOnImpl(CompletionEvent* completion,
- LayerTreeHost* layer_tree_host);
+ LayerTreeHostInProcess* layer_tree_host);
void ShutdownImplOnImpl(CompletionEvent* completion);
MainThreadOnly& main();
« no previous file with comments | « cc/trees/proxy_main.cc ('k') | cc/trees/remote_channel_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698