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_CHANNEL_MAIN_H_ | |
6 #define CC_TREES_CHANNEL_MAIN_H_ | |
7 | |
8 #include "cc/base/cc_export.h" | |
9 | |
10 namespace cc { | |
11 class ThreadProxy; | |
David Trainor- moved to gerrit
2015/09/23 17:54:11
Remove?
Khushal
2015/09/23 20:50:28
Done.
| |
12 | |
13 // ChannelMain and ChannelImpl provide an abstract communication layer for | |
14 // the main and impl side of the compositor. | |
15 // | |
16 // The communication sequence between the 2 sides is: | |
17 // | |
18 // LayerTreeHost --> ProxyMain --> ChannelMain | |
David Trainor- moved to gerrit
2015/09/23 17:54:11
Odd formatting request, but can we line these two
Khushal
2015/09/23 20:50:28
Done. Added ChannelImpl in the communication seque
| |
19 // | | |
20 // | | |
21 // ProxyImpl --> LayerTreeHostImpl | |
22 // | |
23 // LayerTreeHostImpl --> ProxyImpl --> ChannelImpl | |
24 // | | |
25 // | | |
26 // ProxyMain --> LayerTreeHost | |
27 | |
28 class CC_EXPORT ChannelMain { | |
29 public: | |
30 // Interface for commands sent to the ProxyImpl | |
31 virtual void SetThrottleFrameProductionOnImpl(bool throttle) = 0; | |
32 virtual void SetLayerTreeHostClientReadyOnImpl() = 0; | |
33 | |
34 virtual ~ChannelMain() {} | |
35 }; | |
36 | |
37 } // namespace cc | |
38 | |
39 #endif // CC_TREES_CHANNEL_MAIN_H_ | |
OLD | NEW |