OLD | NEW |
---|---|
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 // | 4 // |
5 // Message definitions for browser tab control messages. | 5 // Message definitions for browser tab control messages. |
6 | 6 |
7 syntax = "proto2"; | 7 syntax = "proto2"; |
8 | 8 |
9 option optimize_for = LITE_RUNTIME; | 9 option optimize_for = LITE_RUNTIME; |
10 | 10 |
(...skipping 15 matching lines...) Expand all Loading... | |
26 CREATE_TAB = 1; | 26 CREATE_TAB = 1; |
27 CLOSE_TAB = 2; | 27 CLOSE_TAB = 2; |
28 | 28 |
29 // Client => Server types. | 29 // Client => Server types. |
30 SIZE = 3; | 30 SIZE = 3; |
31 } | 31 } |
32 | 32 |
33 optional Type type = 1; | 33 optional Type type = 1; |
34 | 34 |
35 // Feature-specific messages follow. | 35 // Feature-specific messages follow. |
36 // Only one of these fields may be set per TabControlMessage. | |
37 // TODO(kmarshall): use a 'oneof' union when it's supported in Chromium. See | |
38 // crbug.com/570371. | |
Wez
2016/05/18 01:53:31
Why are we removing this comment, since this proto
shaktisahu
2016/05/18 03:55:42
There is only one field here. Do we still need a o
Wez
2016/05/20 21:10:49
Good question; I'd suggest that we have some sort
shaktisahu
2016/05/20 22:29:41
Done.
| |
39 optional SizeMessage size = 1000; | 36 optional SizeMessage size = 1000; |
40 } | 37 } |
OLD | NEW |