OLD | NEW |
(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_ |
OLD | NEW |