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 // Message definitions for the compositor subprotocol. | 5 // Message definitions for the compositor subprotocol. |
6 | 6 |
7 // TODO(nyquist): Import cc proto files. | 7 // TODO(nyquist): Import cc proto files. |
8 | 8 |
9 syntax = "proto2"; | 9 syntax = "proto2"; |
10 | 10 |
11 option optimize_for = LITE_RUNTIME; | 11 option optimize_for = LITE_RUNTIME; |
12 | 12 |
13 package blimp; | 13 package blimp; |
14 | 14 |
15 message CompositorMessage { | 15 message CompositorMessage { |
16 // TODO(nyquist): Include the cc proto message here. | 16 // An ID that corresponds to RenderWidgetMessage. |
| 17 optional uint32 render_widget_id = 1; |
| 18 |
| 19 // This represents a serialized CompositorMessage in |
| 20 // cc/proto/compositor_message.proto. |
| 21 optional bytes payload = 2; |
17 } | 22 } |
18 | 23 |
OLD | NEW |