Index: mojo/dart/packages/mojo_services/lib/mojo/ui/layouts.mojom.dart |
diff --git a/mojo/dart/packages/mojo_services/lib/mojo/ui/layouts.mojom.dart b/mojo/dart/packages/mojo_services/lib/mojo/ui/layouts.mojom.dart |
index bc16ff7cd94f445a127443f083ca65e40020ef84..1beb03eb0392d5bfc50fabcad5af902cfda4cb9f 100644 |
--- a/mojo/dart/packages/mojo_services/lib/mojo/ui/layouts.mojom.dart |
+++ b/mojo/dart/packages/mojo_services/lib/mojo/ui/layouts.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; |
+ |
import 'package:mojo_services/mojo/geometry.mojom.dart' as geometry_mojom; |
import 'package:mojo_services/mojo/surface_id.mojom.dart' as surface_id_mojom; |
@@ -106,6 +108,28 @@ class BoxConstraints extends bindings.Struct { |
} |
} |
+mojom_types.MojomStruct _layouts_BoxConstraints__() { |
+ return new mojom_types.MojomStruct() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'BoxConstraints') |
+ ..fields = <mojom_types.StructField>[ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'MinWidth') |
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.INT32), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'MaxWidth') |
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.INT32), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'MinHeight') |
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.INT32), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'MaxHeight') |
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.INT32), |
+ ]; |
+} |
+ |
class ViewLayoutParams extends bindings.Struct { |
static const List<bindings.StructDataHeader> kVersions = const [ |
@@ -183,6 +207,25 @@ class ViewLayoutParams extends bindings.Struct { |
} |
} |
+mojom_types.MojomStruct _layouts_ViewLayoutParams__() { |
+ return new mojom_types.MojomStruct() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'ViewLayoutParams') |
+ ..fields = <mojom_types.StructField>[ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'Constraints') |
+ ..type = (new mojom_types.Type() |
+ ..typeReference = (new mojom_types.TypeReference() |
+ |
+ ..identifier = '_layouts_BoxConstraints__' |
+ ..typeKey = '_layouts_BoxConstraints__' |
+ )), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'DevicePixelRatio') |
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.FLOAT), |
+ ]; |
+} |
+ |
class ViewLayoutInfo extends bindings.Struct { |
static const List<bindings.StructDataHeader> kVersions = const [ |
@@ -261,4 +304,87 @@ class ViewLayoutInfo extends bindings.Struct { |
} |
} |
+mojom_types.MojomStruct _layouts_ViewLayoutInfo__() { |
+ return new mojom_types.MojomStruct() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'ViewLayoutInfo') |
+ ..fields = <mojom_types.StructField>[ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'SurfaceId') |
+ ..type = (new mojom_types.Type() |
+ ..typeReference = (new mojom_types.TypeReference() |
+ |
+ ..identifier = '_surface_id_SurfaceId__' |
+ ..typeKey = '_surface_id_SurfaceId__' |
+ )), |
+ |
+ new mojom_types.StructField() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'Size') |
+ ..type = (new mojom_types.Type() |
+ ..typeReference = (new mojom_types.TypeReference() |
+ |
+ ..identifier = '_geometry_Size__' |
+ ..typeKey = '_geometry_Size__' |
+ )), |
+ ]; |
+} |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+var _MojomDesc__ = _initDescriptions(); |
+ |
+Map<String, mojom_types.UserDefinedType> _initDescriptions() { |
+ var map = new Map<String, mojom_types.UserDefinedType>(); |
+ |
+ map["_layouts_BoxConstraints__"] = |
+ new mojom_types.UserDefinedType() |
+ ..structType = _layouts_BoxConstraints__(); |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ map["_layouts_ViewLayoutParams__"] = |
+ new mojom_types.UserDefinedType() |
+ ..structType = _layouts_ViewLayoutParams__(); |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ map["_layouts_ViewLayoutInfo__"] = |
+ new mojom_types.UserDefinedType() |
+ ..structType = _layouts_ViewLayoutInfo__(); |
+ |
+ |
+ |
+ |
+ |
+ |
+geometry_mojom.getAllMojomTypeDefinitions().forEach((String s, mojom_types.UserDefinedType udt) { |
+ map[s] = udt; |
+}); |
+surface_id_mojom.getAllMojomTypeDefinitions().forEach((String s, mojom_types.UserDefinedType udt) { |
+ map[s] = udt; |
+}); |
+ return map; |
+} |
+ |
+Map<String, mojom_types.UserDefinedType> getAllMojomTypeDefinitions() { |
+ return _MojomDesc__; |
+} |
+ |