Chromium Code Reviews| 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 18eac2470481871702aec4bc1eea5483eeac8f47..4969abbe0e551279cb7d1de8b514857df21d59ac 100644 |
| --- a/components/view_manager/public/interfaces/view_manager.mojom |
| +++ b/components/view_manager/public/interfaces/view_manager.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,10 @@ interface ViewManagerService { |
| string name, |
| array<uint8>? value) => (bool success); |
| + // Sets the CompositorFrameReceiver on a particular view. |
| + RequestCompositorFrameReceiver(uint32 view_id, |
| + CompositorFrameReceiver& receiver); |
| + |
| // Reparents a view. |
| // This fails for any of the following reasons: |
| // . |parent| or |child| does not identify a valid view. |
| @@ -192,6 +197,9 @@ interface ViewManagerClient { |
| // previously embedded in. See Embed() for more information. |
| OnUnembed(); |
| + // Sent when GPU resources are returned to the client for reuse. |
| + OnResourcesReturned(array<ReturnedResource> resources); |
|
sky
2015/08/25 17:11:12
How come resources are returned here rather than t
Fady Samuel
2015/08/25 23:39:30
This is wrong but I'd like to fix it in the next p
|
| + |
| // Invoked when a view's bounds have changed. |
| OnViewBoundsChanged(uint32 view, |
| mojo.Rect old_bounds, |