summaryrefslogtreecommitdiffstats
path: root/remoting/proto/control.proto
blob: 99b5d373dfc5c8a5771449117b1dd7bbda60a61c (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
// 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.
//
// Protocol for control messages.

syntax = "proto2";

option optimize_for = LITE_RUNTIME;

package remoting;

message SuggestScreenResolutionRequest {
  required int32 width = 1;
  required int32 height = 2;
};

// Represents a control message that sent from the client to the host.
// This message is transmitted on the control channel.
message ClientControlMessage {
  optional SuggestScreenResolutionRequest suggest_screen_resolution_request = 1;
}

message SetScreenResolutionRequest {
  required int32 width = 1;
  required int32 height = 2;
};

// Represents a control message that sent from host to the client.
// This message is transmitted on the control channel.
message HostControlMessage {
  optional SetScreenResolutionRequest set_screen_resolution_request = 1;
}