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..86b7bdb1f13d23ac653a9ff947b8c54b7b8728c0 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 |
@@ -5,9 +5,12 @@ |
library rect_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; |
+ |
@@ -103,5 +106,51 @@ class Rect extends bindings.Struct { |
return map; |
} |
} |
+mojom_types.MojomStruct _rect_Rect__() { |
+ return new mojom_types.MojomStruct() |
+ ..declData = (new mojom_types.DeclarationData() |
+ ..shortName = 'Rect' |
+ ..fullIdentifier = 'mojo.test.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), |
+ ]; |
+} |
+ |
+ |
+ |
+ |
+ |
+ |
+Map<String, mojom_types.UserDefinedType> _initDescriptions() { |
+ var map = new HashMap<String, mojom_types.UserDefinedType>(); |
+map["_rect_Rect__"] = |
+ new mojom_types.UserDefinedType() |
+ ..structType = _rect_Rect__(); |
+ |
+ return map; |
+} |
+ |
+var _MojomDesc; |
+Map<String, mojom_types.UserDefinedType> getAllMojomTypeDefinitions() { |
+ if (_MojomDesc == null) { |
+ _MojomDesc = _initDescriptions(); |
+ } |
+ return _MojomDesc; |
+} |
+ |