Chromium Code Reviews| Index: ui/platform_window/platform_window_delegate.h |
| diff --git a/ui/platform_window/platform_window_delegate.h b/ui/platform_window/platform_window_delegate.h |
| index f7cdb1abf3ddbc992fff7255ab2ea33f851cb3be..1359590acef88b234e8aaaa6ebed8143c62fad08 100644 |
| --- a/ui/platform_window/platform_window_delegate.h |
| +++ b/ui/platform_window/platform_window_delegate.h |
| @@ -5,6 +5,7 @@ |
| #ifndef UI_PLATFORM_WINDOW_PLATFORM_WINDOW_DELEGATE_H_ |
| #define UI_PLATFORM_WINDOW_PLATFORM_WINDOW_DELEGATE_H_ |
| +#include "gpu/ipc/common/surface_handle.h" |
| #include "ui/gfx/native_widget_types.h" |
| namespace gfx { |
| @@ -43,7 +44,7 @@ class PlatformWindowDelegate { |
| virtual void OnLostCapture() = 0; |
| - virtual void OnAcceleratedWidgetAvailable(gfx::AcceleratedWidget widget, |
|
Fady Samuel
2016/10/19 10:49:52
nit: OnSurfaceHandleAvailable?
Jay Civelli
2016/11/02 22:02:17
Ended up keeping the AcceleratedWidget.
|
| + virtual void OnAcceleratedWidgetAvailable(gpu::SurfaceHandle widget, |
| float device_pixel_ratio) = 0; |
| // Notifies the delegate that the widget cannot be used anymore until |