blob: fbe3181ea6c2e137da068ca53b77328c5bc50651 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
// Copyright (c) 2010 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Internal messages as a unit for transmission in the wire.
syntax = "proto2";
import "event.proto";
import "video.proto";
option optimize_for = LITE_RUNTIME;
package remoting;
// Defines the message that is sent from the host to the client.
// Only one of these messages should be present.
// NEXT ID: 5
message ChromotingHostMessage {
optional InitClientMessage init_client= 1;
optional VideoPacket video_packet = 2;
}
// Defines the message that is sent from the client to the host.
// Only one of the optional messages should be present.
// NEXT ID: 7
message ChromotingClientMessage {
optional KeyEvent key_event = 1;
optional MouseSetPositionEvent mouse_set_position_event = 2;
optional MouseMoveEvent mouse_move_event = 3;
optional MouseWheelEvent mouse_wheel_event = 4;
optional MouseDownEvent mouse_down_event = 5;
optional MouseUpEvent mouse_up_event = 6;
}
|