| 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);
|
|
|