| Index: mojo/dart/packages/mojo_services/lib/mojo/ui/view_associates.mojom.dart
|
| diff --git a/mojo/dart/packages/mojo_services/lib/mojo/ui/view_associates.mojom.dart b/mojo/dart/packages/mojo_services/lib/mojo/ui/view_associates.mojom.dart
|
| index 4f23b7ef10d1a11649b9c8480accc724a833f11b..71c9a48fd360b4378b7bacd2fd87530748ae75ce 100644
|
| --- a/mojo/dart/packages/mojo_services/lib/mojo/ui/view_associates.mojom.dart
|
| +++ b/mojo/dart/packages/mojo_services/lib/mojo/ui/view_associates.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/mojo/service_provider.mojom.dart' as service_provider_mojom;
|
| import 'package:mojo_services/mojo/ui/views.mojom.dart' as views_mojom;
|
| import 'package:mojo_services/mojo/ui/view_trees.mojom.dart' as view_trees_mojom;
|
| @@ -126,6 +128,8 @@ class ViewAssociateInfo extends bindings.Struct {
|
| }
|
|
|
|
|
| +
|
| +
|
| class _ViewAssociateConnectParams extends bindings.Struct {
|
| static const List<bindings.StructDataHeader> kVersions = const [
|
| const bindings.StructDataHeader(16, 0)
|
| @@ -192,6 +196,8 @@ class _ViewAssociateConnectParams extends bindings.Struct {
|
| }
|
|
|
|
|
| +
|
| +
|
| class ViewAssociateConnectResponseParams extends bindings.Struct {
|
| static const List<bindings.StructDataHeader> kVersions = const [
|
| const bindings.StructDataHeader(16, 0)
|
| @@ -260,6 +266,8 @@ class ViewAssociateConnectResponseParams extends bindings.Struct {
|
| }
|
|
|
|
|
| +
|
| +
|
| class _ViewAssociateConnectToViewServiceParams extends bindings.Struct {
|
| static const List<bindings.StructDataHeader> kVersions = const [
|
| const bindings.StructDataHeader(32, 0)
|
| @@ -343,6 +351,8 @@ class _ViewAssociateConnectToViewServiceParams extends bindings.Struct {
|
| }
|
|
|
|
|
| +
|
| +
|
| class _ViewAssociateConnectToViewTreeServiceParams extends bindings.Struct {
|
| static const List<bindings.StructDataHeader> kVersions = const [
|
| const bindings.StructDataHeader(32, 0)
|
| @@ -425,10 +435,23 @@ class _ViewAssociateConnectToViewTreeServiceParams extends bindings.Struct {
|
| }
|
| }
|
|
|
| +
|
| +
|
| +
|
| const int _ViewAssociate_connectName = 0;
|
| const int _ViewAssociate_connectToViewServiceName = 1;
|
| const int _ViewAssociate_connectToViewTreeServiceName = 2;
|
|
|
| +
|
| +
|
| +class _ViewAssociateServiceDescription implements service_describer.ServiceDescription {
|
| + dynamic getTopLevelInterface([Function responseFactory]) => null;
|
| +
|
| + dynamic getTypeDefinition(String typeKey, [Function responseFactory]) => null;
|
| +
|
| + dynamic getAllTypeDefinitions([Function responseFactory]) => null;
|
| +}
|
| +
|
| abstract class ViewAssociate {
|
| static const String serviceName = "mojo::ui::ViewAssociate";
|
| dynamic connect(Object inspector,[Function responseFactory = null]);
|
| @@ -452,6 +475,9 @@ class _ViewAssociateProxyImpl extends bindings.Proxy {
|
| return new _ViewAssociateProxyImpl.fromEndpoint(endpoint);
|
| }
|
|
|
| + service_describer.ServiceDescription get serviceDescription =>
|
| + new _ViewAssociateServiceDescription();
|
| +
|
| void handleResponse(bindings.ServiceMessage message) {
|
| switch (message.header.type) {
|
| case _ViewAssociate_connectName:
|
| @@ -669,9 +695,22 @@ class ViewAssociateStub extends bindings.Stub {
|
| }
|
|
|
| int get version => 0;
|
| +
|
| + service_describer.ServiceDescription get serviceDescription =>
|
| + new _ViewAssociateServiceDescription();
|
| }
|
|
|
|
|
| +
|
| +
|
| +class _ViewInspectorServiceDescription implements service_describer.ServiceDescription {
|
| + dynamic getTopLevelInterface([Function responseFactory]) => null;
|
| +
|
| + dynamic getTypeDefinition(String typeKey, [Function responseFactory]) => null;
|
| +
|
| + dynamic getAllTypeDefinitions([Function responseFactory]) => null;
|
| +}
|
| +
|
| abstract class ViewInspector {
|
| static const String serviceName = null;
|
| }
|
| @@ -692,6 +731,9 @@ class _ViewInspectorProxyImpl extends bindings.Proxy {
|
| return new _ViewInspectorProxyImpl.fromEndpoint(endpoint);
|
| }
|
|
|
| + service_describer.ServiceDescription get serviceDescription =>
|
| + new _ViewInspectorServiceDescription();
|
| +
|
| void handleResponse(bindings.ServiceMessage message) {
|
| switch (message.header.type) {
|
| default:
|
| @@ -821,6 +863,10 @@ class ViewInspectorStub extends bindings.Stub {
|
| }
|
|
|
| int get version => 0;
|
| +
|
| + service_describer.ServiceDescription get serviceDescription =>
|
| + new _ViewInspectorServiceDescription();
|
| }
|
|
|
|
|
| +
|
|
|