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 dd6e238e23a3f59d88cf4869ea077b0f6ca816e8..55d68d174743ccee0566ac2285bd970094cb7372 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 |
@@ -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/mojo/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; |
@@ -90,6 +92,25 @@ class ViewportMetrics extends bindings.Struct { |
} |
} |
+mojom_types.MojomStruct _native_viewport_ViewportMetrics__() { |
+ return new mojom_types.MojomStruct() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = '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 { |
static const List<bindings.StructDataHeader> kVersions = const [ |
@@ -202,6 +223,36 @@ class SurfaceConfiguration extends bindings.Struct { |
} |
} |
+mojom_types.MojomStruct _native_viewport_SurfaceConfiguration__() { |
+ return new mojom_types.MojomStruct() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = '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 { |
static const List<bindings.StructDataHeader> kVersions = const [ |
@@ -280,6 +331,32 @@ class NativeViewportCreateParams extends bindings.Struct { |
} |
} |
+mojom_types.MojomStruct _native_viewport_NativeViewport_Create_Params__() { |
+ return new mojom_types.MojomStruct() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = '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 { |
static const List<bindings.StructDataHeader> kVersions = const [ |
@@ -348,6 +425,21 @@ class NativeViewportCreateResponseParams extends bindings.Struct { |
} |
} |
+mojom_types.MojomStruct _native_viewport_NativeViewport_Create_ResponseParams__() { |
+ return new mojom_types.MojomStruct() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = '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 { |
static const List<bindings.StructDataHeader> kVersions = const [ |
@@ -406,6 +498,12 @@ class NativeViewportShowParams extends bindings.Struct { |
} |
} |
+mojom_types.MojomStruct _native_viewport_NativeViewport_Show_Params__() { |
+ return new mojom_types.MojomStruct() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'NativeViewportShowParams') |
+ ..fields = <mojom_types.StructField>[]; |
+} |
+ |
class NativeViewportHideParams extends bindings.Struct { |
static const List<bindings.StructDataHeader> kVersions = const [ |
@@ -464,6 +562,12 @@ class NativeViewportHideParams extends bindings.Struct { |
} |
} |
+mojom_types.MojomStruct _native_viewport_NativeViewport_Hide_Params__() { |
+ return new mojom_types.MojomStruct() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'NativeViewportHideParams') |
+ ..fields = <mojom_types.StructField>[]; |
+} |
+ |
class NativeViewportCloseParams extends bindings.Struct { |
static const List<bindings.StructDataHeader> kVersions = const [ |
@@ -522,6 +626,12 @@ class NativeViewportCloseParams extends bindings.Struct { |
} |
} |
+mojom_types.MojomStruct _native_viewport_NativeViewport_Close_Params__() { |
+ return new mojom_types.MojomStruct() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'NativeViewportCloseParams') |
+ ..fields = <mojom_types.StructField>[]; |
+} |
+ |
class NativeViewportSetSizeParams extends bindings.Struct { |
static const List<bindings.StructDataHeader> kVersions = const [ |
@@ -590,6 +700,21 @@ class NativeViewportSetSizeParams extends bindings.Struct { |
} |
} |
+mojom_types.MojomStruct _native_viewport_NativeViewport_SetSize_Params__() { |
+ return new mojom_types.MojomStruct() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = '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 { |
static const List<bindings.StructDataHeader> kVersions = const [ |
@@ -656,6 +781,21 @@ class NativeViewportSetEventDispatcherParams extends bindings.Struct { |
} |
} |
+mojom_types.MojomStruct _native_viewport_NativeViewport_SetEventDispatcher_Params__() { |
+ return new mojom_types.MojomStruct() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = '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 { |
static const List<bindings.StructDataHeader> kVersions = const [ |
@@ -722,6 +862,22 @@ class NativeViewportGetContextProviderParams extends bindings.Struct { |
} |
} |
+mojom_types.MojomStruct _native_viewport_NativeViewport_GetContextProvider_Params__() { |
+ return new mojom_types.MojomStruct() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = '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 { |
static const List<bindings.StructDataHeader> kVersions = const [ |
@@ -780,6 +936,12 @@ class NativeViewportRequestMetricsParams extends bindings.Struct { |
} |
} |
+mojom_types.MojomStruct _native_viewport_NativeViewport_RequestMetrics_Params__() { |
+ return new mojom_types.MojomStruct() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'NativeViewportRequestMetricsParams') |
+ ..fields = <mojom_types.StructField>[]; |
+} |
+ |
class NativeViewportRequestMetricsResponseParams extends bindings.Struct { |
static const List<bindings.StructDataHeader> kVersions = const [ |
@@ -848,6 +1010,21 @@ class NativeViewportRequestMetricsResponseParams extends bindings.Struct { |
} |
} |
+mojom_types.MojomStruct _native_viewport_NativeViewport_RequestMetrics_ResponseParams__() { |
+ return new mojom_types.MojomStruct() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = '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 { |
static const List<bindings.StructDataHeader> kVersions = const [ |
@@ -916,6 +1093,21 @@ class NativeViewportEventDispatcherOnEventParams extends bindings.Struct { |
} |
} |
+mojom_types.MojomStruct _native_viewport_NativeViewportEventDispatcher_OnEvent_Params__() { |
+ return new mojom_types.MojomStruct() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = '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 { |
static const List<bindings.StructDataHeader> kVersions = const [ |
@@ -974,6 +1166,13 @@ class NativeViewportEventDispatcherOnEventResponseParams extends bindings.Struct |
} |
} |
+mojom_types.MojomStruct _native_viewport_NativeViewportEventDispatcher_OnEvent_ResponseParams__() { |
+ return new mojom_types.MojomStruct() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = 'NativeViewportEventDispatcherOnEventResponseParams') |
+ ..fields = <mojom_types.StructField>[]; |
+} |
+ |
+ |
const int kNativeViewport_create_name = 0; |
const int kNativeViewport_show_name = 1; |
const int kNativeViewport_hide_name = 2; |
@@ -986,6 +1185,47 @@ const int kNativeViewport_requestMetrics_name = 7; |
const String NativeViewportName = |
'mojo::NativeViewport'; |
+mojom_types.MojomInterface _native_viewport_NativeViewport__() { |
+ return new mojom_types.MojomInterface() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = "NativeViewport") |
+ ..interfaceName = "NativeViewport" |
+ ..methods = <int, mojom_types.MojomMethod>{ |
+kNativeViewport_create_name: new mojom_types.MojomMethod() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = "Create") |
+ ..ordinal = kNativeViewport_create_name |
+ ..responseParams = _native_viewport_NativeViewport_Create_ResponseParams__()..parameters = _native_viewport_NativeViewport_Create_Params__(),kNativeViewport_show_name: new mojom_types.MojomMethod() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = "Show") |
+ ..ordinal = kNativeViewport_show_name..parameters = _native_viewport_NativeViewport_Show_Params__(),kNativeViewport_hide_name: new mojom_types.MojomMethod() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = "Hide") |
+ ..ordinal = kNativeViewport_hide_name..parameters = _native_viewport_NativeViewport_Hide_Params__(),kNativeViewport_close_name: new mojom_types.MojomMethod() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = "Close") |
+ ..ordinal = kNativeViewport_close_name..parameters = _native_viewport_NativeViewport_Close_Params__(),kNativeViewport_setSize_name: new mojom_types.MojomMethod() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = "SetSize") |
+ ..ordinal = kNativeViewport_setSize_name..parameters = _native_viewport_NativeViewport_SetSize_Params__(),kNativeViewport_setEventDispatcher_name: new mojom_types.MojomMethod() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = "SetEventDispatcher") |
+ ..ordinal = kNativeViewport_setEventDispatcher_name..parameters = _native_viewport_NativeViewport_SetEventDispatcher_Params__(),kNativeViewport_getContextProvider_name: new mojom_types.MojomMethod() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = "GetContextProvider") |
+ ..ordinal = kNativeViewport_getContextProvider_name..parameters = _native_viewport_NativeViewport_GetContextProvider_Params__(),kNativeViewport_requestMetrics_name: new mojom_types.MojomMethod() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = "RequestMetrics") |
+ ..ordinal = kNativeViewport_requestMetrics_name |
+ ..responseParams = _native_viewport_NativeViewport_RequestMetrics_ResponseParams__()..parameters = _native_viewport_NativeViewport_RequestMetrics_Params__(), |
+ }; |
+} |
+ |
+class _NativeViewportServiceDescription extends service_describer.ServiceDescription { |
+ // Avoid infinite loop by overriding serviceDescription field. |
+ final service_describer.ServiceDescription serviceDescription = null; |
+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 { |
dynamic create(geometry_mojom.Size size,SurfaceConfiguration requestedConfiguration,[Function responseFactory = null]); |
void show(); |
@@ -1016,6 +1256,9 @@ class NativeViewportProxyImpl extends bindings.Proxy { |
String get name => NativeViewportName; |
+ service_describer.ServiceDescription get serviceDescription => |
+ new _NativeViewportServiceDescription(); |
+ |
void handleResponse(bindings.ServiceMessage message) { |
switch (message.header.type) { |
case kNativeViewport_create_name: |
@@ -1345,6 +1588,9 @@ class NativeViewportStub extends bindings.Stub { |
} |
int get version => 0; |
+ |
+ service_describer.ServiceDescription get serviceDescription => |
+ new _NativeViewportServiceDescription(); |
} |
const int kNativeViewportEventDispatcher_onEvent_name = 0; |
@@ -1352,6 +1598,32 @@ const int kNativeViewportEventDispatcher_onEvent_name = 0; |
const String NativeViewportEventDispatcherName = |
'mojo::NativeViewportEventDispatcher'; |
+mojom_types.MojomInterface _native_viewport_NativeViewportEventDispatcher__() { |
+ return new mojom_types.MojomInterface() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = "NativeViewportEventDispatcher") |
+ ..interfaceName = "NativeViewportEventDispatcher" |
+ ..methods = <int, mojom_types.MojomMethod>{ |
+kNativeViewportEventDispatcher_onEvent_name: new mojom_types.MojomMethod() |
+ ..declData = (new mojom_types.DeclarationData()..shortName = "OnEvent") |
+ ..ordinal = kNativeViewportEventDispatcher_onEvent_name |
+ ..responseParams = _native_viewport_NativeViewportEventDispatcher_OnEvent_ResponseParams__()..parameters = _native_viewport_NativeViewportEventDispatcher_OnEvent_Params__(), |
+ }; |
+} |
+ |
+class _NativeViewportEventDispatcherServiceDescription extends service_describer.ServiceDescription { |
+ // Avoid infinite loop by overriding serviceDescription field. |
+ final service_describer.ServiceDescription serviceDescription = null; |
+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 { |
dynamic onEvent(input_events_mojom.Event event,[Function responseFactory = null]); |
@@ -1375,6 +1647,9 @@ class NativeViewportEventDispatcherProxyImpl extends bindings.Proxy { |
String get name => NativeViewportEventDispatcherName; |
+ service_describer.ServiceDescription get serviceDescription => |
+ new _NativeViewportEventDispatcherServiceDescription(); |
+ |
void handleResponse(bindings.ServiceMessage message) { |
switch (message.header.type) { |
case kNativeViewportEventDispatcher_onEvent_name: |
@@ -1560,6 +1835,162 @@ class NativeViewportEventDispatcherStub extends bindings.Stub { |
} |
int get version => 0; |
+ |
+ service_describer.ServiceDescription get serviceDescription => |
+ new _NativeViewportEventDispatcherServiceDescription(); |
+} |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+ |
+var _MojomDesc__ = _initDescriptions(); |
+ |
+Map<String, mojom_types.UserDefinedType> _initDescriptions() { |
+ var map = new Map<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_NativeViewportEventDispatcher__"] = |
+ new mojom_types.UserDefinedType() |
+ ..interfaceType = _native_viewport_NativeViewportEventDispatcher__(); |
+ |
+ |
+ |
+ |
+ 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__(); |
+ |
+ |
+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; |
+} |
+ |
+Map<String, mojom_types.UserDefinedType> getAllMojomTypeDefinitions() { |
+ return _MojomDesc__; |
} |