| Index: mojo/dart/packages/mojo_services/lib/mojo/geometry.mojom.dart
|
| diff --git a/mojo/dart/packages/mojo_services/lib/mojo/geometry.mojom.dart b/mojo/dart/packages/mojo_services/lib/mojo/geometry.mojom.dart
|
| index 90422dd86a8cb9e1c42256139864fa61d05a6ffc..b8aaa5d4533b4b8ee0a7109a9c8528e1a0e22dae 100644
|
| --- a/mojo/dart/packages/mojo_services/lib/mojo/geometry.mojom.dart
|
| +++ b/mojo/dart/packages/mojo_services/lib/mojo/geometry.mojom.dart
|
| @@ -5,9 +5,12 @@
|
| library geometry_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;
|
| +
|
|
|
|
|
|
|
| @@ -85,6 +88,21 @@ class Point extends bindings.Struct {
|
| return map;
|
| }
|
| }
|
| +mojom_types.MojomStruct _geometry_Point__() {
|
| + return new mojom_types.MojomStruct()
|
| + ..declData = (new mojom_types.DeclarationData()
|
| + ..shortName = 'Point'
|
| + ..fullIdentifier = 'mojo.Point')
|
| + ..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),
|
| + ];
|
| +}
|
|
|
|
|
| class PointF extends bindings.Struct {
|
| @@ -161,6 +179,21 @@ class PointF extends bindings.Struct {
|
| return map;
|
| }
|
| }
|
| +mojom_types.MojomStruct _geometry_PointF__() {
|
| + return new mojom_types.MojomStruct()
|
| + ..declData = (new mojom_types.DeclarationData()
|
| + ..shortName = 'PointF'
|
| + ..fullIdentifier = 'mojo.PointF')
|
| + ..fields = <mojom_types.StructField>[
|
| + new mojom_types.StructField()
|
| + ..declData = (new mojom_types.DeclarationData()..shortName = 'X')
|
| + ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.float),
|
| +
|
| + new mojom_types.StructField()
|
| + ..declData = (new mojom_types.DeclarationData()..shortName = 'Y')
|
| + ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.float),
|
| + ];
|
| +}
|
|
|
|
|
| class Size extends bindings.Struct {
|
| @@ -237,6 +270,21 @@ class Size extends bindings.Struct {
|
| return map;
|
| }
|
| }
|
| +mojom_types.MojomStruct _geometry_Size__() {
|
| + return new mojom_types.MojomStruct()
|
| + ..declData = (new mojom_types.DeclarationData()
|
| + ..shortName = 'Size'
|
| + ..fullIdentifier = 'mojo.Size')
|
| + ..fields = <mojom_types.StructField>[
|
| + 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),
|
| + ];
|
| +}
|
|
|
|
|
| class Rect extends bindings.Struct {
|
| @@ -331,6 +379,29 @@ class Rect extends bindings.Struct {
|
| return map;
|
| }
|
| }
|
| +mojom_types.MojomStruct _geometry_Rect__() {
|
| + return new mojom_types.MojomStruct()
|
| + ..declData = (new mojom_types.DeclarationData()
|
| + ..shortName = 'Rect'
|
| + ..fullIdentifier = 'mojo.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),
|
| + ];
|
| +}
|
|
|
|
|
| class RectF extends bindings.Struct {
|
| @@ -425,6 +496,29 @@ class RectF extends bindings.Struct {
|
| return map;
|
| }
|
| }
|
| +mojom_types.MojomStruct _geometry_RectF__() {
|
| + return new mojom_types.MojomStruct()
|
| + ..declData = (new mojom_types.DeclarationData()
|
| + ..shortName = 'RectF'
|
| + ..fullIdentifier = 'mojo.RectF')
|
| + ..fields = <mojom_types.StructField>[
|
| + new mojom_types.StructField()
|
| + ..declData = (new mojom_types.DeclarationData()..shortName = 'X')
|
| + ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.float),
|
| +
|
| + new mojom_types.StructField()
|
| + ..declData = (new mojom_types.DeclarationData()..shortName = 'Y')
|
| + ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.float),
|
| +
|
| + new mojom_types.StructField()
|
| + ..declData = (new mojom_types.DeclarationData()..shortName = 'Width')
|
| + ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.float),
|
| +
|
| + new mojom_types.StructField()
|
| + ..declData = (new mojom_types.DeclarationData()..shortName = 'Height')
|
| + ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.float),
|
| + ];
|
| +}
|
|
|
|
|
| class Transform extends bindings.Struct {
|
| @@ -492,5 +586,55 @@ class Transform extends bindings.Struct {
|
| return map;
|
| }
|
| }
|
| +mojom_types.MojomStruct _geometry_Transform__() {
|
| + return new mojom_types.MojomStruct()
|
| + ..declData = (new mojom_types.DeclarationData()
|
| + ..shortName = 'Transform'
|
| + ..fullIdentifier = 'mojo.Transform')
|
| + ..fields = <mojom_types.StructField>[
|
| + new mojom_types.StructField()
|
| + ..declData = (new mojom_types.DeclarationData()..shortName = 'Matrix')
|
| + ..type = (new mojom_types.Type()..arrayType = (new mojom_types.ArrayType()..fixedLength = 16
|
| + ..elementType = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.float))),
|
| + ];
|
| +}
|
| +
|
| +
|
| +
|
| +
|
| +
|
| +
|
| +
|
| +
|
| +Map<String, mojom_types.UserDefinedType> _initDescriptions() {
|
| + var map = new HashMap<String, mojom_types.UserDefinedType>();
|
| +map["_geometry_Point__"] =
|
| + new mojom_types.UserDefinedType()
|
| + ..structType = _geometry_Point__();
|
| +map["_geometry_PointF__"] =
|
| + new mojom_types.UserDefinedType()
|
| + ..structType = _geometry_PointF__();
|
| +map["_geometry_Size__"] =
|
| + new mojom_types.UserDefinedType()
|
| + ..structType = _geometry_Size__();
|
| +map["_geometry_Rect__"] =
|
| + new mojom_types.UserDefinedType()
|
| + ..structType = _geometry_Rect__();
|
| +map["_geometry_RectF__"] =
|
| + new mojom_types.UserDefinedType()
|
| + ..structType = _geometry_RectF__();
|
| +map["_geometry_Transform__"] =
|
| + new mojom_types.UserDefinedType()
|
| + ..structType = _geometry_Transform__();
|
| +
|
| + return map;
|
| +}
|
|
|
| +var _MojomDesc;
|
| +Map<String, mojom_types.UserDefinedType> getAllMojomTypeDefinitions() {
|
| + if (_MojomDesc == null) {
|
| + _MojomDesc = _initDescriptions();
|
| + }
|
| + return _MojomDesc;
|
| +}
|
|
|
|
|