Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2016 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_BLIMP_COMPOSITOR_PROTO_STATE_H_ | |
| 6 #define CC_BLIMP_COMPOSITOR_PROTO_STATE_H_ | |
| 7 | |
| 8 #include <vector> | |
| 9 | |
| 10 #include "base/macros.h" | |
| 11 #include "cc/base/cc_export.h" | |
| 12 | |
| 13 namespace cc { | |
| 14 class SwapPromise; | |
| 15 | |
| 16 class CC_EXPORT CompositorProtoState { | |
|
danakj
2016/09/28 00:32:50
Its like a CompositorMainFrame almost, or is it ex
Khushal
2016/09/28 19:47:16
If the main frame includes PropertyTrees and other
danakj
2016/09/29 23:59:35
The main frame is the entire state of the main thr
Khushal
2016/09/30 02:11:18
I kept the CompositorProtoState and changed the in
| |
| 17 public: | |
| 18 CompositorProtoState(); | |
| 19 ~CompositorProtoState(); | |
| 20 | |
| 21 // The SwapPromises associated with this frame update. | |
| 22 std::vector<SwapPromise> swap_promises; | |
| 23 | |
| 24 // TODO(khushalsagar): Add serialized representation of the layers, layer tree | |
| 25 // and display lists. | |
| 26 | |
| 27 private: | |
| 28 DISALLOW_COPY_AND_ASSIGN(CompositorProtoState); | |
| 29 }; | |
| 30 | |
| 31 } // namespace cc | |
| 32 | |
| 33 #endif // CC_BLIMP_COMPOSITOR_PROTO_STATE_H_ | |
| OLD | NEW |