| 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 { | |
| 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 |