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..a9940b02d6ecc84b8feefb6207ba4854a0e2bef5 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/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; |
@@ -91,6 +93,8 @@ class ViewportMetrics extends bindings.Struct { |
} |
+ |
+ |
class SurfaceConfiguration extends bindings.Struct { |
static const List<bindings.StructDataHeader> kVersions = const [ |
const bindings.StructDataHeader(16, 0) |
@@ -203,6 +207,8 @@ class SurfaceConfiguration extends bindings.Struct { |
} |
+ |
+ |
class _NativeViewportCreateParams extends bindings.Struct { |
static const List<bindings.StructDataHeader> kVersions = const [ |
const bindings.StructDataHeader(24, 0) |
@@ -281,6 +287,8 @@ class _NativeViewportCreateParams extends bindings.Struct { |
} |
+ |
+ |
class NativeViewportCreateResponseParams extends bindings.Struct { |
static const List<bindings.StructDataHeader> kVersions = const [ |
const bindings.StructDataHeader(16, 0) |
@@ -349,6 +357,8 @@ class NativeViewportCreateResponseParams extends bindings.Struct { |
} |
+ |
+ |
class _NativeViewportShowParams extends bindings.Struct { |
static const List<bindings.StructDataHeader> kVersions = const [ |
const bindings.StructDataHeader(8, 0) |
@@ -407,6 +417,8 @@ class _NativeViewportShowParams extends bindings.Struct { |
} |
+ |
+ |
class _NativeViewportHideParams extends bindings.Struct { |
static const List<bindings.StructDataHeader> kVersions = const [ |
const bindings.StructDataHeader(8, 0) |
@@ -465,6 +477,8 @@ class _NativeViewportHideParams extends bindings.Struct { |
} |
+ |
+ |
class _NativeViewportCloseParams extends bindings.Struct { |
static const List<bindings.StructDataHeader> kVersions = const [ |
const bindings.StructDataHeader(8, 0) |
@@ -523,6 +537,8 @@ class _NativeViewportCloseParams extends bindings.Struct { |
} |
+ |
+ |
class _NativeViewportSetSizeParams extends bindings.Struct { |
static const List<bindings.StructDataHeader> kVersions = const [ |
const bindings.StructDataHeader(16, 0) |
@@ -591,6 +607,8 @@ class _NativeViewportSetSizeParams extends bindings.Struct { |
} |
+ |
+ |
class _NativeViewportSetEventDispatcherParams extends bindings.Struct { |
static const List<bindings.StructDataHeader> kVersions = const [ |
const bindings.StructDataHeader(16, 0) |
@@ -657,6 +675,8 @@ class _NativeViewportSetEventDispatcherParams extends bindings.Struct { |
} |
+ |
+ |
class _NativeViewportGetContextProviderParams extends bindings.Struct { |
static const List<bindings.StructDataHeader> kVersions = const [ |
const bindings.StructDataHeader(16, 0) |
@@ -723,6 +743,8 @@ class _NativeViewportGetContextProviderParams extends bindings.Struct { |
} |
+ |
+ |
class _NativeViewportRequestMetricsParams extends bindings.Struct { |
static const List<bindings.StructDataHeader> kVersions = const [ |
const bindings.StructDataHeader(8, 0) |
@@ -781,6 +803,8 @@ class _NativeViewportRequestMetricsParams extends bindings.Struct { |
} |
+ |
+ |
class NativeViewportRequestMetricsResponseParams extends bindings.Struct { |
static const List<bindings.StructDataHeader> kVersions = const [ |
const bindings.StructDataHeader(16, 0) |
@@ -849,6 +873,8 @@ class NativeViewportRequestMetricsResponseParams extends bindings.Struct { |
} |
+ |
+ |
class _NativeViewportEventDispatcherOnEventParams extends bindings.Struct { |
static const List<bindings.StructDataHeader> kVersions = const [ |
const bindings.StructDataHeader(16, 0) |
@@ -917,6 +943,8 @@ class _NativeViewportEventDispatcherOnEventParams extends bindings.Struct { |
} |
+ |
+ |
class NativeViewportEventDispatcherOnEventResponseParams extends bindings.Struct { |
static const List<bindings.StructDataHeader> kVersions = const [ |
const bindings.StructDataHeader(8, 0) |
@@ -974,6 +1002,9 @@ class NativeViewportEventDispatcherOnEventResponseParams extends bindings.Struct |
} |
} |
+ |
+ |
+ |
const int _NativeViewport_createName = 0; |
const int _NativeViewport_showName = 1; |
const int _NativeViewport_hideName = 2; |
@@ -983,6 +1014,16 @@ const int _NativeViewport_setEventDispatcherName = 5; |
const int _NativeViewport_getContextProviderName = 6; |
const int _NativeViewport_requestMetricsName = 7; |
+ |
+ |
+class _NativeViewportServiceDescription implements service_describer.ServiceDescription { |
+ dynamic getTopLevelInterface([Function responseFactory]) => null; |
+ |
+ dynamic getTypeDefinition(String typeKey, [Function responseFactory]) => null; |
+ |
+ dynamic getAllTypeDefinitions([Function responseFactory]) => null; |
+} |
+ |
abstract class NativeViewport { |
static const String serviceName = "mojo::NativeViewport"; |
dynamic create(geometry_mojom.Size size,SurfaceConfiguration requestedConfiguration,[Function responseFactory = null]); |
@@ -1011,6 +1052,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 +1377,23 @@ class NativeViewportStub extends bindings.Stub { |
} |
int get version => 0; |
+ |
+ service_describer.ServiceDescription get serviceDescription => |
+ new _NativeViewportServiceDescription(); |
} |
const int _NativeViewportEventDispatcher_onEventName = 0; |
+ |
+ |
+class _NativeViewportEventDispatcherServiceDescription implements service_describer.ServiceDescription { |
+ dynamic getTopLevelInterface([Function responseFactory]) => null; |
+ |
+ dynamic getTypeDefinition(String typeKey, [Function responseFactory]) => null; |
+ |
+ dynamic getAllTypeDefinitions([Function responseFactory]) => null; |
+} |
+ |
abstract class NativeViewportEventDispatcher { |
static const String serviceName = "mojo::NativeViewportEventDispatcher"; |
dynamic onEvent(input_events_mojom.Event event,[Function responseFactory = null]); |
@@ -1358,6 +1415,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 +1602,10 @@ class NativeViewportEventDispatcherStub extends bindings.Stub { |
} |
int get version => 0; |
+ |
+ service_describer.ServiceDescription get serviceDescription => |
+ new _NativeViewportEventDispatcherServiceDescription(); |
} |
+ |