| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 // This header is meant to be included in multiple passes, hence no traditional | 5 // This header is meant to be included in multiple passes, hence no traditional |
| 6 // header guard. | 6 // header guard. |
| 7 // See ipc_message_macros.h for explanation of the macros and passes. | 7 // See ipc_message_macros.h for explanation of the macros and passes. |
| 8 | 8 |
| 9 #include <map> | 9 #include <map> |
| 10 #include <string> | 10 #include <string> |
| (...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 196 IPC_MESSAGE_ROUTED4(ViewMsg_PaintAtSize, | 196 IPC_MESSAGE_ROUTED4(ViewMsg_PaintAtSize, |
| 197 TransportDIB::Handle /* dib_handle */, | 197 TransportDIB::Handle /* dib_handle */, |
| 198 int /* tag */, | 198 int /* tag */, |
| 199 gfx::Size /* page_size */, | 199 gfx::Size /* page_size */, |
| 200 gfx::Size /* desired_size */) | 200 gfx::Size /* desired_size */) |
| 201 | 201 |
| 202 // Tells the render view that a ViewHostMsg_UpdateRect message was processed. | 202 // Tells the render view that a ViewHostMsg_UpdateRect message was processed. |
| 203 // This signals the render view that it can send another UpdateRect message. | 203 // This signals the render view that it can send another UpdateRect message. |
| 204 IPC_MESSAGE_ROUTED0(ViewMsg_UpdateRect_ACK) | 204 IPC_MESSAGE_ROUTED0(ViewMsg_UpdateRect_ACK) |
| 205 | 205 |
| 206 // Replies to creating and updating videos. | |
| 207 IPC_MESSAGE_ROUTED1(ViewMsg_CreateVideo_ACK, | |
| 208 int32 /* video_id */) | |
| 209 IPC_MESSAGE_ROUTED1(ViewMsg_UpdateVideo_ACK, | |
| 210 int32 /* video_id */) | |
| 211 | |
| 212 // Message payload includes: | 206 // Message payload includes: |
| 213 // 1. A blob that should be cast to WebInputEvent | 207 // 1. A blob that should be cast to WebInputEvent |
| 214 // 2. An optional boolean value indicating if a RawKeyDown event is associated | 208 // 2. An optional boolean value indicating if a RawKeyDown event is associated |
| 215 // to a keyboard shortcut of the browser. | 209 // to a keyboard shortcut of the browser. |
| 216 IPC_MESSAGE_ROUTED0(ViewMsg_HandleInputEvent) | 210 IPC_MESSAGE_ROUTED0(ViewMsg_HandleInputEvent) |
| 217 | 211 |
| 218 // This message notifies the renderer that the next key event is bound to one | 212 // This message notifies the renderer that the next key event is bound to one |
| 219 // or more pre-defined edit commands. If the next key event is not handled | 213 // or more pre-defined edit commands. If the next key event is not handled |
| 220 // by webkit, the specified edit commands shall be executed against current | 214 // by webkit, the specified edit commands shall be executed against current |
| 221 // focused frame. | 215 // focused frame. |
| (...skipping 1082 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1304 // the tag sent along with ViewMsg_PaintAtSize. | 1298 // the tag sent along with ViewMsg_PaintAtSize. |
| 1305 IPC_MESSAGE_ROUTED2(ViewHostMsg_PaintAtSize_ACK, | 1299 IPC_MESSAGE_ROUTED2(ViewHostMsg_PaintAtSize_ACK, |
| 1306 int /* tag */, | 1300 int /* tag */, |
| 1307 gfx::Size /* size */) | 1301 gfx::Size /* size */) |
| 1308 | 1302 |
| 1309 // Sent to update part of the view. In response to this message, the host | 1303 // Sent to update part of the view. In response to this message, the host |
| 1310 // generates a ViewMsg_UpdateRect_ACK message. | 1304 // generates a ViewMsg_UpdateRect_ACK message. |
| 1311 IPC_MESSAGE_ROUTED1(ViewHostMsg_UpdateRect, | 1305 IPC_MESSAGE_ROUTED1(ViewHostMsg_UpdateRect, |
| 1312 ViewHostMsg_UpdateRect_Params) | 1306 ViewHostMsg_UpdateRect_Params) |
| 1313 | 1307 |
| 1314 // Sent to create, update and destroy video layers. | |
| 1315 IPC_MESSAGE_ROUTED1(ViewHostMsg_CreateVideo, | |
| 1316 gfx::Size /* size */) | |
| 1317 IPC_MESSAGE_ROUTED2(ViewHostMsg_UpdateVideo, | |
| 1318 TransportDIB::Id /* bitmap */, | |
| 1319 gfx::Rect /* bitmap_rect */) | |
| 1320 IPC_MESSAGE_ROUTED0(ViewHostMsg_DestroyVideo) | |
| 1321 | |
| 1322 // Sent by the renderer when GPU compositing is enabled or disabled to notify | 1308 // Sent by the renderer when GPU compositing is enabled or disabled to notify |
| 1323 // the browser whether or not is should do paiting. | 1309 // the browser whether or not is should do paiting. |
| 1324 IPC_MESSAGE_ROUTED1(ViewHostMsg_GpuRenderingActivated, | 1310 IPC_MESSAGE_ROUTED1(ViewHostMsg_GpuRenderingActivated, |
| 1325 bool /* true if the GPU process renders to window */) | 1311 bool /* true if the GPU process renders to window */) |
| 1326 | 1312 |
| 1327 // Acknowledges receipt of a ViewMsg_HandleInputEvent message. | 1313 // Acknowledges receipt of a ViewMsg_HandleInputEvent message. |
| 1328 // Payload is a WebInputEvent::Type which is the type of the event, followed | 1314 // Payload is a WebInputEvent::Type which is the type of the event, followed |
| 1329 // by an optional WebInputEvent which is provided only if the event was not | 1315 // by an optional WebInputEvent which is provided only if the event was not |
| 1330 // processed. | 1316 // processed. |
| 1331 IPC_MESSAGE_ROUTED0(ViewHostMsg_HandleInputEvent_ACK) | 1317 IPC_MESSAGE_ROUTED0(ViewHostMsg_HandleInputEvent_ACK) |
| (...skipping 1743 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3075 base::PlatformFileInfo, /* info */ | 3061 base::PlatformFileInfo, /* info */ |
| 3076 base::PlatformFileError /* error_code */) | 3062 base::PlatformFileError /* error_code */) |
| 3077 | 3063 |
| 3078 // Get the directory's contents. | 3064 // Get the directory's contents. |
| 3079 IPC_SYNC_MESSAGE_CONTROL1_2(ViewHostMsg_PepperGetDirContents, | 3065 IPC_SYNC_MESSAGE_CONTROL1_2(ViewHostMsg_PepperGetDirContents, |
| 3080 FilePath /* path */, | 3066 FilePath /* path */, |
| 3081 PepperDirContents, /* contents */ | 3067 PepperDirContents, /* contents */ |
| 3082 base::PlatformFileError /* error_code */) | 3068 base::PlatformFileError /* error_code */) |
| 3083 | 3069 |
| 3084 IPC_END_MESSAGES(ViewHost) | 3070 IPC_END_MESSAGES(ViewHost) |
| OLD | NEW |