| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 58 // Reply in response to ViewHostMsg_ShowView or ViewHostMsg_ShowWidget. | 58 // Reply in response to ViewHostMsg_ShowView or ViewHostMsg_ShowWidget. |
| 59 // similar to the new command, but used when the renderer created a view | 59 // similar to the new command, but used when the renderer created a view |
| 60 // first, and we need to update it | 60 // first, and we need to update it |
| 61 IPC_MESSAGE_ROUTED1(ViewMsg_CreatingNew_ACK, | 61 IPC_MESSAGE_ROUTED1(ViewMsg_CreatingNew_ACK, |
| 62 gfx::NativeViewId /* parent_hwnd */) | 62 gfx::NativeViewId /* parent_hwnd */) |
| 63 | 63 |
| 64 // Sends updated preferences to the renderer. | 64 // Sends updated preferences to the renderer. |
| 65 IPC_MESSAGE_ROUTED1(ViewMsg_SetRendererPrefs, | 65 IPC_MESSAGE_ROUTED1(ViewMsg_SetRendererPrefs, |
| 66 RendererPreferences) | 66 RendererPreferences) |
| 67 | 67 |
| 68 // Tells the renderer to perform the given action on the media player |
| 69 // located at |x|, |y|. |
| 70 IPC_MESSAGE_ROUTED3(ViewMsg_MediaPlayerActionAt, |
| 71 int32 /* x */, |
| 72 int32 /* y */, |
| 73 MediaPlayerAction) |
| 74 |
| 68 // Tells the render view to close. | 75 // Tells the render view to close. |
| 69 IPC_MESSAGE_ROUTED0(ViewMsg_Close) | 76 IPC_MESSAGE_ROUTED0(ViewMsg_Close) |
| 70 | 77 |
| 71 // Tells the render view to change its size. A ViewHostMsg_PaintRect message | 78 // Tells the render view to change its size. A ViewHostMsg_PaintRect message |
| 72 // is generated in response provided new_size is not empty and not equal to | 79 // is generated in response provided new_size is not empty and not equal to |
| 73 // the view's current size. The generated ViewHostMsg_PaintRect message will | 80 // the view's current size. The generated ViewHostMsg_PaintRect message will |
| 74 // have the IS_RESIZE_ACK flag set. It also receives the resizer rect so that | 81 // have the IS_RESIZE_ACK flag set. It also receives the resizer rect so that |
| 75 // we don't have to fetch it every time WebKit asks for it. | 82 // we don't have to fetch it every time WebKit asks for it. |
| 76 IPC_MESSAGE_ROUTED2(ViewMsg_Resize, | 83 IPC_MESSAGE_ROUTED2(ViewMsg_Resize, |
| 77 gfx::Size /* new_size */, | 84 gfx::Size /* new_size */, |
| (...skipping 1421 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1499 // web resource. |error_message| is a user-readable explanation of what | 1506 // web resource. |error_message| is a user-readable explanation of what |
| 1500 // went wrong. | 1507 // went wrong. |
| 1501 IPC_MESSAGE_CONTROL1(UtilityHostMsg_UnpackWebResource_Failed, | 1508 IPC_MESSAGE_CONTROL1(UtilityHostMsg_UnpackWebResource_Failed, |
| 1502 std::string /* error_message, if any */) | 1509 std::string /* error_message, if any */) |
| 1503 | 1510 |
| 1504 // Sent by the renderer process to acknowledge receipt of a | 1511 // Sent by the renderer process to acknowledge receipt of a |
| 1505 // ViewMsg_CSSInsertRequest message and css has been inserted into the frame. | 1512 // ViewMsg_CSSInsertRequest message and css has been inserted into the frame. |
| 1506 IPC_MESSAGE_ROUTED0(ViewHostMsg_OnCSSInserted) | 1513 IPC_MESSAGE_ROUTED0(ViewHostMsg_OnCSSInserted) |
| 1507 | 1514 |
| 1508 IPC_END_MESSAGES(ViewHost) | 1515 IPC_END_MESSAGES(ViewHost) |
| OLD | NEW |