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 syntax = "proto2"; | 5 syntax = "proto2"; |
| 6 | 6 |
| 7 option optimize_for = LITE_RUNTIME; | 7 option optimize_for = LITE_RUNTIME; |
| 8 | 8 |
| 9 import "compositor_message_to_impl.proto"; | 9 import "compositor_message_to_impl.proto"; |
| 10 import "compositor_message_to_main.proto"; | 10 import "compositor_message_to_main.proto"; |
| 11 import "layer_tree_host.proto"; | 11 import "layer_tree_host.proto"; |
| 12 | 12 |
| 13 package cc.proto; | 13 package cc.proto; |
| 14 | 14 |
| 15 // A top level message for serialized state used by the compositor remote | 15 // A top level message for serialized state used by the compositor remote |
| 16 // channels. | 16 // channels. |
| 17 // TODO(khushalsagar): Remove CompositorMessage and stop using | 17 // TODO(khushalsagar): Remove CompositorMessage and stop using |
| 18 // RemoteProtoChannel to plumb these to/from the browser. See crbug.com/648442 | 18 // RemoteProtoChannel to plumb these to/from the browser. See crbug.com/648442 |
| 19 message CompositorMessage { | 19 message CompositorMessage { |
| 20 // Engine -> Client | 20 // Engine -> Client |
| 21 // Frame Update. | 21 // Frame Update. |
| 22 optional LayerTreeHost layer_tree_host = 3; | 22 optional LayerTreeHost layer_tree_host = 3; |
| 23 | 23 |
| 24 // Client -> Engine | |
| 25 // Frame Ack. | |
|
danakj
2016/10/13 19:23:23
The comment is literally the same text as the vari
Khushal
2016/10/13 20:03:57
Done.
| |
| 26 optional bool frame_ack = 4; | |
| 27 | |
| 24 // One of these is set based on where the message is going to. | 28 // One of these is set based on where the message is going to. |
| 25 optional CompositorMessageToMain to_main = 1; | 29 optional CompositorMessageToMain to_main = 1; |
| 26 optional CompositorMessageToImpl to_impl = 2; | 30 optional CompositorMessageToImpl to_impl = 2; |
| 27 } | 31 } |
| OLD | NEW |