| 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 communication between chromoting client and host. | 5 // Protocol for communication between chromoting client and host. |
| 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 chromotocol_pb; | 11 package remoting; |
| 12 | 12 |
| 13 // A message that gets sent to the client after the client is connected to the | 13 // A message that gets sent to the client after the client is connected to the |
| 14 // host. It contains information that the client needs to know about the host. | 14 // host. It contains information that the client needs to know about the host. |
| 15 // NEXT ID: 3 | 15 // NEXT ID: 3 |
| 16 message InitClientMessage { | 16 message InitClientMessage { |
| 17 required int32 width = 1; | 17 required int32 width = 1; |
| 18 required int32 height = 2; | 18 required int32 height = 2; |
| 19 } | 19 } |
| 20 | 20 |
| 21 // A message to denote the beginning of an update stream. It will be followed | 21 // A message to denote the beginning of an update stream. It will be followed |
| (...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 144 // Only one of these messages should be present. | 144 // Only one of these messages should be present. |
| 145 // NEXT ID: 7 | 145 // NEXT ID: 7 |
| 146 message ClientMessage { | 146 message ClientMessage { |
| 147 optional KeyEvent key_event = 1; | 147 optional KeyEvent key_event = 1; |
| 148 optional MouseSetPositionEvent mouse_set_position_event = 2; | 148 optional MouseSetPositionEvent mouse_set_position_event = 2; |
| 149 optional MouseMoveEvent mouse_move_event = 3; | 149 optional MouseMoveEvent mouse_move_event = 3; |
| 150 optional MouseWheelEvent mouse_wheel_event = 4; | 150 optional MouseWheelEvent mouse_wheel_event = 4; |
| 151 optional MouseDownEvent mouse_down_event = 5; | 151 optional MouseDownEvent mouse_down_event = 5; |
| 152 optional MouseUpEvent mouse_up_event = 6; | 152 optional MouseUpEvent mouse_up_event = 6; |
| 153 } | 153 } |
| OLD | NEW |