Chromium Code Reviews| Index: cc/blimp/compositor_proto_state.h |
| diff --git a/cc/blimp/compositor_proto_state.h b/cc/blimp/compositor_proto_state.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..536cb6858e8630cc1635522a63035af703191518 |
| --- /dev/null |
| +++ b/cc/blimp/compositor_proto_state.h |
| @@ -0,0 +1,33 @@ |
| +// Copyright 2016 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef CC_BLIMP_COMPOSITOR_PROTO_STATE_H_ |
| +#define CC_BLIMP_COMPOSITOR_PROTO_STATE_H_ |
| + |
| +#include <vector> |
| + |
| +#include "base/macros.h" |
| +#include "cc/base/cc_export.h" |
| + |
| +namespace cc { |
| +class SwapPromise; |
| + |
| +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
|
| + public: |
| + CompositorProtoState(); |
| + ~CompositorProtoState(); |
| + |
| + // The SwapPromises associated with this frame update. |
| + std::vector<SwapPromise> swap_promises; |
| + |
| + // TODO(khushalsagar): Add serialized representation of the layers, layer tree |
| + // and display lists. |
| + |
| + private: |
| + DISALLOW_COPY_AND_ASSIGN(CompositorProtoState); |
| +}; |
| + |
| +} // namespace cc |
| + |
| +#endif // CC_BLIMP_COMPOSITOR_PROTO_STATE_H_ |