| Index: mojo/dart/packages/mojo_services/lib/mojo/view_manager.mojom.dart
|
| diff --git a/mojo/dart/packages/mojo_services/lib/mojo/view_manager.mojom.dart b/mojo/dart/packages/mojo_services/lib/mojo/view_manager.mojom.dart
|
| index 575992ca694c167e2711c8c464bc7f58c1f87727..50598dfee975c09365166101022f53dc66fb5784 100644
|
| --- a/mojo/dart/packages/mojo_services/lib/mojo/view_manager.mojom.dart
|
| +++ b/mojo/dart/packages/mojo_services/lib/mojo/view_manager.mojom.dart
|
| @@ -8,13 +8,14 @@ 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/input_events.mojom.dart' as input_events_mojom;
|
| import 'package:mojo/mojo/service_provider.mojom.dart' as service_provider_mojom;
|
| import 'package:mojo_services/mojo/native_viewport.mojom.dart' as native_viewport_mojom;
|
| import 'package:mojo_services/mojo/surface_id.mojom.dart' as surface_id_mojom;
|
| import 'package:mojo_services/mojo/view_manager_constants.mojom.dart' as view_manager_constants_mojom;
|
| -
|
| class ErrorCode extends bindings.MojoEnum {
|
| static const ErrorCode none = const ErrorCode._(0);
|
| static const ErrorCode valueInUse = const ErrorCode._(1);
|
| @@ -66,6 +67,8 @@ class ErrorCode extends bindings.MojoEnum {
|
| return 'ErrorCode.valueInUse';
|
| case illegalArgument:
|
| return 'ErrorCode.illegalArgument';
|
| + default:
|
| + return null;
|
| }
|
| }
|
|
|
| @@ -74,6 +77,8 @@ class ErrorCode extends bindings.MojoEnum {
|
|
|
|
|
|
|
| +
|
| +
|
| class ViewData extends bindings.Struct {
|
| static const List<bindings.StructDataHeader> kVersions = const [
|
| const bindings.StructDataHeader(48, 0)
|
| @@ -251,6 +256,8 @@ class ViewData extends bindings.Struct {
|
| }
|
|
|
|
|
| +
|
| +
|
| class _ViewManagerServiceCreateViewParams extends bindings.Struct {
|
| static const List<bindings.StructDataHeader> kVersions = const [
|
| const bindings.StructDataHeader(16, 0)
|
| @@ -318,6 +325,8 @@ class _ViewManagerServiceCreateViewParams extends bindings.Struct {
|
| }
|
|
|
|
|
| +
|
| +
|
| class ViewManagerServiceCreateViewResponseParams extends bindings.Struct {
|
| static const List<bindings.StructDataHeader> kVersions = const [
|
| const bindings.StructDataHeader(16, 0)
|
| @@ -389,6 +398,8 @@ class ViewManagerServiceCreateViewResponseParams extends bindings.Struct {
|
| }
|
|
|
|
|
| +
|
| +
|
| class _ViewManagerServiceDeleteViewParams extends bindings.Struct {
|
| static const List<bindings.StructDataHeader> kVersions = const [
|
| const bindings.StructDataHeader(16, 0)
|
| @@ -456,6 +467,8 @@ class _ViewManagerServiceDeleteViewParams extends bindings.Struct {
|
| }
|
|
|
|
|
| +
|
| +
|
| class ViewManagerServiceDeleteViewResponseParams extends bindings.Struct {
|
| static const List<bindings.StructDataHeader> kVersions = const [
|
| const bindings.StructDataHeader(16, 0)
|
| @@ -523,6 +536,8 @@ class ViewManagerServiceDeleteViewResponseParams extends bindings.Struct {
|
| }
|
|
|
|
|
| +
|
| +
|
| class _ViewManagerServiceSetViewBoundsParams extends bindings.Struct {
|
| static const List<bindings.StructDataHeader> kVersions = const [
|
| const bindings.StructDataHeader(24, 0)
|
| @@ -600,6 +615,8 @@ class _ViewManagerServiceSetViewBoundsParams extends bindings.Struct {
|
| }
|
|
|
|
|
| +
|
| +
|
| class ViewManagerServiceSetViewBoundsResponseParams extends bindings.Struct {
|
| static const List<bindings.StructDataHeader> kVersions = const [
|
| const bindings.StructDataHeader(16, 0)
|
| @@ -667,6 +684,8 @@ class ViewManagerServiceSetViewBoundsResponseParams extends bindings.Struct {
|
| }
|
|
|
|
|
| +
|
| +
|
| class _ViewManagerServiceSetViewVisibilityParams extends bindings.Struct {
|
| static const List<bindings.StructDataHeader> kVersions = const [
|
| const bindings.StructDataHeader(16, 0)
|
| @@ -743,6 +762,8 @@ class _ViewManagerServiceSetViewVisibilityParams extends bindings.Struct {
|
| }
|
|
|
|
|
| +
|
| +
|
| class ViewManagerServiceSetViewVisibilityResponseParams extends bindings.Struct {
|
| static const List<bindings.StructDataHeader> kVersions = const [
|
| const bindings.StructDataHeader(16, 0)
|
| @@ -810,6 +831,8 @@ class ViewManagerServiceSetViewVisibilityResponseParams extends bindings.Struct
|
| }
|
|
|
|
|
| +
|
| +
|
| class _ViewManagerServiceSetViewPropertyParams extends bindings.Struct {
|
| static const List<bindings.StructDataHeader> kVersions = const [
|
| const bindings.StructDataHeader(32, 0)
|
| @@ -895,6 +918,8 @@ class _ViewManagerServiceSetViewPropertyParams extends bindings.Struct {
|
| }
|
|
|
|
|
| +
|
| +
|
| class ViewManagerServiceSetViewPropertyResponseParams extends bindings.Struct {
|
| static const List<bindings.StructDataHeader> kVersions = const [
|
| const bindings.StructDataHeader(16, 0)
|
| @@ -962,6 +987,8 @@ class ViewManagerServiceSetViewPropertyResponseParams extends bindings.Struct {
|
| }
|
|
|
|
|
| +
|
| +
|
| class _ViewManagerServiceAddViewParams extends bindings.Struct {
|
| static const List<bindings.StructDataHeader> kVersions = const [
|
| const bindings.StructDataHeader(16, 0)
|
| @@ -1038,6 +1065,8 @@ class _ViewManagerServiceAddViewParams extends bindings.Struct {
|
| }
|
|
|
|
|
| +
|
| +
|
| class ViewManagerServiceAddViewResponseParams extends bindings.Struct {
|
| static const List<bindings.StructDataHeader> kVersions = const [
|
| const bindings.StructDataHeader(16, 0)
|
| @@ -1105,6 +1134,8 @@ class ViewManagerServiceAddViewResponseParams extends bindings.Struct {
|
| }
|
|
|
|
|
| +
|
| +
|
| class _ViewManagerServiceRemoveViewFromParentParams extends bindings.Struct {
|
| static const List<bindings.StructDataHeader> kVersions = const [
|
| const bindings.StructDataHeader(16, 0)
|
| @@ -1172,6 +1203,8 @@ class _ViewManagerServiceRemoveViewFromParentParams extends bindings.Struct {
|
| }
|
|
|
|
|
| +
|
| +
|
| class ViewManagerServiceRemoveViewFromParentResponseParams extends bindings.Struct {
|
| static const List<bindings.StructDataHeader> kVersions = const [
|
| const bindings.StructDataHeader(16, 0)
|
| @@ -1239,6 +1272,8 @@ class ViewManagerServiceRemoveViewFromParentResponseParams extends bindings.Stru
|
| }
|
|
|
|
|
| +
|
| +
|
| class _ViewManagerServiceReorderViewParams extends bindings.Struct {
|
| static const List<bindings.StructDataHeader> kVersions = const [
|
| const bindings.StructDataHeader(24, 0)
|
| @@ -1328,6 +1363,8 @@ class _ViewManagerServiceReorderViewParams extends bindings.Struct {
|
| }
|
|
|
|
|
| +
|
| +
|
| class ViewManagerServiceReorderViewResponseParams extends bindings.Struct {
|
| static const List<bindings.StructDataHeader> kVersions = const [
|
| const bindings.StructDataHeader(16, 0)
|
| @@ -1395,6 +1432,8 @@ class ViewManagerServiceReorderViewResponseParams extends bindings.Struct {
|
| }
|
|
|
|
|
| +
|
| +
|
| class _ViewManagerServiceGetViewTreeParams extends bindings.Struct {
|
| static const List<bindings.StructDataHeader> kVersions = const [
|
| const bindings.StructDataHeader(16, 0)
|
| @@ -1462,6 +1501,8 @@ class _ViewManagerServiceGetViewTreeParams extends bindings.Struct {
|
| }
|
|
|
|
|
| +
|
| +
|
| class ViewManagerServiceGetViewTreeResponseParams extends bindings.Struct {
|
| static const List<bindings.StructDataHeader> kVersions = const [
|
| const bindings.StructDataHeader(16, 0)
|
| @@ -1546,6 +1587,8 @@ class ViewManagerServiceGetViewTreeResponseParams extends bindings.Struct {
|
| }
|
|
|
|
|
| +
|
| +
|
| class _ViewManagerServiceSetViewSurfaceIdParams extends bindings.Struct {
|
| static const List<bindings.StructDataHeader> kVersions = const [
|
| const bindings.StructDataHeader(24, 0)
|
| @@ -1623,6 +1666,8 @@ class _ViewManagerServiceSetViewSurfaceIdParams extends bindings.Struct {
|
| }
|
|
|
|
|
| +
|
| +
|
| class ViewManagerServiceSetViewSurfaceIdResponseParams extends bindings.Struct {
|
| static const List<bindings.StructDataHeader> kVersions = const [
|
| const bindings.StructDataHeader(16, 0)
|
| @@ -1690,6 +1735,8 @@ class ViewManagerServiceSetViewSurfaceIdResponseParams extends bindings.Struct {
|
| }
|
|
|
|
|
| +
|
| +
|
| class _ViewManagerServiceEmbedUrlParams extends bindings.Struct {
|
| static const List<bindings.StructDataHeader> kVersions = const [
|
| const bindings.StructDataHeader(32, 0)
|
| @@ -1780,6 +1827,8 @@ class _ViewManagerServiceEmbedUrlParams extends bindings.Struct {
|
| }
|
|
|
|
|
| +
|
| +
|
| class ViewManagerServiceEmbedUrlResponseParams extends bindings.Struct {
|
| static const List<bindings.StructDataHeader> kVersions = const [
|
| const bindings.StructDataHeader(16, 0)
|
| @@ -1847,6 +1896,8 @@ class ViewManagerServiceEmbedUrlResponseParams extends bindings.Struct {
|
| }
|
|
|
|
|
| +
|
| +
|
| class _ViewManagerServiceEmbedParams extends bindings.Struct {
|
| static const List<bindings.StructDataHeader> kVersions = const [
|
| const bindings.StructDataHeader(24, 0)
|
| @@ -1921,6 +1972,8 @@ class _ViewManagerServiceEmbedParams extends bindings.Struct {
|
| }
|
|
|
|
|
| +
|
| +
|
| class ViewManagerServiceEmbedResponseParams extends bindings.Struct {
|
| static const List<bindings.StructDataHeader> kVersions = const [
|
| const bindings.StructDataHeader(16, 0)
|
| @@ -1988,6 +2041,8 @@ class ViewManagerServiceEmbedResponseParams extends bindings.Struct {
|
| }
|
|
|
|
|
| +
|
| +
|
| class _ViewManagerServicePerformActionParams extends bindings.Struct {
|
| static const List<bindings.StructDataHeader> kVersions = const [
|
| const bindings.StructDataHeader(24, 0)
|
| @@ -2064,6 +2119,8 @@ class _ViewManagerServicePerformActionParams extends bindings.Struct {
|
| }
|
|
|
|
|
| +
|
| +
|
| class ViewManagerServicePerformActionResponseParams extends bindings.Struct {
|
| static const List<bindings.StructDataHeader> kVersions = const [
|
| const bindings.StructDataHeader(16, 0)
|
| @@ -2131,6 +2188,8 @@ class ViewManagerServicePerformActionResponseParams extends bindings.Struct {
|
| }
|
|
|
|
|
| +
|
| +
|
| class _ViewManagerClientOnEmbedParams extends bindings.Struct {
|
| static const List<bindings.StructDataHeader> kVersions = const [
|
| const bindings.StructDataHeader(56, 0)
|
| @@ -2246,6 +2305,8 @@ class _ViewManagerClientOnEmbedParams extends bindings.Struct {
|
| }
|
|
|
|
|
| +
|
| +
|
| class _ViewManagerClientOnEmbeddedAppDisconnectedParams extends bindings.Struct {
|
| static const List<bindings.StructDataHeader> kVersions = const [
|
| const bindings.StructDataHeader(16, 0)
|
| @@ -2313,6 +2374,8 @@ class _ViewManagerClientOnEmbeddedAppDisconnectedParams extends bindings.Struct
|
| }
|
|
|
|
|
| +
|
| +
|
| class _ViewManagerClientOnViewBoundsChangedParams extends bindings.Struct {
|
| static const List<bindings.StructDataHeader> kVersions = const [
|
| const bindings.StructDataHeader(32, 0)
|
| @@ -2400,6 +2463,8 @@ class _ViewManagerClientOnViewBoundsChangedParams extends bindings.Struct {
|
| }
|
|
|
|
|
| +
|
| +
|
| class _ViewManagerClientOnViewViewportMetricsChangedParams extends bindings.Struct {
|
| static const List<bindings.StructDataHeader> kVersions = const [
|
| const bindings.StructDataHeader(24, 0)
|
| @@ -2478,6 +2543,8 @@ class _ViewManagerClientOnViewViewportMetricsChangedParams extends bindings.Stru
|
| }
|
|
|
|
|
| +
|
| +
|
| class _ViewManagerClientOnViewHierarchyChangedParams extends bindings.Struct {
|
| static const List<bindings.StructDataHeader> kVersions = const [
|
| const bindings.StructDataHeader(32, 0)
|
| @@ -2589,6 +2656,8 @@ class _ViewManagerClientOnViewHierarchyChangedParams extends bindings.Struct {
|
| }
|
|
|
|
|
| +
|
| +
|
| class _ViewManagerClientOnViewReorderedParams extends bindings.Struct {
|
| static const List<bindings.StructDataHeader> kVersions = const [
|
| const bindings.StructDataHeader(24, 0)
|
| @@ -2678,6 +2747,8 @@ class _ViewManagerClientOnViewReorderedParams extends bindings.Struct {
|
| }
|
|
|
|
|
| +
|
| +
|
| class _ViewManagerClientOnViewDeletedParams extends bindings.Struct {
|
| static const List<bindings.StructDataHeader> kVersions = const [
|
| const bindings.StructDataHeader(16, 0)
|
| @@ -2745,6 +2816,8 @@ class _ViewManagerClientOnViewDeletedParams extends bindings.Struct {
|
| }
|
|
|
|
|
| +
|
| +
|
| class _ViewManagerClientOnViewVisibilityChangedParams extends bindings.Struct {
|
| static const List<bindings.StructDataHeader> kVersions = const [
|
| const bindings.StructDataHeader(16, 0)
|
| @@ -2821,6 +2894,8 @@ class _ViewManagerClientOnViewVisibilityChangedParams extends bindings.Struct {
|
| }
|
|
|
|
|
| +
|
| +
|
| class _ViewManagerClientOnViewDrawnStateChangedParams extends bindings.Struct {
|
| static const List<bindings.StructDataHeader> kVersions = const [
|
| const bindings.StructDataHeader(16, 0)
|
| @@ -2897,6 +2972,8 @@ class _ViewManagerClientOnViewDrawnStateChangedParams extends bindings.Struct {
|
| }
|
|
|
|
|
| +
|
| +
|
| class _ViewManagerClientOnViewSharedPropertyChangedParams extends bindings.Struct {
|
| static const List<bindings.StructDataHeader> kVersions = const [
|
| const bindings.StructDataHeader(32, 0)
|
| @@ -2982,6 +3059,8 @@ class _ViewManagerClientOnViewSharedPropertyChangedParams extends bindings.Struc
|
| }
|
|
|
|
|
| +
|
| +
|
| class _ViewManagerClientOnViewInputEventParams extends bindings.Struct {
|
| static const List<bindings.StructDataHeader> kVersions = const [
|
| const bindings.StructDataHeader(24, 0)
|
| @@ -3059,6 +3138,8 @@ class _ViewManagerClientOnViewInputEventParams extends bindings.Struct {
|
| }
|
|
|
|
|
| +
|
| +
|
| class ViewManagerClientOnViewInputEventResponseParams extends bindings.Struct {
|
| static const List<bindings.StructDataHeader> kVersions = const [
|
| const bindings.StructDataHeader(8, 0)
|
| @@ -3117,6 +3198,8 @@ class ViewManagerClientOnViewInputEventResponseParams extends bindings.Struct {
|
| }
|
|
|
|
|
| +
|
| +
|
| class _ViewManagerClientOnPerformActionParams extends bindings.Struct {
|
| static const List<bindings.StructDataHeader> kVersions = const [
|
| const bindings.StructDataHeader(24, 0)
|
| @@ -3193,6 +3276,8 @@ class _ViewManagerClientOnPerformActionParams extends bindings.Struct {
|
| }
|
|
|
|
|
| +
|
| +
|
| class ViewManagerClientOnPerformActionResponseParams extends bindings.Struct {
|
| static const List<bindings.StructDataHeader> kVersions = const [
|
| const bindings.StructDataHeader(16, 0)
|
| @@ -3259,6 +3344,9 @@ class ViewManagerClientOnPerformActionResponseParams extends bindings.Struct {
|
| }
|
| }
|
|
|
| +
|
| +
|
| +
|
| const int _ViewManagerService_createViewName = 0;
|
| const int _ViewManagerService_deleteViewName = 1;
|
| const int _ViewManagerService_setViewBoundsName = 2;
|
| @@ -3273,6 +3361,17 @@ const int _ViewManagerService_embedUrlName = 10;
|
| const int _ViewManagerService_embedName = 11;
|
| const int _ViewManagerService_performActionName = 12;
|
|
|
| +
|
| +
|
| +class _ViewManagerServiceServiceDescription implements service_describer.ServiceDescription {
|
| +dynamic getTopLevelInterface([Function responseFactory = null]) => null;
|
| +
|
| + dynamic getTypeDefinition(String typeKey, [Function responseFactory = null]) =>
|
| + null;
|
| +
|
| + dynamic getAllTypeDefinitions([Function responseFactory = null]) => null;
|
| +}
|
| +
|
| abstract class ViewManagerService {
|
| static const String serviceName = "mojo::ViewManagerService";
|
| dynamic createView(int viewId,[Function responseFactory = null]);
|
| @@ -3306,6 +3405,9 @@ class _ViewManagerServiceProxyImpl extends bindings.Proxy {
|
| return new _ViewManagerServiceProxyImpl.fromEndpoint(endpoint);
|
| }
|
|
|
| + service_describer.ServiceDescription get serviceDescription =>
|
| + new _ViewManagerServiceServiceDescription();
|
| +
|
| void handleResponse(bindings.ServiceMessage message) {
|
| switch (message.header.type) {
|
| case _ViewManagerService_createViewName:
|
| @@ -4176,6 +4278,9 @@ class ViewManagerServiceStub extends bindings.Stub {
|
| }
|
|
|
| int get version => 0;
|
| +
|
| + service_describer.ServiceDescription get serviceDescription =>
|
| + new _ViewManagerServiceServiceDescription();
|
| }
|
|
|
| const int _ViewManagerClient_onEmbedName = 0;
|
| @@ -4191,6 +4296,17 @@ const int _ViewManagerClient_onViewSharedPropertyChangedName = 9;
|
| const int _ViewManagerClient_onViewInputEventName = 10;
|
| const int _ViewManagerClient_onPerformActionName = 11;
|
|
|
| +
|
| +
|
| +class _ViewManagerClientServiceDescription implements service_describer.ServiceDescription {
|
| +dynamic getTopLevelInterface([Function responseFactory = null]) => null;
|
| +
|
| + dynamic getTypeDefinition(String typeKey, [Function responseFactory = null]) =>
|
| + null;
|
| +
|
| + dynamic getAllTypeDefinitions([Function responseFactory = null]) => null;
|
| +}
|
| +
|
| abstract class ViewManagerClient {
|
| static const String serviceName = "mojo::ViewManagerClient";
|
| void onEmbed(int connectionId, String embedderUrl, ViewData root, Object viewManagerService, Object services, Object exposedServices, core.MojoMessagePipeEndpoint windowManagerPipe);
|
| @@ -4223,6 +4339,9 @@ class _ViewManagerClientProxyImpl extends bindings.Proxy {
|
| return new _ViewManagerClientProxyImpl.fromEndpoint(endpoint);
|
| }
|
|
|
| + service_describer.ServiceDescription get serviceDescription =>
|
| + new _ViewManagerClientServiceDescription();
|
| +
|
| void handleResponse(bindings.ServiceMessage message) {
|
| switch (message.header.type) {
|
| case _ViewManagerClient_onViewInputEventName:
|
| @@ -4623,6 +4742,11 @@ class ViewManagerClientStub extends bindings.Stub {
|
| }
|
|
|
| int get version => 0;
|
| +
|
| + service_describer.ServiceDescription get serviceDescription =>
|
| + new _ViewManagerClientServiceDescription();
|
| }
|
|
|
|
|
| +
|
| +
|
|
|