Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(155)

Unified Diff: mojo/services/public/interfaces/navigation/navigation.mojom

Issue 549273002: Various mojom cleanup from ContentHandler changes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: gn Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « mojo/services/public/interfaces/launcher/launcher.mojom ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
};
}
« no previous file with comments | « mojo/services/public/interfaces/launcher/launcher.mojom ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698