| 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; | |
| 10 | |
| 11 package remoting.protocol; | 9 package remoting.protocol; |
| 12 | 10 |
| 13 message ClientDimensions { | 11 message ClientDimensions { |
| 14 // Width and height of the client. | 12 // Width and height of the client. |
| 15 optional int32 width = 1; | 13 optional int32 width = 1; |
| 16 optional int32 height = 2; | 14 optional int32 height = 2; |
| 17 } | 15 } |
| 18 | 16 |
| 19 message VideoControl { | 17 message VideoControl { |
| 20 // Enables the video channel if true, pauses if false. | 18 // Enables the video channel if true, pauses if false. |
| (...skipping 10 matching lines...) Expand all Loading... |
| 31 optional int32 width = 1; | 29 optional int32 width = 1; |
| 32 optional int32 height = 2; | 30 optional int32 height = 2; |
| 33 | 31 |
| 34 // X,Y coordinates (relative to upper-left corner) of the cursor hotspot. | 32 // X,Y coordinates (relative to upper-left corner) of the cursor hotspot. |
| 35 optional int32 hotspot_x = 3; | 33 optional int32 hotspot_x = 3; |
| 36 optional int32 hotspot_y = 4; | 34 optional int32 hotspot_y = 4; |
| 37 | 35 |
| 38 // Cursor pixmap data in 32-bit BGRA format. | 36 // Cursor pixmap data in 32-bit BGRA format. |
| 39 optional bytes data = 5; | 37 optional bytes data = 5; |
| 40 } | 38 } |
| OLD | NEW |