| Index: components/view_manager/public/cpp/view_manager_delegate.h
|
| diff --git a/components/view_manager/public/cpp/view_manager_delegate.h b/components/view_manager/public/cpp/view_manager_delegate.h
|
| index d7534d72873664e70ac786e453883dde3b6da654..8e812ec2753b0b3b4d8a9220d0e22e5920b946d7 100644
|
| --- a/components/view_manager/public/cpp/view_manager_delegate.h
|
| +++ b/components/view_manager/public/cpp/view_manager_delegate.h
|
| @@ -50,6 +50,13 @@ class ViewManagerDelegate {
|
| // notified appropriately).
|
| virtual void OnUnembed();
|
|
|
| + // Sent when GPU resources are returned to the client for reuse.
|
| + // TODO(fsamuel): This ends up on the main thread. We need a separate
|
| + // interface for returned resources so we can return resources on the
|
| + // compositor thread
|
| + virtual void OnResourcesReturned(
|
| + mojo::Array<mojo::ReturnedResourcePtr> resources);
|
| +
|
| // Only invoked if the connection has been marked as an embed root. This
|
| // allows the delegate to disallow the embed (return false), or change
|
| // the ServiceProviders that would be exposed to the new client.
|
|
|