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

Unified Diff: mojo/dart/packages/mojo/lib/mojo/interface_control_messages.mojom.dart

Issue 1539673003: Generate Mojom Types in Dart (Take 2) (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Update to master and regenerate mojoms Created 4 years, 11 months 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
Index: mojo/dart/packages/mojo/lib/mojo/interface_control_messages.mojom.dart
diff --git a/mojo/dart/packages/mojo/lib/mojo/interface_control_messages.mojom.dart b/mojo/dart/packages/mojo/lib/mojo/interface_control_messages.mojom.dart
index a64aae24e69d92db25afa302c7351e4cf8a060ff..a3171bccff6eaa87a30e7fb10d28a86eb7df4015 100644
--- a/mojo/dart/packages/mojo/lib/mojo/interface_control_messages.mojom.dart
+++ b/mojo/dart/packages/mojo/lib/mojo/interface_control_messages.mojom.dart
@@ -5,9 +5,12 @@
library interface_control_messages_mojom;
import 'dart:async';
+import 'dart:collection';
import 'package:mojo/bindings.dart' as bindings;
import 'package:mojo/core.dart' as core;
+import 'package:mojo/mojo/bindings/types/mojom_types.mojom.dart' as mojom_types;
+
const int kRunMessageId = 4294967295;
const int kRunOrClosePipeMessageId = 4294967294;
@@ -97,6 +100,30 @@ class RunMessageParams extends bindings.Struct {
return map;
}
}
+mojom_types.MojomStruct _interface_control_messages_RunMessageParams__() {
+ return new mojom_types.MojomStruct()
+ ..declData = (new mojom_types.DeclarationData()
+ ..shortName = 'RunMessageParams'
+ ..fullIdentifier = 'mojo.RunMessageParams')
+ ..fields = <mojom_types.StructField>[
+ new mojom_types.StructField()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'Reserved0')
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.uint32),
+
+ new mojom_types.StructField()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'Reserved1')
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.uint32),
+
+ new mojom_types.StructField()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'QueryVersion')
+ ..type = (new mojom_types.Type()
+ ..typeReference = (new mojom_types.TypeReference()
+
+ ..identifier = '_interface_control_messages_QueryVersion__'
+ ..typeKey = '_interface_control_messages_QueryVersion__'
+ )),
+ ];
+}
class RunResponseMessageParams extends bindings.Struct {
@@ -183,6 +210,30 @@ class RunResponseMessageParams extends bindings.Struct {
return map;
}
}
+mojom_types.MojomStruct _interface_control_messages_RunResponseMessageParams__() {
+ return new mojom_types.MojomStruct()
+ ..declData = (new mojom_types.DeclarationData()
+ ..shortName = 'RunResponseMessageParams'
+ ..fullIdentifier = 'mojo.RunResponseMessageParams')
+ ..fields = <mojom_types.StructField>[
+ new mojom_types.StructField()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'Reserved0')
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.uint32),
+
+ new mojom_types.StructField()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'Reserved1')
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.uint32),
+
+ new mojom_types.StructField()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'QueryVersionResult')
+ ..type = (new mojom_types.Type()
+ ..typeReference = (new mojom_types.TypeReference()
+
+ ..identifier = '_interface_control_messages_QueryVersionResult__'
+ ..typeKey = '_interface_control_messages_QueryVersionResult__'
+ )),
+ ];
+}
class QueryVersion extends bindings.Struct {
@@ -241,6 +292,13 @@ class QueryVersion extends bindings.Struct {
return map;
}
}
+mojom_types.MojomStruct _interface_control_messages_QueryVersion__() {
+ return new mojom_types.MojomStruct()
+ ..declData = (new mojom_types.DeclarationData()
+ ..shortName = 'QueryVersion'
+ ..fullIdentifier = 'mojo.QueryVersion')
+ ..fields = <mojom_types.StructField>[];
+}
class QueryVersionResult extends bindings.Struct {
@@ -308,6 +366,17 @@ class QueryVersionResult extends bindings.Struct {
return map;
}
}
+mojom_types.MojomStruct _interface_control_messages_QueryVersionResult__() {
+ return new mojom_types.MojomStruct()
+ ..declData = (new mojom_types.DeclarationData()
+ ..shortName = 'QueryVersionResult'
+ ..fullIdentifier = 'mojo.QueryVersionResult')
+ ..fields = <mojom_types.StructField>[
+ new mojom_types.StructField()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'Version')
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.uint32),
+ ];
+}
class RunOrClosePipeMessageParams extends bindings.Struct {
@@ -394,6 +463,30 @@ class RunOrClosePipeMessageParams extends bindings.Struct {
return map;
}
}
+mojom_types.MojomStruct _interface_control_messages_RunOrClosePipeMessageParams__() {
+ return new mojom_types.MojomStruct()
+ ..declData = (new mojom_types.DeclarationData()
+ ..shortName = 'RunOrClosePipeMessageParams'
+ ..fullIdentifier = 'mojo.RunOrClosePipeMessageParams')
+ ..fields = <mojom_types.StructField>[
+ new mojom_types.StructField()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'Reserved0')
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.uint32),
+
+ new mojom_types.StructField()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'Reserved1')
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.uint32),
+
+ new mojom_types.StructField()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'RequireVersion')
+ ..type = (new mojom_types.Type()
+ ..typeReference = (new mojom_types.TypeReference()
+
+ ..identifier = '_interface_control_messages_RequireVersion__'
+ ..typeKey = '_interface_control_messages_RequireVersion__'
+ )),
+ ];
+}
class RequireVersion extends bindings.Struct {
@@ -461,5 +554,54 @@ class RequireVersion extends bindings.Struct {
return map;
}
}
+mojom_types.MojomStruct _interface_control_messages_RequireVersion__() {
+ return new mojom_types.MojomStruct()
+ ..declData = (new mojom_types.DeclarationData()
+ ..shortName = 'RequireVersion'
+ ..fullIdentifier = 'mojo.RequireVersion')
+ ..fields = <mojom_types.StructField>[
+ new mojom_types.StructField()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'Version')
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.uint32),
+ ];
+}
+
+
+
+
+
+
+Map<String, mojom_types.UserDefinedType> _initDescriptions() {
+ var map = new HashMap<String, mojom_types.UserDefinedType>();
+map["_interface_control_messages_RunMessageParams__"] =
+ new mojom_types.UserDefinedType()
+ ..structType = _interface_control_messages_RunMessageParams__();
+map["_interface_control_messages_RunResponseMessageParams__"] =
+ new mojom_types.UserDefinedType()
+ ..structType = _interface_control_messages_RunResponseMessageParams__();
+map["_interface_control_messages_QueryVersion__"] =
+ new mojom_types.UserDefinedType()
+ ..structType = _interface_control_messages_QueryVersion__();
+map["_interface_control_messages_QueryVersionResult__"] =
+ new mojom_types.UserDefinedType()
+ ..structType = _interface_control_messages_QueryVersionResult__();
+map["_interface_control_messages_RunOrClosePipeMessageParams__"] =
+ new mojom_types.UserDefinedType()
+ ..structType = _interface_control_messages_RunOrClosePipeMessageParams__();
+map["_interface_control_messages_RequireVersion__"] =
+ new mojom_types.UserDefinedType()
+ ..structType = _interface_control_messages_RequireVersion__();
+
+ return map;
+}
+
+var _MojomDesc;
+Map<String, mojom_types.UserDefinedType> getAllMojomTypeDefinitions() {
+ if (_MojomDesc == null) {
+ _MojomDesc = _initDescriptions();
+ }
+ return _MojomDesc;
+}
+

Powered by Google App Engine
This is Rietveld 408576698