| Index: components/view_manager/public/interfaces/view_tree.mojom
|
| diff --git a/components/view_manager/public/interfaces/view_tree.mojom b/components/view_manager/public/interfaces/view_tree.mojom
|
| index a14555884c1864f3f5cade816d67f890db19d356..1151026aa84c78a2be1a2a2705e96b3138b68468 100644
|
| --- a/components/view_manager/public/interfaces/view_tree.mojom
|
| +++ b/components/view_manager/public/interfaces/view_tree.mojom
|
| @@ -4,6 +4,7 @@
|
|
|
| module mojo;
|
|
|
| +import "components/view_manager/public/interfaces/compositor_frame.mojom";
|
| import "components/view_manager/public/interfaces/surface_id.mojom";
|
| import "components/view_manager/public/interfaces/view_manager_constants.mojom";
|
| import "mojo/application/public/interfaces/service_provider.mojom";
|
| @@ -75,6 +76,9 @@ interface ViewTree {
|
| string name,
|
| array<uint8>? value) => (bool success);
|
|
|
| + // Requests a Surface for a particular view.
|
| + RequestSurface(uint32 view_id, Surface& surface, SurfaceClient client);
|
| +
|
| // Reparents a view.
|
| // This fails for any of the following reasons:
|
| // . |parent| or |child| does not identify a valid view.
|
| @@ -109,9 +113,6 @@ interface ViewTree {
|
| // search (pre-order).
|
| GetViewTree(uint32 view_id) => (array<ViewData> views);
|
|
|
| - // Shows the surface in the specified view.
|
| - SetViewSurfaceId(uint32 view_id, SurfaceId surface_id) => (bool success);
|
| -
|
| // Tells the ViewTree that the ViewTreeClient wants to get
|
| // OnEmbedForDescendant() when EmbedAllowingReembed() is invoked on any
|
| // descendant Views.
|
|
|