OLD | NEW |
| (Empty) |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 // | |
5 // Message definitions for browser tab control messages. | |
6 | |
7 syntax = "proto2"; | |
8 | |
9 option optimize_for = LITE_RUNTIME; | |
10 | |
11 import "common.proto"; | |
12 | |
13 package blimp; | |
14 | |
15 // Contains display information that represents resize events coming from the | |
16 // client device. | |
17 message SizeMessage { | |
18 optional uint64 width = 1; | |
19 optional uint64 height = 2; | |
20 optional float device_pixel_ratio = 3; | |
21 } | |
22 | |
23 message TabControlMessage { | |
24 // Feature-specific messages follow. | |
25 oneof tab_control { | |
26 // Client <=> Server types. | |
27 EmptyMessage create_tab = 40; | |
28 EmptyMessage close_tab = 41; | |
29 | |
30 // Client => Server types. | |
31 SizeMessage size = 42; | |
32 } | |
33 } | |
OLD | NEW |