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 4c90616ce3f64d517c2b454cdfa3d29e9cb8757c..014a0a7c0e69d07a4fd143bed595b3babfe15ca2 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_associates.mojom.dart' as view_associates_mojom; |
import 'package:mojo_services/mojo/ui/view_trees.mojom.dart' as view_trees_mojom; |
@@ -97,6 +99,8 @@ class _ViewManagerRegisterViewParams extends bindings.Struct { |
} |
+ |
+ |
class ViewManagerRegisterViewResponseParams extends bindings.Struct { |
static const List<bindings.StructDataHeader> kVersions = const [ |
const bindings.StructDataHeader(16, 0) |
@@ -165,6 +169,8 @@ class ViewManagerRegisterViewResponseParams extends bindings.Struct { |
} |
+ |
+ |
class _ViewManagerRegisterViewTreeParams extends bindings.Struct { |
static const List<bindings.StructDataHeader> kVersions = const [ |
const bindings.StructDataHeader(32, 0) |
@@ -247,6 +253,8 @@ class _ViewManagerRegisterViewTreeParams extends bindings.Struct { |
} |
+ |
+ |
class ViewManagerRegisterViewTreeResponseParams extends bindings.Struct { |
static const List<bindings.StructDataHeader> kVersions = const [ |
const bindings.StructDataHeader(16, 0) |
@@ -314,9 +322,22 @@ 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; |
+ |
+ dynamic getTypeDefinition(String typeKey, [Function responseFactory]) => null; |
+ |
+ dynamic getAllTypeDefinitions([Function responseFactory]) => null; |
+} |
+ |
abstract class ViewManager { |
static const String serviceName = "mojo::ui::ViewManager"; |
dynamic registerView(Object view,Object viewHost,String label,[Function responseFactory = null]); |
@@ -339,6 +360,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: |
@@ -584,6 +608,10 @@ class ViewManagerStub extends bindings.Stub { |
} |
int get version => 0; |
+ |
+ service_describer.ServiceDescription get serviceDescription => |
+ new _ViewManagerServiceDescription(); |
} |
+ |