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 | 12 |
12 package cc.proto; | 13 package cc.proto; |
13 | 14 |
14 // 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 |
15 // channels. | 16 // channels. |
| 17 // TODO(khushalsagar): Remove CompositorMessage and stop using |
| 18 // RemoteProtoChannel to plumb these to/from the browser. See crbug.com/648442 |
16 message CompositorMessage { | 19 message CompositorMessage { |
| 20 // Engine -> Client |
| 21 // Frame Update. |
| 22 optional LayerTreeHost layer_tree_host = 3; |
| 23 |
17 // One of these is set based on where the message is going to. | 24 // One of these is set based on where the message is going to. |
18 optional CompositorMessageToMain to_main = 1; | 25 optional CompositorMessageToMain to_main = 1; |
19 optional CompositorMessageToImpl to_impl = 2; | 26 optional CompositorMessageToImpl to_impl = 2; |
20 } | 27 } |
OLD | NEW |