| 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 event messages. | 5 // Protocol for event 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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 51 optional MouseButton button = 5; | 51 optional MouseButton button = 5; |
| 52 optional bool button_down = 6; | 52 optional bool button_down = 6; |
| 53 | 53 |
| 54 // Mouse wheel information. | 54 // Mouse wheel information. |
| 55 // These values encode the number of pixels and 'ticks' of movement that | 55 // These values encode the number of pixels and 'ticks' of movement that |
| 56 // would result from the wheel event on the client system. | 56 // would result from the wheel event on the client system. |
| 57 optional float wheel_delta_x = 7; | 57 optional float wheel_delta_x = 7; |
| 58 optional float wheel_delta_y = 8; | 58 optional float wheel_delta_y = 8; |
| 59 optional float wheel_ticks_x = 9; | 59 optional float wheel_ticks_x = 9; |
| 60 optional float wheel_ticks_y = 10; | 60 optional float wheel_ticks_y = 10; |
| 61 |
| 62 // Mouse movement information. Provided only when mouse lock is engaged. |
| 63 optional int32 delta_x = 11; |
| 64 optional int32 delta_y = 12; |
| 61 } | 65 } |
| 62 | 66 |
| 63 // Defines an event that sends clipboard data between peers. | 67 // Defines an event that sends clipboard data between peers. |
| 64 message ClipboardEvent { | 68 message ClipboardEvent { |
| 65 | 69 |
| 66 // The MIME type of the data being sent. | 70 // The MIME type of the data being sent. |
| 67 optional string mime_type = 1; | 71 optional string mime_type = 1; |
| 68 | 72 |
| 69 // The data being sent. | 73 // The data being sent. |
| 70 optional bytes data = 2; | 74 optional bytes data = 2; |
| 71 } | 75 } |
| OLD | NEW |