| Index: mojo/services/public/interfaces/navigation/navigation.mojom
|
| diff --git a/mojo/services/public/interfaces/navigation/navigation.mojom b/mojo/services/public/interfaces/navigation/navigation.mojom
|
| index abaa69e6fe39145cdc98c415bd69054b8c794dd8..6a9e94f9592cd7a07a93ae5239ed472174e8810c 100644
|
| --- a/mojo/services/public/interfaces/navigation/navigation.mojom
|
| +++ b/mojo/services/public/interfaces/navigation/navigation.mojom
|
| @@ -18,30 +18,13 @@ enum Target {
|
| NEW_NODE
|
| };
|
|
|
| -struct NavigationDetails {
|
| - // TODO(mpcomplete): will we ever need more than the URLRequest? Can
|
| - // we pass that around directly?
|
| - URLRequest? request = default;
|
| -};
|
| -
|
| -struct ResponseDetails {
|
| - // TODO(beng): consider providing access to URLRequest too. Currently it is
|
| - // not possible to obtain from the URLLoader.
|
| -
|
| - URLResponse? response;
|
| -
|
| - // The URLLoader instance that generated the response. This must be kept
|
| - // alive until the response body has been completely consumed.
|
| - URLLoader? loader;
|
| -};
|
| -
|
| // Embedders that support navigation of implement this interface.
|
| interface NavigatorHost {
|
| - RequestNavigate(Target target, NavigationDetails? details);
|
| + RequestNavigate(Target target, URLRequest request);
|
|
|
| // Applications call this to inform hosts of navigations they performed
|
| // locally. For example, pushState() navigations in an HTML application.
|
| - DidNavigateLocally(string? url);
|
| + DidNavigateLocally(string url);
|
| };
|
|
|
| }
|
|
|