OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 // Protocol for control messages. | 5 // Protocol for control messages. |
6 | 6 |
7 syntax = "proto2"; | 7 syntax = "proto2"; |
8 | 8 |
9 option optimize_for = LITE_RUNTIME; | 9 option optimize_for = LITE_RUNTIME; |
10 | 10 |
11 package remoting; | 11 package remoting; |
12 | 12 |
13 message SuggestScreenResolutionRequest { | 13 message SuggestScreenResolutionRequest { |
14 required int32 width = 1; | 14 required int32 width = 1; |
15 required int32 height = 2; | 15 required int32 height = 2; |
16 }; | 16 }; |
17 | 17 |
18 // Represents a control message that sent from the client to the host. | 18 // Represents a control message that sent from the client to the host. |
19 // This message is transmitted on the control channel. | 19 // This message is transmitted on the control channel. |
20 message ClientControlMessage { | 20 message ClientControlMessage { |
21 optional SuggestScreenResolutionRequest suggestScreenResolutionRequest = 1; | 21 optional SuggestScreenResolutionRequest suggest_screen_resolution_request = 1; |
22 } | 22 } |
23 | 23 |
24 message SetScreenResolutionRequest { | 24 message SetScreenResolutionRequest { |
25 required int32 width = 1; | 25 required int32 width = 1; |
26 required int32 height = 2; | 26 required int32 height = 2; |
27 }; | 27 }; |
28 | 28 |
29 // Represents a control message that sent from host to the client. | 29 // Represents a control message that sent from host to the client. |
30 // This message is transmitted on the control channel. | 30 // This message is transmitted on the control channel. |
31 message HostControlMessage { | 31 message HostControlMessage { |
32 optional SetScreenResolutionRequest setScreenResolutionRequest = 1; | 32 optional SetScreenResolutionRequest set_screen_resolution_request = 1; |
33 } | 33 } |
OLD | NEW |