| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 // Multiply-included message file, hence no include guard here, but see below | 5 // Multiply-included message file, hence no include guard here, but see below |
| 6 // for a much smaller-than-usual include guard section. | 6 // for a much smaller-than-usual include guard section. |
| 7 | 7 |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/file_descriptor_posix.h" | 10 #include "base/file_descriptor_posix.h" |
| (...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 82 IPC_MESSAGE_CONTROL4(OzoneGpuMsg_CursorSet, | 82 IPC_MESSAGE_CONTROL4(OzoneGpuMsg_CursorSet, |
| 83 gfx::AcceleratedWidget, | 83 gfx::AcceleratedWidget, |
| 84 std::vector<SkBitmap>, | 84 std::vector<SkBitmap>, |
| 85 gfx::Point /* location */, | 85 gfx::Point /* location */, |
| 86 int /* frame_delay_ms */) | 86 int /* frame_delay_ms */) |
| 87 | 87 |
| 88 // Move the HW cursor to the specified location. | 88 // Move the HW cursor to the specified location. |
| 89 IPC_MESSAGE_CONTROL2(OzoneGpuMsg_CursorMove, | 89 IPC_MESSAGE_CONTROL2(OzoneGpuMsg_CursorMove, |
| 90 gfx::AcceleratedWidget, gfx::Point) | 90 gfx::AcceleratedWidget, gfx::Point) |
| 91 | 91 |
| 92 // Explicit creation of a WindowDelegate. We explicitly create the window | 92 // Explicit creation of a window. We explicitly create the window such |
| 93 // delegate such that any state change in the window is not lost while the | 93 // that any state change in the window is not lost while the surface is |
| 94 // surface is created on the GPU side. | 94 // created on the GPU side. |
| 95 IPC_MESSAGE_CONTROL1(OzoneGpuMsg_CreateWindowDelegate, | 95 IPC_MESSAGE_CONTROL1(OzoneGpuMsg_CreateWindow, |
| 96 gfx::AcceleratedWidget /* widget */) | 96 gfx::AcceleratedWidget /* widget */) |
| 97 | 97 |
| 98 IPC_MESSAGE_CONTROL1(OzoneGpuMsg_DestroyWindowDelegate, | 98 IPC_MESSAGE_CONTROL1(OzoneGpuMsg_DestroyWindow, |
| 99 gfx::AcceleratedWidget /* widget */) | 99 gfx::AcceleratedWidget /* widget */) |
| 100 | 100 |
| 101 // Updates the location and size of the widget on the screen. | 101 // Updates the location and size of the widget on the screen. |
| 102 IPC_MESSAGE_CONTROL2(OzoneGpuMsg_WindowBoundsChanged, | 102 IPC_MESSAGE_CONTROL2(OzoneGpuMsg_WindowBoundsChanged, |
| 103 gfx::AcceleratedWidget /* widget */, | 103 gfx::AcceleratedWidget /* widget */, |
| 104 gfx::Rect /* bounds */) | 104 gfx::Rect /* bounds */) |
| 105 | 105 |
| 106 // Trigger a display reconfiguration. OzoneHostMsg_UpdateNativeDisplays will be | 106 // Trigger a display reconfiguration. OzoneHostMsg_UpdateNativeDisplays will be |
| 107 // sent as a response. | 107 // sent as a response. |
| 108 IPC_MESSAGE_CONTROL0(OzoneGpuMsg_RefreshNativeDisplays) | 108 IPC_MESSAGE_CONTROL0(OzoneGpuMsg_RefreshNativeDisplays) |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 171 IPC_MESSAGE_CONTROL1(OzoneHostMsg_DisplayControlTaken, bool /* success */) | 171 IPC_MESSAGE_CONTROL1(OzoneHostMsg_DisplayControlTaken, bool /* success */) |
| 172 | 172 |
| 173 // Response to OzoneGpuMsg_RelinquishDisplayControl. | 173 // Response to OzoneGpuMsg_RelinquishDisplayControl. |
| 174 IPC_MESSAGE_CONTROL1(OzoneHostMsg_DisplayControlRelinquished, | 174 IPC_MESSAGE_CONTROL1(OzoneHostMsg_DisplayControlRelinquished, |
| 175 bool /* success */) | 175 bool /* success */) |
| 176 | 176 |
| 177 // Response for OzoneGpuMsg_CheckOverlayCapabilities | 177 // Response for OzoneGpuMsg_CheckOverlayCapabilities |
| 178 IPC_MESSAGE_CONTROL2(OzoneHostMsg_OverlayCapabilitiesReceived, | 178 IPC_MESSAGE_CONTROL2(OzoneHostMsg_OverlayCapabilitiesReceived, |
| 179 gfx::AcceleratedWidget /* widget */, | 179 gfx::AcceleratedWidget /* widget */, |
| 180 bool /* result */) | 180 bool /* result */) |
| OLD | NEW |