summaryrefslogtreecommitdiffstats
path: root/remoting/proto/internal.proto
blob: 7a8e908f40d9a4f6cb9266510b2d02d5289bd149 (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
// 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 "control.proto";
import "event.proto";
import "video.proto";

option optimize_for = LITE_RUNTIME;

package remoting;

// 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;
}