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

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

Issue 537843002: Expose NavigatorHost via Embed() rather than globally. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@viewman3
Patch Set: darments 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/html_viewer/html_viewer.cc ('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 7e2e150751810b544248ed5794a0c9e930d9ab7c..abaa69e6fe39145cdc98c415bd69054b8c794dd8 100644
--- a/mojo/services/public/interfaces/navigation/navigation.mojom
+++ b/mojo/services/public/interfaces/navigation/navigation.mojom
@@ -37,22 +37,11 @@ struct ResponseDetails {
// Embedders that support navigation of implement this interface.
interface NavigatorHost {
- RequestNavigate(uint32 source_node_id, Target target,
- NavigationDetails? details);
+ RequestNavigate(Target target, NavigationDetails? details);
// Applications call this to inform hosts of navigations they performed
// locally. For example, pushState() navigations in an HTML application.
- DidNavigateLocally(uint32 source_node_id, string? url);
-};
-
-// Applications implement this interface to support navigation of their views
-// by embedders.
-// |response_details| can be NULL when a navigation was not the result of a
-// network load.
-interface Navigator {
- Navigate(uint32 node_id,
- NavigationDetails? navigation_details,
- ResponseDetails? response_details);
+ DidNavigateLocally(string? url);
};
}
« no previous file with comments | « mojo/services/html_viewer/html_viewer.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698