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

Unified Diff: mojo/dart/packages/mojo_services/lib/mojo/native_viewport.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/native_viewport.mojom.dart
diff --git a/mojo/dart/packages/mojo_services/lib/mojo/native_viewport.mojom.dart b/mojo/dart/packages/mojo_services/lib/mojo/native_viewport.mojom.dart
index 964d752be642a81cc441ebb648254379aaa1708e..65363fd86c5e6988f7571ed0699a552ecc22ff65 100644
--- a/mojo/dart/packages/mojo_services/lib/mojo/native_viewport.mojom.dart
+++ b/mojo/dart/packages/mojo_services/lib/mojo/native_viewport.mojom.dart
@@ -5,9 +5,12 @@
library native_viewport_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/mojo/bindings/types/service_describer.mojom.dart' as service_describer;
import 'package:mojo_services/mojo/geometry.mojom.dart' as geometry_mojom;
import 'package:mojo_services/mojo/context_provider.mojom.dart' as context_provider_mojom;
import 'package:mojo_services/mojo/input_events.mojom.dart' as input_events_mojom;
@@ -89,6 +92,26 @@ class ViewportMetrics extends bindings.Struct {
return map;
}
}
+mojom_types.MojomStruct _native_viewport_ViewportMetrics__() {
+ return new mojom_types.MojomStruct()
+ ..declData = (new mojom_types.DeclarationData()
+ ..shortName = 'ViewportMetrics'
+ ..fullIdentifier = 'mojo.ViewportMetrics')
+ ..fields = <mojom_types.StructField>[
+ 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__'
+ )),
+
+ new mojom_types.StructField()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'DevicePixelRatio')
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.float),
+ ];
+}
class SurfaceConfiguration extends bindings.Struct {
@@ -201,6 +224,37 @@ class SurfaceConfiguration extends bindings.Struct {
return map;
}
}
+mojom_types.MojomStruct _native_viewport_SurfaceConfiguration__() {
+ return new mojom_types.MojomStruct()
+ ..declData = (new mojom_types.DeclarationData()
+ ..shortName = 'SurfaceConfiguration'
+ ..fullIdentifier = 'mojo.SurfaceConfiguration')
+ ..fields = <mojom_types.StructField>[
+ new mojom_types.StructField()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'RedBits')
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.uint8),
+
+ new mojom_types.StructField()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'GreenBits')
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.uint8),
+
+ new mojom_types.StructField()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'BlueBits')
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.uint8),
+
+ new mojom_types.StructField()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'AlphaBits')
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.uint8),
+
+ new mojom_types.StructField()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'DepthBits')
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.uint8),
+
+ new mojom_types.StructField()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'StencilBits')
+ ..type = (new mojom_types.Type()..simpleType = mojom_types.SimpleType.uint8),
+ ];
+}
class _NativeViewportCreateParams extends bindings.Struct {
@@ -279,6 +333,33 @@ class _NativeViewportCreateParams extends bindings.Struct {
return map;
}
}
+mojom_types.MojomStruct _native_viewport_NativeViewport_Create_Params__() {
+ return new mojom_types.MojomStruct()
+ ..declData = (new mojom_types.DeclarationData()
+ ..shortName = '_NativeViewportCreateParams'
+ ..fullIdentifier = 'mojo._NativeViewportCreateParams')
+ ..fields = <mojom_types.StructField>[
+ 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__'
+ )),
+
+ new mojom_types.StructField()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'RequestedConfiguration')
+ ..type = (new mojom_types.Type()
+ ..typeReference = (new mojom_types.TypeReference()
+ ..nullable = true
+
+
+ ..identifier = '_native_viewport_SurfaceConfiguration__'
+ ..typeKey = '_native_viewport_SurfaceConfiguration__'
+ )),
+ ];
+}
class NativeViewportCreateResponseParams extends bindings.Struct {
@@ -347,6 +428,22 @@ class NativeViewportCreateResponseParams extends bindings.Struct {
return map;
}
}
+mojom_types.MojomStruct _native_viewport_NativeViewport_Create_ResponseParams__() {
+ return new mojom_types.MojomStruct()
+ ..declData = (new mojom_types.DeclarationData()
+ ..shortName = 'NativeViewportCreateResponseParams'
+ ..fullIdentifier = 'mojo.NativeViewportCreateResponseParams')
+ ..fields = <mojom_types.StructField>[
+ new mojom_types.StructField()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'Metrics')
+ ..type = (new mojom_types.Type()
+ ..typeReference = (new mojom_types.TypeReference()
+
+ ..identifier = '_native_viewport_ViewportMetrics__'
+ ..typeKey = '_native_viewport_ViewportMetrics__'
+ )),
+ ];
+}
class _NativeViewportShowParams extends bindings.Struct {
@@ -405,6 +502,13 @@ class _NativeViewportShowParams extends bindings.Struct {
return map;
}
}
+mojom_types.MojomStruct _native_viewport_NativeViewport_Show_Params__() {
+ return new mojom_types.MojomStruct()
+ ..declData = (new mojom_types.DeclarationData()
+ ..shortName = '_NativeViewportShowParams'
+ ..fullIdentifier = 'mojo._NativeViewportShowParams')
+ ..fields = <mojom_types.StructField>[];
+}
class _NativeViewportHideParams extends bindings.Struct {
@@ -463,6 +567,13 @@ class _NativeViewportHideParams extends bindings.Struct {
return map;
}
}
+mojom_types.MojomStruct _native_viewport_NativeViewport_Hide_Params__() {
+ return new mojom_types.MojomStruct()
+ ..declData = (new mojom_types.DeclarationData()
+ ..shortName = '_NativeViewportHideParams'
+ ..fullIdentifier = 'mojo._NativeViewportHideParams')
+ ..fields = <mojom_types.StructField>[];
+}
class _NativeViewportCloseParams extends bindings.Struct {
@@ -521,6 +632,13 @@ class _NativeViewportCloseParams extends bindings.Struct {
return map;
}
}
+mojom_types.MojomStruct _native_viewport_NativeViewport_Close_Params__() {
+ return new mojom_types.MojomStruct()
+ ..declData = (new mojom_types.DeclarationData()
+ ..shortName = '_NativeViewportCloseParams'
+ ..fullIdentifier = 'mojo._NativeViewportCloseParams')
+ ..fields = <mojom_types.StructField>[];
+}
class _NativeViewportSetSizeParams extends bindings.Struct {
@@ -589,6 +707,22 @@ class _NativeViewportSetSizeParams extends bindings.Struct {
return map;
}
}
+mojom_types.MojomStruct _native_viewport_NativeViewport_SetSize_Params__() {
+ return new mojom_types.MojomStruct()
+ ..declData = (new mojom_types.DeclarationData()
+ ..shortName = '_NativeViewportSetSizeParams'
+ ..fullIdentifier = 'mojo._NativeViewportSetSizeParams')
+ ..fields = <mojom_types.StructField>[
+ 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__'
+ )),
+ ];
+}
class _NativeViewportSetEventDispatcherParams extends bindings.Struct {
@@ -655,6 +789,22 @@ class _NativeViewportSetEventDispatcherParams extends bindings.Struct {
'Object containing handles cannot be encoded to JSON.');
}
}
+mojom_types.MojomStruct _native_viewport_NativeViewport_SetEventDispatcher_Params__() {
+ return new mojom_types.MojomStruct()
+ ..declData = (new mojom_types.DeclarationData()
+ ..shortName = '_NativeViewportSetEventDispatcherParams'
+ ..fullIdentifier = 'mojo._NativeViewportSetEventDispatcherParams')
+ ..fields = <mojom_types.StructField>[
+ new mojom_types.StructField()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'Dispatcher')
+ ..type = (new mojom_types.Type()
+ ..typeReference = (new mojom_types.TypeReference()
+
+ ..identifier = '_native_viewport_NativeViewportEventDispatcher__'
+ ..typeKey = '_native_viewport_NativeViewportEventDispatcher__'
+ )),
+ ];
+}
class _NativeViewportGetContextProviderParams extends bindings.Struct {
@@ -721,6 +871,23 @@ class _NativeViewportGetContextProviderParams extends bindings.Struct {
'Object containing handles cannot be encoded to JSON.');
}
}
+mojom_types.MojomStruct _native_viewport_NativeViewport_GetContextProvider_Params__() {
+ return new mojom_types.MojomStruct()
+ ..declData = (new mojom_types.DeclarationData()
+ ..shortName = '_NativeViewportGetContextProviderParams'
+ ..fullIdentifier = 'mojo._NativeViewportGetContextProviderParams')
+ ..fields = <mojom_types.StructField>[
+ new mojom_types.StructField()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'Provider')
+ ..type = (new mojom_types.Type()
+ ..typeReference = (new mojom_types.TypeReference()
+
+ ..isInterfaceRequest = true
+ ..identifier = '_context_provider_ContextProvider__'
+ ..typeKey = '_context_provider_ContextProvider__'
+ )),
+ ];
+}
class _NativeViewportRequestMetricsParams extends bindings.Struct {
@@ -779,6 +946,13 @@ class _NativeViewportRequestMetricsParams extends bindings.Struct {
return map;
}
}
+mojom_types.MojomStruct _native_viewport_NativeViewport_RequestMetrics_Params__() {
+ return new mojom_types.MojomStruct()
+ ..declData = (new mojom_types.DeclarationData()
+ ..shortName = '_NativeViewportRequestMetricsParams'
+ ..fullIdentifier = 'mojo._NativeViewportRequestMetricsParams')
+ ..fields = <mojom_types.StructField>[];
+}
class NativeViewportRequestMetricsResponseParams extends bindings.Struct {
@@ -847,6 +1021,22 @@ class NativeViewportRequestMetricsResponseParams extends bindings.Struct {
return map;
}
}
+mojom_types.MojomStruct _native_viewport_NativeViewport_RequestMetrics_ResponseParams__() {
+ return new mojom_types.MojomStruct()
+ ..declData = (new mojom_types.DeclarationData()
+ ..shortName = 'NativeViewportRequestMetricsResponseParams'
+ ..fullIdentifier = 'mojo.NativeViewportRequestMetricsResponseParams')
+ ..fields = <mojom_types.StructField>[
+ new mojom_types.StructField()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'Metrics')
+ ..type = (new mojom_types.Type()
+ ..typeReference = (new mojom_types.TypeReference()
+
+ ..identifier = '_native_viewport_ViewportMetrics__'
+ ..typeKey = '_native_viewport_ViewportMetrics__'
+ )),
+ ];
+}
class _NativeViewportEventDispatcherOnEventParams extends bindings.Struct {
@@ -915,6 +1105,22 @@ class _NativeViewportEventDispatcherOnEventParams extends bindings.Struct {
return map;
}
}
+mojom_types.MojomStruct _native_viewport_NativeViewportEventDispatcher_OnEvent_Params__() {
+ return new mojom_types.MojomStruct()
+ ..declData = (new mojom_types.DeclarationData()
+ ..shortName = '_NativeViewportEventDispatcherOnEventParams'
+ ..fullIdentifier = 'mojo._NativeViewportEventDispatcherOnEventParams')
+ ..fields = <mojom_types.StructField>[
+ new mojom_types.StructField()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'Event')
+ ..type = (new mojom_types.Type()
+ ..typeReference = (new mojom_types.TypeReference()
+
+ ..identifier = '_input_events_Event__'
+ ..typeKey = '_input_events_Event__'
+ )),
+ ];
+}
class NativeViewportEventDispatcherOnEventResponseParams extends bindings.Struct {
@@ -973,6 +1179,14 @@ class NativeViewportEventDispatcherOnEventResponseParams extends bindings.Struct
return map;
}
}
+mojom_types.MojomStruct _native_viewport_NativeViewportEventDispatcher_OnEvent_ResponseParams__() {
+ return new mojom_types.MojomStruct()
+ ..declData = (new mojom_types.DeclarationData()
+ ..shortName = 'NativeViewportEventDispatcherOnEventResponseParams'
+ ..fullIdentifier = 'mojo.NativeViewportEventDispatcherOnEventResponseParams')
+ ..fields = <mojom_types.StructField>[];
+}
+
const int _NativeViewport_createName = 0;
const int _NativeViewport_showName = 1;
@@ -983,6 +1197,47 @@ const int _NativeViewport_setEventDispatcherName = 5;
const int _NativeViewport_getContextProviderName = 6;
const int _NativeViewport_requestMetricsName = 7;
+mojom_types.MojomInterface _native_viewport_NativeViewport__() {
+ return new mojom_types.MojomInterface()
+ ..declData = (new mojom_types.DeclarationData()
+ ..shortName = 'NativeViewport'
+ ..fullIdentifier = 'mojo.NativeViewport')
+ ..interfaceName = 'NativeViewport'
+ ..methods = <int, mojom_types.MojomMethod>{
+_NativeViewport_createName: new mojom_types.MojomMethod()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'Create')
+ ..ordinal = _NativeViewport_createName
+ ..responseParams = _native_viewport_NativeViewport_Create_ResponseParams__()..parameters = _native_viewport_NativeViewport_Create_Params__(),_NativeViewport_showName: new mojom_types.MojomMethod()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'Show')
+ ..ordinal = _NativeViewport_showName..parameters = _native_viewport_NativeViewport_Show_Params__(),_NativeViewport_hideName: new mojom_types.MojomMethod()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'Hide')
+ ..ordinal = _NativeViewport_hideName..parameters = _native_viewport_NativeViewport_Hide_Params__(),_NativeViewport_closeName: new mojom_types.MojomMethod()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'Close')
+ ..ordinal = _NativeViewport_closeName..parameters = _native_viewport_NativeViewport_Close_Params__(),_NativeViewport_setSizeName: new mojom_types.MojomMethod()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'SetSize')
+ ..ordinal = _NativeViewport_setSizeName..parameters = _native_viewport_NativeViewport_SetSize_Params__(),_NativeViewport_setEventDispatcherName: new mojom_types.MojomMethod()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'SetEventDispatcher')
+ ..ordinal = _NativeViewport_setEventDispatcherName..parameters = _native_viewport_NativeViewport_SetEventDispatcher_Params__(),_NativeViewport_getContextProviderName: new mojom_types.MojomMethod()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'GetContextProvider')
+ ..ordinal = _NativeViewport_getContextProviderName..parameters = _native_viewport_NativeViewport_GetContextProvider_Params__(),_NativeViewport_requestMetricsName: new mojom_types.MojomMethod()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'RequestMetrics')
+ ..ordinal = _NativeViewport_requestMetricsName
+ ..responseParams = _native_viewport_NativeViewport_RequestMetrics_ResponseParams__()..parameters = _native_viewport_NativeViewport_RequestMetrics_Params__(),
+ };
+}
+
+class _NativeViewportServiceDescription implements service_describer.ServiceDescription {
+dynamic getTopLevelInterface([Function responseFactory = null]) {
+ return _native_viewport_NativeViewport__();
+ }
+ dynamic getTypeDefinition(String typeKey,[Function responseFactory = null]) {
+ return getAllMojomTypeDefinitions()[typeKey];
+ }
+ dynamic getAllTypeDefinitions([Function responseFactory = null]) {
+ return getAllMojomTypeDefinitions();
+ }
+}
+
abstract class NativeViewport {
static const String serviceName = "mojo::NativeViewport";
dynamic create(geometry_mojom.Size size,SurfaceConfiguration requestedConfiguration,[Function responseFactory = null]);
@@ -1011,6 +1266,9 @@ class _NativeViewportProxyImpl extends bindings.Proxy {
return new _NativeViewportProxyImpl.fromEndpoint(endpoint);
}
+ service_describer.ServiceDescription get serviceDescription =>
+ new _NativeViewportServiceDescription();
+
void handleResponse(bindings.ServiceMessage message) {
switch (message.header.type) {
case _NativeViewport_createName:
@@ -1333,10 +1591,40 @@ class NativeViewportStub extends bindings.Stub {
}
int get version => 0;
+
+
+ service_describer.ServiceDescription get serviceDescription =>
+ new _NativeViewportServiceDescription();
}
const int _NativeViewportEventDispatcher_onEventName = 0;
+mojom_types.MojomInterface _native_viewport_NativeViewportEventDispatcher__() {
+ return new mojom_types.MojomInterface()
+ ..declData = (new mojom_types.DeclarationData()
+ ..shortName = 'NativeViewportEventDispatcher'
+ ..fullIdentifier = 'mojo.NativeViewportEventDispatcher')
+ ..interfaceName = 'NativeViewportEventDispatcher'
+ ..methods = <int, mojom_types.MojomMethod>{
+_NativeViewportEventDispatcher_onEventName: new mojom_types.MojomMethod()
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'OnEvent')
+ ..ordinal = _NativeViewportEventDispatcher_onEventName
+ ..responseParams = _native_viewport_NativeViewportEventDispatcher_OnEvent_ResponseParams__()..parameters = _native_viewport_NativeViewportEventDispatcher_OnEvent_Params__(),
+ };
+}
+
+class _NativeViewportEventDispatcherServiceDescription implements service_describer.ServiceDescription {
+dynamic getTopLevelInterface([Function responseFactory = null]) {
+ return _native_viewport_NativeViewportEventDispatcher__();
+ }
+ dynamic getTypeDefinition(String typeKey,[Function responseFactory = null]) {
+ return getAllMojomTypeDefinitions()[typeKey];
+ }
+ dynamic getAllTypeDefinitions([Function responseFactory = null]) {
+ return getAllMojomTypeDefinitions();
+ }
+}
+
abstract class NativeViewportEventDispatcher {
static const String serviceName = "mojo::NativeViewportEventDispatcher";
dynamic onEvent(input_events_mojom.Event event,[Function responseFactory = null]);
@@ -1358,6 +1646,9 @@ class _NativeViewportEventDispatcherProxyImpl extends bindings.Proxy {
return new _NativeViewportEventDispatcherProxyImpl.fromEndpoint(endpoint);
}
+ service_describer.ServiceDescription get serviceDescription =>
+ new _NativeViewportEventDispatcherServiceDescription();
+
void handleResponse(bindings.ServiceMessage message) {
switch (message.header.type) {
case _NativeViewportEventDispatcher_onEventName:
@@ -1542,6 +1833,86 @@ class NativeViewportEventDispatcherStub extends bindings.Stub {
}
int get version => 0;
+
+
+ service_describer.ServiceDescription get serviceDescription =>
+ new _NativeViewportEventDispatcherServiceDescription();
}
+
+
+
+
+
+Map<String, mojom_types.UserDefinedType> _initDescriptions() {
+ var map = new HashMap<String, mojom_types.UserDefinedType>();
+map["_native_viewport_ViewportMetrics__"] =
+ new mojom_types.UserDefinedType()
+ ..structType = _native_viewport_ViewportMetrics__();
+map["_native_viewport_SurfaceConfiguration__"] =
+ new mojom_types.UserDefinedType()
+ ..structType = _native_viewport_SurfaceConfiguration__();
+map["_native_viewport_NativeViewport_Create_Params__"] =
+ new mojom_types.UserDefinedType()
+ ..structType = _native_viewport_NativeViewport_Create_Params__();
+map["_native_viewport_NativeViewport_Create_ResponseParams__"] =
+ new mojom_types.UserDefinedType()
+ ..structType = _native_viewport_NativeViewport_Create_ResponseParams__();
+map["_native_viewport_NativeViewport_Show_Params__"] =
+ new mojom_types.UserDefinedType()
+ ..structType = _native_viewport_NativeViewport_Show_Params__();
+map["_native_viewport_NativeViewport_Hide_Params__"] =
+ new mojom_types.UserDefinedType()
+ ..structType = _native_viewport_NativeViewport_Hide_Params__();
+map["_native_viewport_NativeViewport_Close_Params__"] =
+ new mojom_types.UserDefinedType()
+ ..structType = _native_viewport_NativeViewport_Close_Params__();
+map["_native_viewport_NativeViewport_SetSize_Params__"] =
+ new mojom_types.UserDefinedType()
+ ..structType = _native_viewport_NativeViewport_SetSize_Params__();
+map["_native_viewport_NativeViewport_SetEventDispatcher_Params__"] =
+ new mojom_types.UserDefinedType()
+ ..structType = _native_viewport_NativeViewport_SetEventDispatcher_Params__();
+map["_native_viewport_NativeViewport_GetContextProvider_Params__"] =
+ new mojom_types.UserDefinedType()
+ ..structType = _native_viewport_NativeViewport_GetContextProvider_Params__();
+map["_native_viewport_NativeViewport_RequestMetrics_Params__"] =
+ new mojom_types.UserDefinedType()
+ ..structType = _native_viewport_NativeViewport_RequestMetrics_Params__();
+map["_native_viewport_NativeViewport_RequestMetrics_ResponseParams__"] =
+ new mojom_types.UserDefinedType()
+ ..structType = _native_viewport_NativeViewport_RequestMetrics_ResponseParams__();
+map["_native_viewport_NativeViewportEventDispatcher_OnEvent_Params__"] =
+ new mojom_types.UserDefinedType()
+ ..structType = _native_viewport_NativeViewportEventDispatcher_OnEvent_Params__();
+map["_native_viewport_NativeViewportEventDispatcher_OnEvent_ResponseParams__"] =
+ new mojom_types.UserDefinedType()
+ ..structType = _native_viewport_NativeViewportEventDispatcher_OnEvent_ResponseParams__();
+map["_native_viewport_NativeViewport__"] =
+ new mojom_types.UserDefinedType()
+ ..interfaceType = _native_viewport_NativeViewport__();
+map["_native_viewport_NativeViewportEventDispatcher__"] =
+ new mojom_types.UserDefinedType()
+ ..interfaceType = _native_viewport_NativeViewportEventDispatcher__();
+geometry_mojom.getAllMojomTypeDefinitions().forEach((String s, mojom_types.UserDefinedType udt) {
+ map[s] = udt;
+});
+context_provider_mojom.getAllMojomTypeDefinitions().forEach((String s, mojom_types.UserDefinedType udt) {
+ map[s] = udt;
+});
+input_events_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