Index: mojo/dart/packages/mojo/lib/mojo/shell.mojom.dart |
diff --git a/mojo/dart/packages/mojo/lib/mojo/shell.mojom.dart b/mojo/dart/packages/mojo/lib/mojo/shell.mojom.dart |
index 0c8d92600ee8ded3730a8109f06a1978c70c5fa9..26aef8fda95439e9689cda3be8f1ee66a87a0718 100644 |
--- a/mojo/dart/packages/mojo/lib/mojo/shell.mojom.dart |
+++ b/mojo/dart/packages/mojo/lib/mojo/shell.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/application_connector.mojom.dart' as application_connector_mojom; |
import 'package:mojo/mojo/service_provider.mojom.dart' as service_provider_mojom; |
@@ -95,6 +97,8 @@ class _ShellConnectToApplicationParams extends bindings.Struct { |
} |
+ |
+ |
class _ShellCreateApplicationConnectorParams extends bindings.Struct { |
static const List<bindings.StructDataHeader> kVersions = const [ |
const bindings.StructDataHeader(16, 0) |
@@ -160,9 +164,23 @@ class _ShellCreateApplicationConnectorParams extends bindings.Struct { |
} |
} |
+ |
+ |
+ |
const int _Shell_connectToApplicationName = 0; |
const int _Shell_createApplicationConnectorName = 1; |
+ |
+ |
+class _ShellServiceDescription 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 Shell { |
static const String serviceName = null; |
void connectToApplication(String applicationUrl, Object services, Object exposedServices); |
@@ -185,6 +203,9 @@ class _ShellProxyImpl extends bindings.Proxy { |
return new _ShellProxyImpl.fromEndpoint(endpoint); |
} |
+ service_describer.ServiceDescription get serviceDescription => |
+ new _ShellServiceDescription(); |
+ |
void handleResponse(bindings.ServiceMessage message) { |
switch (message.header.type) { |
default: |
@@ -344,6 +365,11 @@ class ShellStub extends bindings.Stub { |
} |
int get version => 0; |
+ |
+ service_describer.ServiceDescription get serviceDescription => |
+ new _ShellServiceDescription(); |
} |
+ |
+ |