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 10 matching lines...) Expand all Loading... |
21 CLOSE_TAB = 2; | 21 CLOSE_TAB = 2; |
22 | 22 |
23 // Client => Server types. | 23 // Client => Server types. |
24 SIZE = 3; | 24 SIZE = 3; |
25 } | 25 } |
26 | 26 |
27 optional Type type = 1; | 27 optional Type type = 1; |
28 | 28 |
29 // Feature-specific messages follow. | 29 // Feature-specific messages follow. |
30 // Only one of these fields may be set per TabControlMessage. | 30 // Only one of these fields may be set per TabControlMessage. |
31 // TODO(kmarshall): use a 'oneof' union when it's supported in Chromium. | 31 // TODO(kmarshall): use a 'oneof' union when it's supported in Chromium. See |
| 32 // crbug.com/570371. |
32 optional SizeMessage size = 1000; | 33 optional SizeMessage size = 1000; |
33 } | 34 } |
OLD | NEW |