summaryrefslogtreecommitdiffstats
path: root/remoting/proto/control.proto
blob: 6e40658f77527e2a86e33e03bac92330d9256dc4 (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
// 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.protocol;

// TODO(hclam): Isolate rectangle from these two messages.
message SuggestResolutionRequest {
  required int32 width = 1;
  required int32 height = 2;
};

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

// Represents a message being sent on the control channel.
message ControlMessage {
  optional SuggestResolutionRequest suggest_resolution = 1;
  optional NotifyResolutionRequest notify_resolution = 2;
}