Chromium Code Reviews| 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..b164e87ed3e8b16d23744860fd09f6de9342790d 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); |
|
spang
2014/11/20 18:08:22
Er, one last nit:
can you leave this as a pure in
GusFernandez
2014/11/20 21:42:48
I also had to implement a stub implementation for
|
| }; |
| // Create a stub implementation. |