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 control messages. | |
6 | 5 |
7 syntax = "proto2"; | 6 syntax = "proto2"; |
8 | 7 |
9 option optimize_for = LITE_RUNTIME; | 8 option optimize_for = LITE_RUNTIME; |
10 | 9 |
11 message ControlMessage { | 10 package blimp; |
| 11 |
| 12 message RenderWidgetMessage { |
12 enum Type { | 13 enum Type { |
13 UNKNOWN = 0; | 14 // TODO(dtrainor): Leaving this a bit open in case we need to send other |
| 15 // types of RenderWidget messages (like shutdown). |
14 | 16 |
15 // Client <=> Server types. | 17 // Engine => Client types. |
16 CREATE_TAB = 1; | 18 INITIALIZE = 1; |
17 CLOSE_TAB = 2; | |
18 } | 19 } |
| 20 |
19 optional Type type = 1; | 21 optional Type type = 1; |
20 } | 22 optional uint32 render_widget_id = 2; |
| 23 } |
OLD | NEW |