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

Unified Diff: components/view_manager/public/interfaces/view_manager.mojom

Issue 1121783003: Move navigations with POST or referrer to the shell. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge Created 5 years, 7 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 | « components/view_manager/public/interfaces/BUILD.gn ('k') | components/view_manager/view_manager_app.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/view_manager/public/interfaces/view_manager.mojom
diff --git a/components/view_manager/public/interfaces/view_manager.mojom b/components/view_manager/public/interfaces/view_manager.mojom
index 77b44740001277a58457fea17bdcb378fab41241..8013b3c5d92a678ffefe26e2133112f5cf16f046 100644
--- a/components/view_manager/public/interfaces/view_manager.mojom
+++ b/components/view_manager/public/interfaces/view_manager.mojom
@@ -8,6 +8,7 @@ import "components/surfaces/public/interfaces/surface_id.mojom";
import "components/view_manager/public/interfaces/native_viewport.mojom";
import "components/view_manager/public/interfaces/view_manager_constants.mojom";
import "mojo/application/public/interfaces/service_provider.mojom";
+import "network/public/interfaces/url_loader.mojom";
import "ui/mojo/events/input_events.mojom";
import "ui/mojo/geometry/geometry.mojom";
@@ -108,8 +109,8 @@ interface ViewManagerService {
// A connection may grant access to a view from another connection by way of
// the embed functions. There are two variants of this call:
//
- // . EmbedUrl: the ViewManager connects to the app at the supplied url and
- // asks it for a ViewManagerClient.
+ // . EmbedRequest: the ViewManager connects to the app at the supplied request
+ // and asks it for a ViewManagerClient.
// . With the second variant a ViewManagerClient is directly supplied.
//
// In both cases the new ViewManagerClient is configured with a root of
@@ -137,10 +138,10 @@ interface ViewManagerService {
// if a different app is subsequently embedded at |view_id| the
// ServiceProvider connections to its client in the embedded app and any
// services it provided are not broken and continue to be valid.
- EmbedUrl(string url,
- uint32 view_id,
- ServiceProvider&? services,
- ServiceProvider? exposed_services) => (bool success);
+ EmbedRequest(URLRequest request,
+ uint32 view_id,
+ ServiceProvider&? services,
+ ServiceProvider? exposed_services) => (bool success);
Embed(uint32 view_id, ViewManagerClient client) => (bool success);
SetFocus(uint32 view_id) => (bool success);
« no previous file with comments | « components/view_manager/public/interfaces/BUILD.gn ('k') | components/view_manager/view_manager_app.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698