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

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

Issue 1513643010: cc:: Add remote mode to the compositor (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Use LayerTreeSettings::ToProtobuf, update comments. Created 5 years 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
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef CC_TREES_REMOTE_CHANNEL_HOST_CLIENT_H_
6 #define CC_TREES_REMOTE_CHANNEL_HOST_CLIENT_H_
7
8 #include "base/macros.h"
9 #include "cc/base/cc_export.h"
10 #include "cc/trees/layer_tree_settings.h"
11
12 namespace cc {
13
14 class RemoteChannelHostClient {
15 public:
16 // Allows the client to override any LayerTreeSettings received from the
17 // main compositor.
18 virtual void OverrideLayerTreeSettings(LayerTreeSettings* settings) {}
19
20 // Informs the client that the RemoteChannelHost has been shutdown. The
21 // RemoteChannelHost can not be used after this method is called.
22 virtual void DidShutdown() = 0;
23
24 virtual ~RemoteChannelHostClient() {}
25 };
26
27 } // namespace cc
28
29 #endif // CC_TREES_REMOTE_CHANNEL_HOST_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698