| Index: mojo/dart/packages/mojo_services/lib/mojo/navigation.mojom.dart
|
| diff --git a/mojo/dart/packages/mojo_services/lib/mojo/navigation.mojom.dart b/mojo/dart/packages/mojo_services/lib/mojo/navigation.mojom.dart
|
| index c4f75cc2ecd64f30ef3d5b01c1612aa03c1800de..28f2924682770b6f3a31c5497450ee9baafee58c 100644
|
| --- a/mojo/dart/packages/mojo_services/lib/mojo/navigation.mojom.dart
|
| +++ b/mojo/dart/packages/mojo_services/lib/mojo/navigation.mojom.dart
|
| @@ -79,6 +79,11 @@ class _NavigatorHostRequestNavigateParams extends bindings.Struct {
|
|
|
| _NavigatorHostRequestNavigateParams() : super(kVersions.last.size);
|
|
|
| + _NavigatorHostRequestNavigateParams.init(
|
| + Target this.target,
|
| + url_request_mojom.UrlRequest this.request
|
| + ) : super(kVersions.last.size);
|
| +
|
| static _NavigatorHostRequestNavigateParams deserialize(bindings.Message message) {
|
| var decoder = new bindings.Decoder(message);
|
| var result = decode(decoder);
|
| @@ -167,6 +172,10 @@ class _NavigatorHostRequestNavigateHistoryParams extends bindings.Struct {
|
|
|
| _NavigatorHostRequestNavigateHistoryParams() : super(kVersions.last.size);
|
|
|
| + _NavigatorHostRequestNavigateHistoryParams.init(
|
| + int this.delta
|
| + ) : super(kVersions.last.size);
|
| +
|
| static _NavigatorHostRequestNavigateHistoryParams deserialize(bindings.Message message) {
|
| var decoder = new bindings.Decoder(message);
|
| var result = decode(decoder);
|
| @@ -239,6 +248,10 @@ class _NavigatorHostDidNavigateLocallyParams extends bindings.Struct {
|
|
|
| _NavigatorHostDidNavigateLocallyParams() : super(kVersions.last.size);
|
|
|
| + _NavigatorHostDidNavigateLocallyParams.init(
|
| + String this.url
|
| + ) : super(kVersions.last.size);
|
| +
|
| static _NavigatorHostDidNavigateLocallyParams deserialize(bindings.Message message) {
|
| var decoder = new bindings.Decoder(message);
|
| var result = decode(decoder);
|
| @@ -307,14 +320,17 @@ const int _navigatorHostMethodRequestNavigateHistoryName = 1;
|
| const int _navigatorHostMethodDidNavigateLocallyName = 2;
|
|
|
| class _NavigatorHostServiceDescription implements service_describer.ServiceDescription {
|
| - dynamic getTopLevelInterface([Function responseFactory]) =>
|
| - responseFactory(null);
|
| + void getTopLevelInterface(Function responder) {
|
| + responder(null);
|
| + }
|
|
|
| - dynamic getTypeDefinition(String typeKey, [Function responseFactory]) =>
|
| - responseFactory(null);
|
| + void getTypeDefinition(String typeKey, Function responder) {
|
| + responder(null);
|
| + }
|
|
|
| - dynamic getAllTypeDefinitions([Function responseFactory]) =>
|
| - responseFactory(null);
|
| + void getAllTypeDefinitions(Function responder) {
|
| + responder(null);
|
| + }
|
| }
|
|
|
| abstract class NavigatorHost {
|
| @@ -495,11 +511,11 @@ class _NavigatorHostStubControl
|
|
|
|
|
|
|
| - dynamic handleMessage(bindings.ServiceMessage message) {
|
| + void handleMessage(bindings.ServiceMessage message) {
|
| if (bindings.ControlMessageHandler.isControlMessage(message)) {
|
| - return bindings.ControlMessageHandler.handleMessage(this,
|
| - 0,
|
| - message);
|
| + bindings.ControlMessageHandler.handleMessage(
|
| + this, 0, message);
|
| + return;
|
| }
|
| if (_impl == null) {
|
| throw new core.MojoApiError("$this has no implementation set");
|
| @@ -524,7 +540,6 @@ class _NavigatorHostStubControl
|
| throw new bindings.MojoCodecError("Unexpected message name");
|
| break;
|
| }
|
| - return null;
|
| }
|
|
|
| NavigatorHost get impl => _impl;
|
|
|