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 29 matching lines...) Expand all Loading... |
40 optional int32 width = 1; | 40 optional int32 width = 1; |
41 optional int32 height = 2; | 41 optional int32 height = 2; |
42 | 42 |
43 // X,Y coordinates (relative to upper-left corner) of the cursor hotspot. | 43 // X,Y coordinates (relative to upper-left corner) of the cursor hotspot. |
44 optional int32 hotspot_x = 3; | 44 optional int32 hotspot_x = 3; |
45 optional int32 hotspot_y = 4; | 45 optional int32 hotspot_y = 4; |
46 | 46 |
47 // Cursor pixmap data in 32-bit BGRA format. | 47 // Cursor pixmap data in 32-bit BGRA format. |
48 optional bytes data = 5; | 48 optional bytes data = 5; |
49 } | 49 } |
| 50 |
| 51 message Capabilities { |
| 52 // List of capabilities supported by the sender (case sensitive, capabilities |
| 53 // are separated by spaces). |
| 54 optional string capabilities = 1; |
| 55 } |
OLD | NEW |