| 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..c448569aa4de30091df35a91f5158a208c0c00e2 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 NativeWindowDelegate. 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_CreateNativeWindowDelegate,
|
| + gfx::AcceleratedWidget /* widget */)
|
| +
|
| +IPC_MESSAGE_CONTROL1(OzoneGpuMsg_DestoryNativeWindowDelegate,
|
| + gfx::AcceleratedWidget /* widget */)
|
| +
|
| +// Updates the location and size of the widget on the screen.
|
| +IPC_MESSAGE_CONTROL2(OzoneGpuMsg_NativeWindowBoundsChanged,
|
| + gfx::AcceleratedWidget /* widget */,
|
| + gfx::Rect /* bounds */)
|
| +
|
| #if defined(OS_CHROMEOS)
|
| // Force the DPMS state of the display to on.
|
| IPC_MESSAGE_CONTROL0(OzoneGpuMsg_ForceDPMSOn)
|
|
|