Index: blimp/common/proto/render_widget.proto |
diff --git a/blimp/common/proto/control.proto b/blimp/common/proto/render_widget.proto |
similarity index 50% |
copy from blimp/common/proto/control.proto |
copy to blimp/common/proto/render_widget.proto |
index bcb9aaab7ff60f895b75a60ae9544c8d81517bdc..480371b5a537a5fc6d7f1d6f0adc5b10465fe4b0 100644 |
--- a/blimp/common/proto/control.proto |
+++ b/blimp/common/proto/render_widget.proto |
@@ -2,19 +2,22 @@ |
// 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; |
-message ControlMessage { |
+package blimp; |
+ |
+message RenderWidgetMessage { |
enum Type { |
- UNKNOWN = 0; |
+ // TODO(dtrainor): Leaving this a bit open in case we need to send other |
+ // types of RenderWidget messages (like shutdown). |
- // Client <=> Server types. |
- CREATE_TAB = 1; |
- CLOSE_TAB = 2; |
+ // Engine => Client types. |
+ INITIALIZE = 1; |
} |
+ |
optional Type type = 1; |
-} |
+ optional uint32 render_widget_id = 2; |
+} |