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

Unified Diff: mojo/dart/packages/mojo_services/lib/mojo/geometry.mojom.dart

Issue 1433183002: Generate Mojom Types for Dart (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Simplify identifier_store for Go and Dart Created 5 years, 1 month 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_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..06ce446317117c29263b70debdcfb9c7b4bcf81c 100644
--- a/mojo/dart/packages/mojo_services/lib/mojo/geometry.mojom.dart
+++ b/mojo/dart/packages/mojo_services/lib/mojo/geometry.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;
+
@@ -86,6 +88,20 @@ class Point extends bindings.Struct {
}
}
+mojom_types.MojomStruct _geometry_Point__() {
+ return new mojom_types.MojomStruct()
+ ..declData = (new mojom_types.DeclarationData()..shortName = '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 {
static const List<bindings.StructDataHeader> kVersions = const [
@@ -162,6 +178,20 @@ class PointF extends bindings.Struct {
}
}
+mojom_types.MojomStruct _geometry_PointF__() {
+ return new mojom_types.MojomStruct()
+ ..declData = (new mojom_types.DeclarationData()..shortName = '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 {
static const List<bindings.StructDataHeader> kVersions = const [
@@ -238,6 +268,20 @@ class Size extends bindings.Struct {
}
}
+mojom_types.MojomStruct _geometry_Size__() {
+ return new mojom_types.MojomStruct()
+ ..declData = (new mojom_types.DeclarationData()..shortName = '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 {
static const List<bindings.StructDataHeader> kVersions = const [
@@ -332,6 +376,28 @@ class Rect extends bindings.Struct {
}
}
+mojom_types.MojomStruct _geometry_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),
+ ];
+}
+
class RectF extends bindings.Struct {
static const List<bindings.StructDataHeader> kVersions = const [
@@ -426,6 +492,28 @@ class RectF extends bindings.Struct {
}
}
+mojom_types.MojomStruct _geometry_RectF__() {
+ return new mojom_types.MojomStruct()
+ ..declData = (new mojom_types.DeclarationData()..shortName = '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 {
static const List<bindings.StructDataHeader> kVersions = const [
@@ -493,4 +581,100 @@ class Transform extends bindings.Struct {
}
}
+mojom_types.MojomStruct _geometry_Transform__() {
+ return new mojom_types.MojomStruct()
+ ..declData = (new mojom_types.DeclarationData()..shortName = '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))),
+ ];
+}
+
+
+
+
+
+
+
+
+
+var _MojomDesc__ = _initDescriptions();
+
+Map<String, mojom_types.UserDefinedType> _initDescriptions() {
+ var map = new Map<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;
+}
+
+Map<String, mojom_types.UserDefinedType> getAllMojomTypeDefinitions() {
+ return _MojomDesc__;
+}
+

Powered by Google App Engine
This is Rietveld 408576698