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"; |
| 10 import "compositor_message_to_main.proto"; |
| 11 |
9 package cc.proto; | 12 package cc.proto; |
10 | 13 |
11 // A top level message for serialized state used by the compositor remote | 14 // A top level message for serialized state used by the compositor remote |
12 // channels. | 15 // channels. |
13 message CompositorMessage { | 16 message CompositorMessage { |
14 // One of these is set based on where the message is going to. | 17 // One of these is set based on where the message is going to. |
15 optional CompositorMessageToMain to_main = 1; | 18 optional CompositorMessageToMain to_main = 1; |
16 optional CompositorMessageToImpl to_impl = 2; | 19 optional CompositorMessageToImpl to_impl = 2; |
17 } | 20 } |
18 | |
19 message CompositorMessageToMain { | |
20 // Placeholder for compositor message data meant for ChannelMain. | |
21 } | |
22 | |
23 message CompositorMessageToImpl { | |
24 // Placeholder for compositor message data meant for ChannelImpl. | |
25 } | |
OLD | NEW |