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

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

Issue 1385043002: cc: Remove SetLayerTreeHostClientReady() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@startcomp
Patch Set: sky's offline comment Created 5 years, 2 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 unified diff | Download patch
« no previous file with comments | « cc/tiles/tile_manager_unittest.cc ('k') | cc/trees/layer_tree_host.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CC_TREES_CHANNEL_MAIN_H_ 5 #ifndef CC_TREES_CHANNEL_MAIN_H_
6 #define CC_TREES_CHANNEL_MAIN_H_ 6 #define CC_TREES_CHANNEL_MAIN_H_
7 7
8 #include "cc/base/cc_export.h" 8 #include "cc/base/cc_export.h"
9 9
10 namespace cc { 10 namespace cc {
11 11
12 // ChannelMain and ChannelImpl provide an abstract communication layer for 12 // ChannelMain and ChannelImpl provide an abstract communication layer for
13 // the main and impl side of the compositor. 13 // the main and impl side of the compositor.
14 // 14 //
15 // The communication sequence between the 2 sides is: 15 // The communication sequence between the 2 sides is:
16 // 16 //
17 // LayerTreeHost<-->ProxyMain<-->ChannelMain 17 // LayerTreeHost<-->ProxyMain<-->ChannelMain
18 // | 18 // |
19 // | 19 // |
20 // ChannelImpl<-->ProxyImpl<-->LayerTreeHostImpl 20 // ChannelImpl<-->ProxyImpl<-->LayerTreeHostImpl
21 21
22 class CC_EXPORT ChannelMain { 22 class CC_EXPORT ChannelMain {
23 public: 23 public:
24 // Interface for commands sent to the ProxyImpl 24 // Interface for commands sent to the ProxyImpl
25 virtual void SetThrottleFrameProductionOnImpl(bool throttle) = 0; 25 virtual void SetThrottleFrameProductionOnImpl(bool throttle) = 0;
26 virtual void SetLayerTreeHostClientReadyOnImpl() = 0;
27 26
28 virtual ~ChannelMain() {} 27 virtual ~ChannelMain() {}
29 }; 28 };
30 29
31 } // namespace cc 30 } // namespace cc
32 31
33 #endif // CC_TREES_CHANNEL_MAIN_H_ 32 #endif // CC_TREES_CHANNEL_MAIN_H_
OLDNEW
« no previous file with comments | « cc/tiles/tile_manager_unittest.cc ('k') | cc/trees/layer_tree_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698