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

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

Issue 1539673003: Generate Mojom Types in Dart (Take 2) (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Update to master and regenerate mojoms Created 4 years, 11 months 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/quads.mojom.dart
diff --git a/mojo/dart/packages/mojo_services/lib/mojo/quads.mojom.dart b/mojo/dart/packages/mojo_services/lib/mojo/quads.mojom.dart
index e1968c1f4c617ecf59004cf92be00937bae20b26..1b42d2281f43bc2f0aabe98a048f54258a3efad9 100644
--- a/mojo/dart/packages/mojo_services/lib/mojo/quads.mojom.dart
+++ b/mojo/dart/packages/mojo_services/lib/mojo/quads.mojom.dart
@@ -5,12 +5,14 @@
library quads_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;
+
import 'package:mojo_services/mojo/geometry.mojom.dart' as geometry_mojom;
import 'package:mojo_services/mojo/surface_id.mojom.dart' as surface_id_mojom;
-
class YuvColorSpace extends bindings.MojoEnum {
static const YuvColorSpace rec601 = const YuvColorSpace._(0);
static const YuvColorSpace rec709 = const YuvColorSpace._(1);
@@ -62,12 +64,30 @@ class YuvColorSpace extends bindings.MojoEnum {
return 'YuvColorSpace.rec709';
case jpeg:
return 'YuvColorSpace.jpeg';
+ default:
+ return null;
}
}
int toJson() => mojoEnumValue;
}
+mojom_types.MojomEnum _quads_YUVColorSpace__() {
+ return new mojom_types.MojomEnum()
+ ..declData = (new mojom_types.DeclarationData()
+ ..shortName = 'YuvColorSpace'
+ ..fullIdentifier = 'mojo.YuvColorSpace')
+ ..values = <mojom_types.EnumValue>[new mojom_types.EnumValue()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'Rec601')
+ ..enumTypeKey = '_quads_YUVColorSpace__'
+ ..intValue = 0,new mojom_types.EnumValue()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'Rec709')
+ ..enumTypeKey = '_quads_YUVColorSpace__'
+ ..intValue = 1,new mojom_types.EnumValue()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'Jpeg')
+ ..enumTypeKey = '_quads_YUVColorSpace__'
+ ..intValue = 2,];
+}
class Material extends bindings.MojoEnum {
static const Material checkerboard = const Material._(1);
static const Material debugBorder = const Material._(2);
@@ -175,12 +195,54 @@ class Material extends bindings.MojoEnum {
return 'Material.tiledContent';
case yuvVideoContent:
return 'Material.yuvVideoContent';
+ default:
+ return null;
}
}
int toJson() => mojoEnumValue;
}
+mojom_types.MojomEnum _quads_Material__() {
+ return new mojom_types.MojomEnum()
+ ..declData = (new mojom_types.DeclarationData()
+ ..shortName = 'Material'
+ ..fullIdentifier = 'mojo.Material')
+ ..values = <mojom_types.EnumValue>[new mojom_types.EnumValue()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'Checkerboard')
+ ..enumTypeKey = '_quads_Material__'
+ ..intValue = 1,new mojom_types.EnumValue()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'DebugBorder')
+ ..enumTypeKey = '_quads_Material__'
+ ..intValue = 2,new mojom_types.EnumValue()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'IoSurfaceContent')
+ ..enumTypeKey = '_quads_Material__'
+ ..intValue = 3,new mojom_types.EnumValue()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'PictureContent')
+ ..enumTypeKey = '_quads_Material__'
+ ..intValue = 4,new mojom_types.EnumValue()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'RenderPass')
+ ..enumTypeKey = '_quads_Material__'
+ ..intValue = 5,new mojom_types.EnumValue()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'SolidColor')
+ ..enumTypeKey = '_quads_Material__'
+ ..intValue = 6,new mojom_types.EnumValue()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'StreamVideoContent')
+ ..enumTypeKey = '_quads_Material__'
+ ..intValue = 7,new mojom_types.EnumValue()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'SurfaceContent')
+ ..enumTypeKey = '_quads_Material__'
+ ..intValue = 8,new mojom_types.EnumValue()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'TextureContent')
+ ..enumTypeKey = '_quads_Material__'
+ ..intValue = 9,new mojom_types.EnumValue()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'TiledContent')
+ ..enumTypeKey = '_quads_Material__'
+ ..intValue = 10,new mojom_types.EnumValue()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'YuvVideoContent')
+ ..enumTypeKey = '_quads_Material__'
+ ..intValue = 11,];
+}
class SkXfermode extends bindings.MojoEnum {
static const SkXfermode kClearMode = const SkXfermode._(0);
static const SkXfermode kSrcMode = const SkXfermode._(1);
@@ -435,12 +497,118 @@ class SkXfermode extends bindings.MojoEnum {
return 'SkXfermode.kLuminosityMode';
case kLastMode:
return 'SkXfermode.kLastMode';
+ default:
+ return null;
}
}
int toJson() => mojoEnumValue;
}
+mojom_types.MojomEnum _quads_SkXfermode__() {
+ return new mojom_types.MojomEnum()
+ ..declData = (new mojom_types.DeclarationData()
+ ..shortName = 'SkXfermode'
+ ..fullIdentifier = 'mojo.SkXfermode')
+ ..values = <mojom_types.EnumValue>[new mojom_types.EnumValue()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'KClearMode')
+ ..enumTypeKey = '_quads_SkXfermode__'
+ ..intValue = 0,new mojom_types.EnumValue()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'KSrcMode')
+ ..enumTypeKey = '_quads_SkXfermode__'
+ ..intValue = 1,new mojom_types.EnumValue()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'KDstMode')
+ ..enumTypeKey = '_quads_SkXfermode__'
+ ..intValue = 2,new mojom_types.EnumValue()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'KSrcOverMode')
+ ..enumTypeKey = '_quads_SkXfermode__'
+ ..intValue = 3,new mojom_types.EnumValue()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'KDstOverMode')
+ ..enumTypeKey = '_quads_SkXfermode__'
+ ..intValue = 4,new mojom_types.EnumValue()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'KSrcInMode')
+ ..enumTypeKey = '_quads_SkXfermode__'
+ ..intValue = 5,new mojom_types.EnumValue()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'KDstInMode')
+ ..enumTypeKey = '_quads_SkXfermode__'
+ ..intValue = 6,new mojom_types.EnumValue()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'KSrcOutMode')
+ ..enumTypeKey = '_quads_SkXfermode__'
+ ..intValue = 7,new mojom_types.EnumValue()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'KDstOutMode')
+ ..enumTypeKey = '_quads_SkXfermode__'
+ ..intValue = 8,new mojom_types.EnumValue()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'KSrcATopMode')
+ ..enumTypeKey = '_quads_SkXfermode__'
+ ..intValue = 9,new mojom_types.EnumValue()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'KDstATopMode')
+ ..enumTypeKey = '_quads_SkXfermode__'
+ ..intValue = 10,new mojom_types.EnumValue()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'KXorMode')
+ ..enumTypeKey = '_quads_SkXfermode__'
+ ..intValue = 11,new mojom_types.EnumValue()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'KPlusMode')
+ ..enumTypeKey = '_quads_SkXfermode__'
+ ..intValue = 12,new mojom_types.EnumValue()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'KModulateMode')
+ ..enumTypeKey = '_quads_SkXfermode__'
+ ..intValue = 13,new mojom_types.EnumValue()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'KScreenMode')
+ ..enumTypeKey = '_quads_SkXfermode__'
+ ..intValue = 14,new mojom_types.EnumValue()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'KLastCoeffMode')
+ ..enumTypeKey = '_quads_SkXfermode__'
+ ..intValue = 14,new mojom_types.EnumValue()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'KOverlayMode')
+ ..enumTypeKey = '_quads_SkXfermode__'
+ ..intValue = 15,new mojom_types.EnumValue()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'KDarkenMode')
+ ..enumTypeKey = '_quads_SkXfermode__'
+ ..intValue = 16,new mojom_types.EnumValue()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'KLightenMode')
+ ..enumTypeKey = '_quads_SkXfermode__'
+ ..intValue = 17,new mojom_types.EnumValue()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'KColorDodgeMode')
+ ..enumTypeKey = '_quads_SkXfermode__'
+ ..intValue = 18,new mojom_types.EnumValue()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'KColorBurnMode')
+ ..enumTypeKey = '_quads_SkXfermode__'
+ ..intValue = 19,new mojom_types.EnumValue()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'KHardLightMode')
+ ..enumTypeKey = '_quads_SkXfermode__'
+ ..intValue = 20,new mojom_types.EnumValue()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'KSoftLightMode')
+ ..enumTypeKey = '_quads_SkXfermode__'
+ ..intValue = 21,new mojom_types.EnumValue()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'KDifferenceMode')
+ ..enumTypeKey = '_quads_SkXfermode__'
+ ..intValue = 22,new mojom_types.EnumValue()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'KExclusionMode')
+ ..enumTypeKey = '_quads_SkXfermode__'
+ ..intValue = 23,new mojom_types.EnumValue()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'KMultiplyMode')
+ ..enumTypeKey = '_quads_SkXfermode__'
+ ..intValue = 24,new mojom_types.EnumValue()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'KLastSeparableMode')
+ ..enumTypeKey = '_quads_SkXfermode__'
+ ..intValue = 24,new mojom_types.EnumValue()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'KHueMode')
+ ..enumTypeKey = '_quads_SkXfermode__'
+ ..intValue = 25,new mojom_types.EnumValue()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'KSaturationMode')
+ ..enumTypeKey = '_quads_SkXfermode__'
+ ..intValue = 26,new mojom_types.EnumValue()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'KColorMode')
+ ..enumTypeKey = '_quads_SkXfermode__'
+ ..intValue = 27,new mojom_types.EnumValue()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'KLuminosityMode')
+ ..enumTypeKey = '_quads_SkXfermode__'
+ ..intValue = 28,new mojom_types.EnumValue()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'KLastMode')
+ ..enumTypeKey = '_quads_SkXfermode__'
+ ..intValue = 28,];
+}
+
class Color extends bindings.Struct {
@@ -508,6 +676,17 @@ class Color extends bindings.Struct {
return map;
}
}
+mojom_types.MojomStruct _quads_Color__() {
+ return new mojom_types.MojomStruct()
+ ..declData = (new mojom_types.DeclarationData()
+ ..shortName = 'Color'
+ ..fullIdentifier = 'mojo.Color')
+ ..fields = <mojom_types.StructField>[
+ new mojom_types.StructField()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'Rgba')
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.uint32),
+ ];
+}
class CheckerboardQuadState extends bindings.Struct {
@@ -566,6 +745,13 @@ class CheckerboardQuadState extends bindings.Struct {
return map;
}
}
+mojom_types.MojomStruct _quads_CheckerboardQuadState__() {
+ return new mojom_types.MojomStruct()
+ ..declData = (new mojom_types.DeclarationData()
+ ..shortName = 'CheckerboardQuadState'
+ ..fullIdentifier = 'mojo.CheckerboardQuadState')
+ ..fields = <mojom_types.StructField>[];
+}
class DebugBorderQuadState extends bindings.Struct {
@@ -624,6 +810,13 @@ class DebugBorderQuadState extends bindings.Struct {
return map;
}
}
+mojom_types.MojomStruct _quads_DebugBorderQuadState__() {
+ return new mojom_types.MojomStruct()
+ ..declData = (new mojom_types.DeclarationData()
+ ..shortName = 'DebugBorderQuadState'
+ ..fullIdentifier = 'mojo.DebugBorderQuadState')
+ ..fields = <mojom_types.StructField>[];
+}
class IoSurfaceContentQuadState extends bindings.Struct {
@@ -682,6 +875,13 @@ class IoSurfaceContentQuadState extends bindings.Struct {
return map;
}
}
+mojom_types.MojomStruct _quads_IoSurfaceContentQuadState__() {
+ return new mojom_types.MojomStruct()
+ ..declData = (new mojom_types.DeclarationData()
+ ..shortName = 'IoSurfaceContentQuadState'
+ ..fullIdentifier = 'mojo.IoSurfaceContentQuadState')
+ ..fields = <mojom_types.StructField>[];
+}
class RenderPassId extends bindings.Struct {
@@ -758,6 +958,21 @@ class RenderPassId extends bindings.Struct {
return map;
}
}
+mojom_types.MojomStruct _quads_RenderPassId__() {
+ return new mojom_types.MojomStruct()
+ ..declData = (new mojom_types.DeclarationData()
+ ..shortName = 'RenderPassId'
+ ..fullIdentifier = 'mojo.RenderPassId')
+ ..fields = <mojom_types.StructField>[
+ new mojom_types.StructField()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'LayerId')
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.int32),
+
+ new mojom_types.StructField()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'Index')
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.int32),
+ ];
+}
class RenderPassQuadState extends bindings.Struct {
@@ -865,6 +1080,53 @@ class RenderPassQuadState extends bindings.Struct {
return map;
}
}
+mojom_types.MojomStruct _quads_RenderPassQuadState__() {
+ return new mojom_types.MojomStruct()
+ ..declData = (new mojom_types.DeclarationData()
+ ..shortName = 'RenderPassQuadState'
+ ..fullIdentifier = 'mojo.RenderPassQuadState')
+ ..fields = <mojom_types.StructField>[
+ new mojom_types.StructField()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'RenderPassId')
+ ..type = (new mojom_types.Type()
+ ..typeReference = (new mojom_types.TypeReference()
+
+ ..identifier = '_quads_RenderPassId__'
+ ..typeKey = '_quads_RenderPassId__'
+ )),
+
+ new mojom_types.StructField()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'MaskResourceId')
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.uint32),
+
+ new mojom_types.StructField()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'MaskUvScale')
+ ..type = (new mojom_types.Type()
+ ..typeReference = (new mojom_types.TypeReference()
+
+ ..identifier = '_geometry_PointF__'
+ ..typeKey = '_geometry_PointF__'
+ )),
+
+ new mojom_types.StructField()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'MaskTextureSize')
+ ..type = (new mojom_types.Type()
+ ..typeReference = (new mojom_types.TypeReference()
+
+ ..identifier = '_geometry_Size__'
+ ..typeKey = '_geometry_Size__'
+ )),
+
+ new mojom_types.StructField()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'FiltersScale')
+ ..type = (new mojom_types.Type()
+ ..typeReference = (new mojom_types.TypeReference()
+
+ ..identifier = '_geometry_PointF__'
+ ..typeKey = '_geometry_PointF__'
+ )),
+ ];
+}
class SolidColorQuadState extends bindings.Struct {
@@ -942,6 +1204,26 @@ class SolidColorQuadState extends bindings.Struct {
return map;
}
}
+mojom_types.MojomStruct _quads_SolidColorQuadState__() {
+ return new mojom_types.MojomStruct()
+ ..declData = (new mojom_types.DeclarationData()
+ ..shortName = 'SolidColorQuadState'
+ ..fullIdentifier = 'mojo.SolidColorQuadState')
+ ..fields = <mojom_types.StructField>[
+ new mojom_types.StructField()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'Color')
+ ..type = (new mojom_types.Type()
+ ..typeReference = (new mojom_types.TypeReference()
+
+ ..identifier = '_quads_Color__'
+ ..typeKey = '_quads_Color__'
+ )),
+
+ new mojom_types.StructField()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'ForceAntiAliasingOff')
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.bool),
+ ];
+}
class SurfaceQuadState extends bindings.Struct {
@@ -1010,6 +1292,22 @@ class SurfaceQuadState extends bindings.Struct {
return map;
}
}
+mojom_types.MojomStruct _quads_SurfaceQuadState__() {
+ return new mojom_types.MojomStruct()
+ ..declData = (new mojom_types.DeclarationData()
+ ..shortName = 'SurfaceQuadState'
+ ..fullIdentifier = 'mojo.SurfaceQuadState')
+ ..fields = <mojom_types.StructField>[
+ new mojom_types.StructField()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'Surface')
+ ..type = (new mojom_types.Type()
+ ..typeReference = (new mojom_types.TypeReference()
+
+ ..identifier = '_surface_id_SurfaceId__'
+ ..typeKey = '_surface_id_SurfaceId__'
+ )),
+ ];
+}
class TextureQuadState extends bindings.Struct {
@@ -1143,6 +1441,61 @@ class TextureQuadState extends bindings.Struct {
return map;
}
}
+mojom_types.MojomStruct _quads_TextureQuadState__() {
+ return new mojom_types.MojomStruct()
+ ..declData = (new mojom_types.DeclarationData()
+ ..shortName = 'TextureQuadState'
+ ..fullIdentifier = 'mojo.TextureQuadState')
+ ..fields = <mojom_types.StructField>[
+ new mojom_types.StructField()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'ResourceId')
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.uint32),
+
+ new mojom_types.StructField()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'PremultipliedAlpha')
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.bool),
+
+ new mojom_types.StructField()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'UvTopLeft')
+ ..type = (new mojom_types.Type()
+ ..typeReference = (new mojom_types.TypeReference()
+
+ ..identifier = '_geometry_PointF__'
+ ..typeKey = '_geometry_PointF__'
+ )),
+
+ new mojom_types.StructField()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'UvBottomRight')
+ ..type = (new mojom_types.Type()
+ ..typeReference = (new mojom_types.TypeReference()
+
+ ..identifier = '_geometry_PointF__'
+ ..typeKey = '_geometry_PointF__'
+ )),
+
+ new mojom_types.StructField()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'BackgroundColor')
+ ..type = (new mojom_types.Type()
+ ..typeReference = (new mojom_types.TypeReference()
+
+ ..identifier = '_quads_Color__'
+ ..typeKey = '_quads_Color__'
+ )),
+
+ new mojom_types.StructField()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'VertexOpacity')
+ ..type = (new mojom_types.Type()..arrayType = (new mojom_types.ArrayType()..fixedLength = 4
+ ..elementType = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.float))),
+
+ new mojom_types.StructField()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'Flipped')
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.bool),
+
+ new mojom_types.StructField()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'NearestNeighbor')
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.bool),
+ ];
+}
class TileQuadState extends bindings.Struct {
@@ -1248,6 +1601,43 @@ class TileQuadState extends bindings.Struct {
return map;
}
}
+mojom_types.MojomStruct _quads_TileQuadState__() {
+ return new mojom_types.MojomStruct()
+ ..declData = (new mojom_types.DeclarationData()
+ ..shortName = 'TileQuadState'
+ ..fullIdentifier = 'mojo.TileQuadState')
+ ..fields = <mojom_types.StructField>[
+ new mojom_types.StructField()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'TexCoordRect')
+ ..type = (new mojom_types.Type()
+ ..typeReference = (new mojom_types.TypeReference()
+
+ ..identifier = '_geometry_RectF__'
+ ..typeKey = '_geometry_RectF__'
+ )),
+
+ new mojom_types.StructField()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'TextureSize')
+ ..type = (new mojom_types.Type()
+ ..typeReference = (new mojom_types.TypeReference()
+
+ ..identifier = '_geometry_Size__'
+ ..typeKey = '_geometry_Size__'
+ )),
+
+ new mojom_types.StructField()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'SwizzleContents')
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.bool),
+
+ new mojom_types.StructField()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'ResourceId')
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.uint32),
+
+ new mojom_types.StructField()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'NearestNeighbor')
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.bool),
+ ];
+}
class StreamVideoQuadState extends bindings.Struct {
@@ -1306,6 +1696,13 @@ class StreamVideoQuadState extends bindings.Struct {
return map;
}
}
+mojom_types.MojomStruct _quads_StreamVideoQuadState__() {
+ return new mojom_types.MojomStruct()
+ ..declData = (new mojom_types.DeclarationData()
+ ..shortName = 'StreamVideoQuadState'
+ ..fullIdentifier = 'mojo.StreamVideoQuadState')
+ ..fields = <mojom_types.StructField>[];
+}
class YuvVideoQuadState extends bindings.Struct {
@@ -1423,6 +1820,47 @@ class YuvVideoQuadState extends bindings.Struct {
return map;
}
}
+mojom_types.MojomStruct _quads_YUVVideoQuadState__() {
+ return new mojom_types.MojomStruct()
+ ..declData = (new mojom_types.DeclarationData()
+ ..shortName = 'YuvVideoQuadState'
+ ..fullIdentifier = 'mojo.YuvVideoQuadState')
+ ..fields = <mojom_types.StructField>[
+ new mojom_types.StructField()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'TexCoordRect')
+ ..type = (new mojom_types.Type()
+ ..typeReference = (new mojom_types.TypeReference()
+
+ ..identifier = '_geometry_RectF__'
+ ..typeKey = '_geometry_RectF__'
+ )),
+
+ new mojom_types.StructField()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'YPlaneResourceId')
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.uint32),
+
+ new mojom_types.StructField()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'UPlaneResourceId')
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.uint32),
+
+ new mojom_types.StructField()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'VPlaneResourceId')
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.uint32),
+
+ new mojom_types.StructField()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'APlaneResourceId')
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.uint32),
+
+ new mojom_types.StructField()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'ColorSpace')
+ ..type = (new mojom_types.Type()
+ ..typeReference = (new mojom_types.TypeReference()
+
+ ..identifier = '_quads_YUVColorSpace__'
+ ..typeKey = '_quads_YUVColorSpace__'
+ )),
+ ];
+}
class Quad extends bindings.Struct {
@@ -1642,6 +2080,167 @@ class Quad extends bindings.Struct {
return map;
}
}
+mojom_types.MojomStruct _quads_Quad__() {
+ return new mojom_types.MojomStruct()
+ ..declData = (new mojom_types.DeclarationData()
+ ..shortName = 'Quad'
+ ..fullIdentifier = 'mojo.Quad')
+ ..fields = <mojom_types.StructField>[
+ new mojom_types.StructField()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'Material')
+ ..type = (new mojom_types.Type()
+ ..typeReference = (new mojom_types.TypeReference()
+
+ ..identifier = '_quads_Material__'
+ ..typeKey = '_quads_Material__'
+ )),
+
+ new mojom_types.StructField()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'Rect')
+ ..type = (new mojom_types.Type()
+ ..typeReference = (new mojom_types.TypeReference()
+
+ ..identifier = '_geometry_Rect__'
+ ..typeKey = '_geometry_Rect__'
+ )),
+
+ new mojom_types.StructField()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'OpaqueRect')
+ ..type = (new mojom_types.Type()
+ ..typeReference = (new mojom_types.TypeReference()
+
+ ..identifier = '_geometry_Rect__'
+ ..typeKey = '_geometry_Rect__'
+ )),
+
+ new mojom_types.StructField()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'VisibleRect')
+ ..type = (new mojom_types.Type()
+ ..typeReference = (new mojom_types.TypeReference()
+
+ ..identifier = '_geometry_Rect__'
+ ..typeKey = '_geometry_Rect__'
+ )),
+
+ new mojom_types.StructField()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'NeedsBlending')
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.bool),
+
+ new mojom_types.StructField()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'SharedQuadStateIndex')
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.uint32),
+
+ new mojom_types.StructField()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'CheckerboardQuadState')
+ ..type = (new mojom_types.Type()
+ ..typeReference = (new mojom_types.TypeReference()
+ ..nullable = true
+
+
+ ..identifier = '_quads_CheckerboardQuadState__'
+ ..typeKey = '_quads_CheckerboardQuadState__'
+ )),
+
+ new mojom_types.StructField()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'DebugBorderQuadState')
+ ..type = (new mojom_types.Type()
+ ..typeReference = (new mojom_types.TypeReference()
+ ..nullable = true
+
+
+ ..identifier = '_quads_DebugBorderQuadState__'
+ ..typeKey = '_quads_DebugBorderQuadState__'
+ )),
+
+ new mojom_types.StructField()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'IoSurfaceQuadState')
+ ..type = (new mojom_types.Type()
+ ..typeReference = (new mojom_types.TypeReference()
+ ..nullable = true
+
+
+ ..identifier = '_quads_IoSurfaceContentQuadState__'
+ ..typeKey = '_quads_IoSurfaceContentQuadState__'
+ )),
+
+ new mojom_types.StructField()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'RenderPassQuadState')
+ ..type = (new mojom_types.Type()
+ ..typeReference = (new mojom_types.TypeReference()
+ ..nullable = true
+
+
+ ..identifier = '_quads_RenderPassQuadState__'
+ ..typeKey = '_quads_RenderPassQuadState__'
+ )),
+
+ new mojom_types.StructField()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'SolidColorQuadState')
+ ..type = (new mojom_types.Type()
+ ..typeReference = (new mojom_types.TypeReference()
+ ..nullable = true
+
+
+ ..identifier = '_quads_SolidColorQuadState__'
+ ..typeKey = '_quads_SolidColorQuadState__'
+ )),
+
+ new mojom_types.StructField()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'SurfaceQuadState')
+ ..type = (new mojom_types.Type()
+ ..typeReference = (new mojom_types.TypeReference()
+ ..nullable = true
+
+
+ ..identifier = '_quads_SurfaceQuadState__'
+ ..typeKey = '_quads_SurfaceQuadState__'
+ )),
+
+ new mojom_types.StructField()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'TextureQuadState')
+ ..type = (new mojom_types.Type()
+ ..typeReference = (new mojom_types.TypeReference()
+ ..nullable = true
+
+
+ ..identifier = '_quads_TextureQuadState__'
+ ..typeKey = '_quads_TextureQuadState__'
+ )),
+
+ new mojom_types.StructField()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'TileQuadState')
+ ..type = (new mojom_types.Type()
+ ..typeReference = (new mojom_types.TypeReference()
+ ..nullable = true
+
+
+ ..identifier = '_quads_TileQuadState__'
+ ..typeKey = '_quads_TileQuadState__'
+ )),
+
+ new mojom_types.StructField()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'StreamVideoQuadState')
+ ..type = (new mojom_types.Type()
+ ..typeReference = (new mojom_types.TypeReference()
+ ..nullable = true
+
+
+ ..identifier = '_quads_StreamVideoQuadState__'
+ ..typeKey = '_quads_StreamVideoQuadState__'
+ )),
+
+ new mojom_types.StructField()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'YuvVideoQuadState')
+ ..type = (new mojom_types.Type()
+ ..typeReference = (new mojom_types.TypeReference()
+ ..nullable = true
+
+
+ ..identifier = '_quads_YUVVideoQuadState__'
+ ..typeKey = '_quads_YUVVideoQuadState__'
+ )),
+ ];
+}
class SharedQuadState extends bindings.Struct {
@@ -1780,6 +2379,70 @@ class SharedQuadState extends bindings.Struct {
return map;
}
}
+mojom_types.MojomStruct _quads_SharedQuadState__() {
+ return new mojom_types.MojomStruct()
+ ..declData = (new mojom_types.DeclarationData()
+ ..shortName = 'SharedQuadState'
+ ..fullIdentifier = 'mojo.SharedQuadState')
+ ..fields = <mojom_types.StructField>[
+ new mojom_types.StructField()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'ContentToTargetTransform')
+ ..type = (new mojom_types.Type()
+ ..typeReference = (new mojom_types.TypeReference()
+
+ ..identifier = '_geometry_Transform__'
+ ..typeKey = '_geometry_Transform__'
+ )),
+
+ new mojom_types.StructField()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'ContentBounds')
+ ..type = (new mojom_types.Type()
+ ..typeReference = (new mojom_types.TypeReference()
+
+ ..identifier = '_geometry_Size__'
+ ..typeKey = '_geometry_Size__'
+ )),
+
+ new mojom_types.StructField()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'VisibleContentRect')
+ ..type = (new mojom_types.Type()
+ ..typeReference = (new mojom_types.TypeReference()
+
+ ..identifier = '_geometry_Rect__'
+ ..typeKey = '_geometry_Rect__'
+ )),
+
+ new mojom_types.StructField()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'ClipRect')
+ ..type = (new mojom_types.Type()
+ ..typeReference = (new mojom_types.TypeReference()
+
+ ..identifier = '_geometry_Rect__'
+ ..typeKey = '_geometry_Rect__'
+ )),
+
+ new mojom_types.StructField()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'IsClipped')
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.bool),
+
+ new mojom_types.StructField()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'Opacity')
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.float),
+
+ new mojom_types.StructField()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'BlendMode')
+ ..type = (new mojom_types.Type()
+ ..typeReference = (new mojom_types.TypeReference()
+
+ ..identifier = '_quads_SkXfermode__'
+ ..typeKey = '_quads_SkXfermode__'
+ )),
+
+ new mojom_types.StructField()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'SortingContextId')
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.int32),
+ ];
+}
class Pass extends bindings.Struct {
@@ -1938,5 +2601,147 @@ class Pass extends bindings.Struct {
return map;
}
}
+mojom_types.MojomStruct _quads_Pass__() {
+ return new mojom_types.MojomStruct()
+ ..declData = (new mojom_types.DeclarationData()
+ ..shortName = 'Pass'
+ ..fullIdentifier = 'mojo.Pass')
+ ..fields = <mojom_types.StructField>[
+ new mojom_types.StructField()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'Id')
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.int32),
+
+ new mojom_types.StructField()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'OutputRect')
+ ..type = (new mojom_types.Type()
+ ..typeReference = (new mojom_types.TypeReference()
+
+ ..identifier = '_geometry_Rect__'
+ ..typeKey = '_geometry_Rect__'
+ )),
+
+ new mojom_types.StructField()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'DamageRect')
+ ..type = (new mojom_types.Type()
+ ..typeReference = (new mojom_types.TypeReference()
+
+ ..identifier = '_geometry_Rect__'
+ ..typeKey = '_geometry_Rect__'
+ )),
+
+ new mojom_types.StructField()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'TransformToRootTarget')
+ ..type = (new mojom_types.Type()
+ ..typeReference = (new mojom_types.TypeReference()
+
+ ..identifier = '_geometry_Transform__'
+ ..typeKey = '_geometry_Transform__'
+ )),
+
+ new mojom_types.StructField()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'HasTransparentBackground')
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.bool),
+
+ new mojom_types.StructField()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'Quads')
+ ..type = (new mojom_types.Type()..arrayType = (new mojom_types.ArrayType()
+ ..elementType = (new mojom_types.Type()
+ ..typeReference = (new mojom_types.TypeReference()
+
+ ..identifier = '_quads_Quad__'
+ ..typeKey = '_quads_Quad__'
+ )))),
+
+ new mojom_types.StructField()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'SharedQuadStates')
+ ..type = (new mojom_types.Type()..arrayType = (new mojom_types.ArrayType()
+ ..elementType = (new mojom_types.Type()
+ ..typeReference = (new mojom_types.TypeReference()
+
+ ..identifier = '_quads_SharedQuadState__'
+ ..typeKey = '_quads_SharedQuadState__'
+ )))),
+ ];
+}
+
+
+
+
+
+
+Map<String, mojom_types.UserDefinedType> _initDescriptions() {
+ var map = new HashMap<String, mojom_types.UserDefinedType>();
+map["_quads_YUVColorSpace__"] =
+ new mojom_types.UserDefinedType()
+ ..enumType = _quads_YUVColorSpace__();
+map["_quads_Material__"] =
+ new mojom_types.UserDefinedType()
+ ..enumType = _quads_Material__();
+map["_quads_SkXfermode__"] =
+ new mojom_types.UserDefinedType()
+ ..enumType = _quads_SkXfermode__();
+map["_quads_Color__"] =
+ new mojom_types.UserDefinedType()
+ ..structType = _quads_Color__();
+map["_quads_CheckerboardQuadState__"] =
+ new mojom_types.UserDefinedType()
+ ..structType = _quads_CheckerboardQuadState__();
+map["_quads_DebugBorderQuadState__"] =
+ new mojom_types.UserDefinedType()
+ ..structType = _quads_DebugBorderQuadState__();
+map["_quads_IoSurfaceContentQuadState__"] =
+ new mojom_types.UserDefinedType()
+ ..structType = _quads_IoSurfaceContentQuadState__();
+map["_quads_RenderPassId__"] =
+ new mojom_types.UserDefinedType()
+ ..structType = _quads_RenderPassId__();
+map["_quads_RenderPassQuadState__"] =
+ new mojom_types.UserDefinedType()
+ ..structType = _quads_RenderPassQuadState__();
+map["_quads_SolidColorQuadState__"] =
+ new mojom_types.UserDefinedType()
+ ..structType = _quads_SolidColorQuadState__();
+map["_quads_SurfaceQuadState__"] =
+ new mojom_types.UserDefinedType()
+ ..structType = _quads_SurfaceQuadState__();
+map["_quads_TextureQuadState__"] =
+ new mojom_types.UserDefinedType()
+ ..structType = _quads_TextureQuadState__();
+map["_quads_TileQuadState__"] =
+ new mojom_types.UserDefinedType()
+ ..structType = _quads_TileQuadState__();
+map["_quads_StreamVideoQuadState__"] =
+ new mojom_types.UserDefinedType()
+ ..structType = _quads_StreamVideoQuadState__();
+map["_quads_YUVVideoQuadState__"] =
+ new mojom_types.UserDefinedType()
+ ..structType = _quads_YUVVideoQuadState__();
+map["_quads_Quad__"] =
+ new mojom_types.UserDefinedType()
+ ..structType = _quads_Quad__();
+map["_quads_SharedQuadState__"] =
+ new mojom_types.UserDefinedType()
+ ..structType = _quads_SharedQuadState__();
+map["_quads_Pass__"] =
+ new mojom_types.UserDefinedType()
+ ..structType = _quads_Pass__();
+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;
+}
+
+var _MojomDesc;
+Map<String, mojom_types.UserDefinedType> getAllMojomTypeDefinitions() {
+ if (_MojomDesc == null) {
+ _MojomDesc = _initDescriptions();
+ }
+ return _MojomDesc;
+}
+

Powered by Google App Engine
This is Rietveld 408576698