| Index: mojo/dart/packages/mojo_services/lib/mojo/ui/view_manager.mojom.dart
|
| diff --git a/mojo/dart/packages/mojo_services/lib/mojo/ui/view_manager.mojom.dart b/mojo/dart/packages/mojo_services/lib/mojo/ui/view_manager.mojom.dart
|
| index a5d5f568b4ddd5e6ee22432e3fb8fcc1826e91b7..44f27b596e4b8b380a7153b0ac9986d5070e7352 100644
|
| --- a/mojo/dart/packages/mojo_services/lib/mojo/ui/view_manager.mojom.dart
|
| +++ b/mojo/dart/packages/mojo_services/lib/mojo/ui/view_manager.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/ui/views.mojom.dart' as views_mojom;
|
| import 'package:mojo_services/mojo/ui/view_trees.mojom.dart' as view_trees_mojom;
|
|
|
| @@ -87,6 +89,8 @@ class _ViewManagerRegisterViewParams extends bindings.Struct {
|
| }
|
|
|
|
|
| +
|
| +
|
| class ViewManagerRegisterViewResponseParams extends bindings.Struct {
|
| static const List<bindings.StructDataHeader> kVersions = const [
|
| const bindings.StructDataHeader(16, 0)
|
| @@ -155,6 +159,8 @@ class ViewManagerRegisterViewResponseParams extends bindings.Struct {
|
| }
|
|
|
|
|
| +
|
| +
|
| class _ViewManagerRegisterViewTreeParams extends bindings.Struct {
|
| static const List<bindings.StructDataHeader> kVersions = const [
|
| const bindings.StructDataHeader(24, 0)
|
| @@ -229,6 +235,8 @@ class _ViewManagerRegisterViewTreeParams extends bindings.Struct {
|
| }
|
|
|
|
|
| +
|
| +
|
| class ViewManagerRegisterViewTreeResponseParams extends bindings.Struct {
|
| static const List<bindings.StructDataHeader> kVersions = const [
|
| const bindings.StructDataHeader(8, 0)
|
| @@ -286,9 +294,23 @@ class ViewManagerRegisterViewTreeResponseParams extends bindings.Struct {
|
| }
|
| }
|
|
|
| +
|
| +
|
| +
|
| const int _ViewManager_registerViewName = 0;
|
| const int _ViewManager_registerViewTreeName = 1;
|
|
|
| +
|
| +
|
| +class _ViewManagerServiceDescription 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 ViewManager {
|
| static const String serviceName = "mojo::ui::ViewManager";
|
| dynamic registerView(Object view,Object viewHost,[Function responseFactory = null]);
|
| @@ -311,6 +333,9 @@ class _ViewManagerProxyImpl extends bindings.Proxy {
|
| return new _ViewManagerProxyImpl.fromEndpoint(endpoint);
|
| }
|
|
|
| + service_describer.ServiceDescription get serviceDescription =>
|
| + new _ViewManagerServiceDescription();
|
| +
|
| void handleResponse(bindings.ServiceMessage message) {
|
| switch (message.header.type) {
|
| case _ViewManager_registerViewName:
|
| @@ -553,6 +578,11 @@ class ViewManagerStub extends bindings.Stub {
|
| }
|
|
|
| int get version => 0;
|
| +
|
| + service_describer.ServiceDescription get serviceDescription =>
|
| + new _ViewManagerServiceDescription();
|
| }
|
|
|
|
|
| +
|
| +
|
|
|