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..754508e927c718de107b28a09d44941fc9303940 100644 |
--- a/components/view_manager/public/cpp/view_manager_delegate.h |
+++ b/components/view_manager/public/cpp/view_manager_delegate.h |
@@ -50,6 +50,10 @@ class ViewManagerDelegate { |
// notified appropriately). |
virtual void OnUnembed(); |
+ // Sent when GPU resources are returned to the client for reuse. |
+ 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. |