OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 |
(...skipping 10 matching lines...) Expand all Loading... |
21 | 21 |
22 // Horizontal and vertical DPI of the screen. If either of these is zero or | 22 // Horizontal and vertical DPI of the screen. If either of these is zero or |
23 // unset, the corresponding DPI should be assumed to be 96 (Windows' default) | 23 // unset, the corresponding DPI should be assumed to be 96 (Windows' default) |
24 optional int32 x_dpi = 5; | 24 optional int32 x_dpi = 5; |
25 optional int32 y_dpi = 6; | 25 optional int32 y_dpi = 6; |
26 } | 26 } |
27 | 27 |
28 message VideoControl { | 28 message VideoControl { |
29 // Enables the video channel if true, pauses if false. | 29 // Enables the video channel if true, pauses if false. |
30 optional bool enable = 1; | 30 optional bool enable = 1; |
| 31 |
| 32 // Controls whether lossless encode and color translation are requested. |
| 33 optional bool lossless_encode = 2; |
| 34 optional bool lossless_color = 3; |
31 } | 35 } |
32 | 36 |
33 message AudioControl { | 37 message AudioControl { |
34 // Enables the audio channel if true, pauses if false. | 38 // Enables the audio channel if true, pauses if false. |
35 optional bool enable = 1; | 39 optional bool enable = 1; |
36 } | 40 } |
37 | 41 |
38 message CursorShapeInfo { | 42 message CursorShapeInfo { |
39 // Width, height (in screen pixels) of the cursor. | 43 // Width, height (in screen pixels) of the cursor. |
40 optional int32 width = 1; | 44 optional int32 width = 1; |
(...skipping 29 matching lines...) Expand all Loading... |
70 message ExtensionMessage { | 74 message ExtensionMessage { |
71 // The message type. This is used to dispatch the message to the correct | 75 // The message type. This is used to dispatch the message to the correct |
72 // recipient. | 76 // recipient. |
73 optional string type = 1; | 77 optional string type = 1; |
74 | 78 |
75 // String-encoded message data. The client and host must agree on the encoding | 79 // String-encoded message data. The client and host must agree on the encoding |
76 // for each message type; different message types need not shared the same | 80 // for each message type; different message types need not shared the same |
77 // encoding. | 81 // encoding. |
78 optional string data = 2; | 82 optional string data = 2; |
79 } | 83 } |
OLD | NEW |