Index: ui/ozone/common/gpu/ozone_gpu_messages.h |
diff --git a/ui/ozone/common/gpu/ozone_gpu_messages.h b/ui/ozone/common/gpu/ozone_gpu_messages.h |
index 0d811d9203aa8e3685a8923290d4fae0995f8209..6e42cf7336892a485fdc64926b748c0bc44c717d 100644 |
--- a/ui/ozone/common/gpu/ozone_gpu_messages.h |
+++ b/ui/ozone/common/gpu/ozone_gpu_messages.h |
@@ -10,6 +10,7 @@ |
#include "ipc/ipc_message_macros.h" |
#include "third_party/skia/include/core/SkBitmap.h" |
#include "ui/gfx/geometry/point.h" |
+#include "ui/gfx/geometry/rect.h" |
#include "ui/gfx/ipc/gfx_param_traits.h" |
#include "ui/gfx/native_widget_types.h" |
#include "ui/ozone/common/gpu/ozone_gpu_message_params.h" |
@@ -58,6 +59,20 @@ IPC_MESSAGE_CONTROL3(OzoneGpuMsg_CursorSet, |
IPC_MESSAGE_CONTROL2(OzoneGpuMsg_CursorMove, |
gfx::AcceleratedWidget, gfx::Point) |
+// Explicit creation of a WindowDelegate. We explicitly create the window |
+// delegate such that any state change in the window is not lost while the |
+// surface is created on the GPU side. |
+IPC_MESSAGE_CONTROL1(OzoneGpuMsg_CreateWindowDelegate, |
+ gfx::AcceleratedWidget /* widget */) |
+ |
+IPC_MESSAGE_CONTROL1(OzoneGpuMsg_DestroyWindowDelegate, |
+ gfx::AcceleratedWidget /* widget */) |
+ |
+// Updates the location and size of the widget on the screen. |
+IPC_MESSAGE_CONTROL2(OzoneGpuMsg_WindowBoundsChanged, |
+ gfx::AcceleratedWidget /* widget */, |
+ gfx::Rect /* bounds */) |
+ |
#if defined(OS_CHROMEOS) |
// Force the DPMS state of the display to on. |
IPC_MESSAGE_CONTROL0(OzoneGpuMsg_ForceDPMSOn) |