blob: 8d297892dcba69a1ce1dc37a71b4dae7623b2bbc (
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 2015 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.
//
// Message definitions for browser control messages.
syntax = "proto2";
option optimize_for = LITE_RUNTIME;
import "size.proto";
package blimp;
message ControlMessage {
enum Type {
UNKNOWN = 0;
// Client <=> Server types.
CREATE_TAB = 1;
CLOSE_TAB = 2;
// Client => Server types.
SIZE = 3;
}
optional Type type = 1;
// Feature-specific messages follow.
// Only one of these fields may be set per ControlMessage.
// TODO(kmarshall): use a 'oneof' union when it's supported in Chromium.
optional SizeMessage size = 1000;
}
|