OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 // Multiply-included message file, hence no include guard here, but see below | |
6 // for a much smaller-than-usual include guard section. | |
7 | |
8 #include "ipc/ipc_message_macros.h" | |
9 #include "ui/gfx/geometry/rect.h" | |
10 #include "ui/gfx/ipc/gfx_param_traits.h" | |
11 #include "ui/gfx/native_widget_types.h" | |
12 #include "ui/ozone/ozone_export.h" | |
13 | |
14 #undef IPC_MESSAGE_EXPORT | |
15 #define IPC_MESSAGE_EXPORT OZONE_EXPORT | |
16 | |
17 #define IPC_MESSAGE_START OzoneGpuMsgStart | |
dnicoara
2014/08/16 00:34:00
spang@ pointed out that I can't do this in here si
| |
18 | |
19 //------------------------------------------------------------------------------ | |
20 // GPU Messages | |
21 // These are messages from the browser to the GPU process. | |
22 | |
23 // Explicit creation of a NativeWindowDelegate. We explicitly create the window | |
24 // delegate such that any state change in the window is not lost while the | |
25 // surface is created on the GPU side. | |
26 IPC_MESSAGE_CONTROL1(DriGpuMsg_CreateNativeWindowDelegate, | |
27 gfx::AcceleratedWidget /* widget */) | |
28 | |
29 IPC_MESSAGE_CONTROL1(DriGpuMsg_DestoryNativeWindowDelegate, | |
30 gfx::AcceleratedWidget /* widget */) | |
31 | |
32 // Updates the location and size of the widget on the screen. | |
33 IPC_MESSAGE_CONTROL2(DriGpuMsg_NativeWindowBoundsChanged, | |
34 gfx::AcceleratedWidget /* widget */, | |
35 gfx::Rect /* bounds */) | |
OLD | NEW |