Chromium Code Reviews| 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. |
|
Kevin M
2015/11/24 18:39:59
Corresponds to WGM.render_widget_id
David Trainor- moved to gerrit
2015/11/25 17:56:42
Done.
| |
| 17 optional uint32 render_widget_id = 1; | |
| 18 | |
| 19 // This represents a serialized CompositorMessage in | |
|
Kevin M
2015/11/24 18:39:59
What's the reasoning behind serializing the messag
David Trainor- moved to gerrit
2015/11/25 17:56:42
That would be ideal. A few issues currently (whic
| |
| 20 // cc/proto/compositor_message.proto. | |
| 21 optional bytes payload = 2; | |
| 17 } | 22 } |
| 18 | 23 |
| OLD | NEW |