Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(106)

Unified Diff: blimp/common/proto/blimp_message.proto

Issue 1450423002: Add glue between the client and engine for Blimp (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@blimp_ipc2
Patch Set: Fix build break Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « blimp/common/proto/BUILD.gn ('k') | blimp/common/proto/common.proto » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: blimp/common/proto/blimp_message.proto
diff --git a/blimp/common/proto/blimp_message.proto b/blimp/common/proto/blimp_message.proto
index 9b1168419a7267296fb003a0e4bf531d1e483ea2..505e0f44f138852ba825d5c4fcc1ef32aa24c7fb 100644
--- a/blimp/common/proto/blimp_message.proto
+++ b/blimp/common/proto/blimp_message.proto
@@ -18,7 +18,6 @@
// * Features are applied to unidirectional channels. Client->server and
// server->client channels for a component should be broken out as distinct
// features, even if they are conceptually similar.
-// * Shared proto types are contained in 'common.proto'.
syntax = "proto2";
@@ -28,16 +27,18 @@ import "control.proto";
import "compositor.proto";
import "input.proto";
import "navigation.proto";
+import "render_widget.proto";
package blimp;
message BlimpMessage {
enum Type {
UNKNOWN = 0;
- COMPOSITOR = 1;
- INPUT = 2;
- CONTROL = 3;
- NAVIGATION = 4;
+ CONTROL = 1;
+ NAVIGATION = 2;
+ RENDER_WIDGET = 3;
+ INPUT = 4;
+ COMPOSITOR = 5;
}
// Identifies the feature type of this message.
// The feature-specific contents are contained in optional fields of the same
@@ -58,9 +59,10 @@ message BlimpMessage {
// Feature-specific messages follow.
// Only one of these fields may be set per BlimpMessage.
// TODO(kmarshall): use a 'oneof' union when it's supported in Chromium.
- optional CompositorMessage compositor = 1000;
- optional InputMessage input = 1001;
- optional ControlMessage control = 1002;
- optional NavigationMessage navigation = 1003;
+ optional ControlMessage control = 1000;
+ optional NavigationMessage navigation = 1001;
+ optional RenderWidgetMessage render_widget = 1002;
+ optional InputMessage input = 1003;
+ optional CompositorMessage compositor = 1004;
}
« no previous file with comments | « blimp/common/proto/BUILD.gn ('k') | blimp/common/proto/common.proto » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698