| Index: ui/ozone/public/gpu_platform_support.h
|
| diff --git a/ui/ozone/public/gpu_platform_support.h b/ui/ozone/public/gpu_platform_support.h
|
| index c912fa0af7898496f960ae4deaacf524d9c7d596..ed2b4c8d72f786902743203c85f587685f2089c9 100644
|
| --- a/ui/ozone/public/gpu_platform_support.h
|
| +++ b/ui/ozone/public/gpu_platform_support.h
|
| @@ -5,6 +5,7 @@
|
| #ifndef UI_OZONE_PUBLIC_GPU_PLATFORM_SUPPORT_H_
|
| #define UI_OZONE_PUBLIC_GPU_PLATFORM_SUPPORT_H_
|
|
|
| +#include "base/callback.h"
|
| #include "ipc/ipc_listener.h"
|
| #include "ipc/ipc_sender.h"
|
| #include "ui/ozone/ozone_base_export.h"
|
| @@ -21,6 +22,8 @@ class OZONE_BASE_EXPORT GpuPlatformSupport : public IPC::Listener {
|
|
|
| // Called when the GPU process is spun up & channel established.
|
| virtual void OnChannelEstablished(IPC::Sender* sender) = 0;
|
| +
|
| + virtual void RelinquishGpuResources(const base::Closure& callback) = 0;
|
| };
|
|
|
| // Create a stub implementation.
|
|
|