OLD | NEW |
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_PROXY_MAIN_H_ | 5 #ifndef CC_TREES_PROXY_MAIN_H_ |
6 #define CC_TREES_PROXY_MAIN_H_ | 6 #define CC_TREES_PROXY_MAIN_H_ |
7 | 7 |
8 #include "base/macros.h" | 8 #include "base/macros.h" |
9 #include "cc/base/cc_export.h" | 9 #include "cc/base/cc_export.h" |
10 #include "cc/input/browser_controls_state.h" | 10 #include "cc/input/browser_controls_state.h" |
11 #include "cc/trees/channel_main.h" | 11 #include "cc/trees/channel_main.h" |
12 #include "cc/trees/proxy.h" | 12 #include "cc/trees/proxy.h" |
13 #include "cc/trees/proxy_common.h" | 13 #include "cc/trees/proxy_common.h" |
14 | 14 |
15 namespace cc { | 15 namespace cc { |
16 | 16 |
17 class MutatorEvents; | 17 class MutatorEvents; |
18 class BeginFrameSource; | |
19 class ChannelMain; | 18 class ChannelMain; |
20 class CompositorFrameSink; | 19 class CompositorFrameSink; |
21 class LayerTreeHostInProcess; | 20 class LayerTreeHostInProcess; |
22 class LayerTreeMutator; | 21 class LayerTreeMutator; |
23 | 22 |
24 // This class aggregates all interactions that the impl side of the compositor | 23 // This class aggregates all interactions that the impl side of the compositor |
25 // needs to have with the main side. | 24 // needs to have with the main side. |
26 // The class is created and lives on the main thread. | 25 // The class is created and lives on the main thread. |
27 class CC_EXPORT ProxyMain : public Proxy { | 26 class CC_EXPORT ProxyMain : public Proxy { |
28 public: | 27 public: |
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
131 bool defer_commits_; | 130 bool defer_commits_; |
132 | 131 |
133 std::unique_ptr<ChannelMain> channel_main_; | 132 std::unique_ptr<ChannelMain> channel_main_; |
134 | 133 |
135 DISALLOW_COPY_AND_ASSIGN(ProxyMain); | 134 DISALLOW_COPY_AND_ASSIGN(ProxyMain); |
136 }; | 135 }; |
137 | 136 |
138 } // namespace cc | 137 } // namespace cc |
139 | 138 |
140 #endif // CC_TREES_PROXY_MAIN_H_ | 139 #endif // CC_TREES_PROXY_MAIN_H_ |
OLD | NEW |