| Index: mojo/dart/packages/_mojo_for_test_only/lib/mojo/test/rect.mojom.dart
|
| diff --git a/mojo/dart/packages/_mojo_for_test_only/lib/mojo/test/rect.mojom.dart b/mojo/dart/packages/_mojo_for_test_only/lib/mojo/test/rect.mojom.dart
|
| index b9688b9a14af518d53a9ccf9da4bb68bbfa25a5e..f51a0d64d030757c7edef6e0bb1060eab05f743f 100644
|
| --- a/mojo/dart/packages/_mojo_for_test_only/lib/mojo/test/rect.mojom.dart
|
| +++ b/mojo/dart/packages/_mojo_for_test_only/lib/mojo/test/rect.mojom.dart
|
| @@ -8,6 +8,8 @@ import 'dart:async';
|
|
|
| import 'package:mojo/bindings.dart' as bindings;
|
| import 'package:mojo/core.dart' as core;
|
| +import 'package:mojo/mojo/mojom_types.mojom.dart' as mojom_types;
|
| +
|
|
|
|
|
|
|
| @@ -104,4 +106,59 @@ class Rect extends bindings.Struct {
|
| }
|
| }
|
|
|
| +mojom_types.MojomStruct _rect_Rect__() {
|
| + return new mojom_types.MojomStruct()
|
| + ..declData = (new mojom_types.DeclarationData()..shortName = 'Rect')
|
| + ..fields = <mojom_types.StructField>[
|
| + new mojom_types.StructField()
|
| + ..declData = (new mojom_types.DeclarationData()..shortName = 'X')
|
| + ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.INT32),
|
| +
|
| + new mojom_types.StructField()
|
| + ..declData = (new mojom_types.DeclarationData()..shortName = 'Y')
|
| + ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.INT32),
|
| +
|
| + new mojom_types.StructField()
|
| + ..declData = (new mojom_types.DeclarationData()..shortName = 'Width')
|
| + ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.INT32),
|
| +
|
| + new mojom_types.StructField()
|
| + ..declData = (new mojom_types.DeclarationData()..shortName = 'Height')
|
| + ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.INT32),
|
| + ];
|
| +}
|
| +
|
| +
|
| +
|
| +
|
| +
|
| +
|
| +
|
| +
|
| +
|
| +var _MojomDesc__ = _initDescriptions();
|
| +
|
| +Map<String, mojom_types.UserDefinedType> _initDescriptions() {
|
| + var map = new Map<String, mojom_types.UserDefinedType>();
|
| +
|
| + map["_rect_Rect__"] =
|
| + new mojom_types.UserDefinedType()
|
| + ..structType = _rect_Rect__();
|
| +
|
| +
|
| +
|
| +
|
| +
|
| +
|
| +
|
| +
|
| +
|
| +
|
| + return map;
|
| +}
|
| +
|
| +Map<String, mojom_types.UserDefinedType> getAllMojomTypeDefinitions() {
|
| + return _MojomDesc__;
|
| +}
|
| +
|
|
|
|
|