| 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 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 146 // should only result in purging objects we can recalculate, e.g. caches or | 146 // should only result in purging objects we can recalculate, e.g. caches or |
| 147 // JS garbage, not in purging irreplaceable objects. | 147 // JS garbage, not in purging irreplaceable objects. |
| 148 IPC_MESSAGE_CONTROL0(ViewMsg_PurgeMemory) | 148 IPC_MESSAGE_CONTROL0(ViewMsg_PurgeMemory) |
| 149 | 149 |
| 150 // Sent to render the view into the supplied transport DIB, resize | 150 // Sent to render the view into the supplied transport DIB, resize |
| 151 // the web widget to match the |page_size|, scale it by the | 151 // the web widget to match the |page_size|, scale it by the |
| 152 // appropriate scale to make it fit the |desired_size|, and return | 152 // appropriate scale to make it fit the |desired_size|, and return |
| 153 // it. In response to this message, the host generates a | 153 // it. In response to this message, the host generates a |
| 154 // ViewHostMsg_PaintAtSize_ACK message. Note that the DIB *must* be | 154 // ViewHostMsg_PaintAtSize_ACK message. Note that the DIB *must* be |
| 155 // the right size to receive an RGBA image at the |desired_size|. | 155 // the right size to receive an RGBA image at the |desired_size|. |
| 156 IPC_MESSAGE_ROUTED3(ViewMsg_PaintAtSize, | 156 IPC_MESSAGE_ROUTED4(ViewMsg_PaintAtSize, |
| 157 TransportDIB::Handle /* dib_handle */, | 157 TransportDIB::Handle /* dib_handle */, |
| 158 int /* sequence_num */, |
| 158 gfx::Size /* page_size */, | 159 gfx::Size /* page_size */, |
| 159 gfx::Size /* desired_size */) | 160 gfx::Size /* desired_size */) |
| 160 | 161 |
| 161 // Tells the render view that a ViewHostMsg_UpdateRect message was processed. | 162 // Tells the render view that a ViewHostMsg_UpdateRect message was processed. |
| 162 // This signals the render view that it can send another UpdateRect message. | 163 // This signals the render view that it can send another UpdateRect message. |
| 163 IPC_MESSAGE_ROUTED0(ViewMsg_UpdateRect_ACK) | 164 IPC_MESSAGE_ROUTED0(ViewMsg_UpdateRect_ACK) |
| 164 | 165 |
| 165 // Replies to creating and updating videos. | 166 // Replies to creating and updating videos. |
| 166 IPC_MESSAGE_ROUTED1(ViewMsg_CreateVideo_ACK, | 167 IPC_MESSAGE_ROUTED1(ViewMsg_CreateVideo_ACK, |
| 167 int32 /* video_id */) | 168 int32 /* video_id */) |
| (...skipping 950 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1118 bool /* true if it is the main frame */, | 1119 bool /* true if it is the main frame */, |
| 1119 int /* error_code */, | 1120 int /* error_code */, |
| 1120 GURL /* url */, | 1121 GURL /* url */, |
| 1121 bool /* true if the failure is the result of | 1122 bool /* true if the failure is the result of |
| 1122 navigating to a POST again and we're going to | 1123 navigating to a POST again and we're going to |
| 1123 show the POST interstitial */ ) | 1124 show the POST interstitial */ ) |
| 1124 | 1125 |
| 1125 // Tells the render view that a ViewHostMsg_PaintAtSize message was | 1126 // Tells the render view that a ViewHostMsg_PaintAtSize message was |
| 1126 // processed, and the DIB is ready for use. | 1127 // processed, and the DIB is ready for use. |
| 1127 IPC_MESSAGE_ROUTED2(ViewHostMsg_PaintAtSize_ACK, | 1128 IPC_MESSAGE_ROUTED2(ViewHostMsg_PaintAtSize_ACK, |
| 1128 TransportDIB::Handle /* dib_handle */, | 1129 int /* sequence_num */, |
| 1129 gfx::Size /* size */) | 1130 gfx::Size /* size */) |
| 1130 | 1131 |
| 1131 // Sent to update part of the view. In response to this message, the host | 1132 // Sent to update part of the view. In response to this message, the host |
| 1132 // generates a ViewMsg_UpdateRect_ACK message. | 1133 // generates a ViewMsg_UpdateRect_ACK message. |
| 1133 IPC_MESSAGE_ROUTED1(ViewHostMsg_UpdateRect, | 1134 IPC_MESSAGE_ROUTED1(ViewHostMsg_UpdateRect, |
| 1134 ViewHostMsg_UpdateRect_Params) | 1135 ViewHostMsg_UpdateRect_Params) |
| 1135 | 1136 |
| 1136 // Sent to create, update and destroy video layers. | 1137 // Sent to create, update and destroy video layers. |
| 1137 IPC_MESSAGE_ROUTED1(ViewHostMsg_CreateVideo, | 1138 IPC_MESSAGE_ROUTED1(ViewHostMsg_CreateVideo, |
| 1138 gfx::Size /* size */) | 1139 gfx::Size /* size */) |
| (...skipping 1369 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2508 IPC_MESSAGE_CONTROL2(ViewHostMsg_Geolocation_Resume, | 2509 IPC_MESSAGE_CONTROL2(ViewHostMsg_Geolocation_Resume, |
| 2509 int /* render_view_id */, | 2510 int /* render_view_id */, |
| 2510 int /* bridge_id */) | 2511 int /* bridge_id */) |
| 2511 | 2512 |
| 2512 // Send the tree of accessibility data to the browser, where it's cached | 2513 // Send the tree of accessibility data to the browser, where it's cached |
| 2513 // in order to respond to OS accessibility queries immediately. | 2514 // in order to respond to OS accessibility queries immediately. |
| 2514 IPC_MESSAGE_ROUTED1(ViewHostMsg_AccessibilityTree, | 2515 IPC_MESSAGE_ROUTED1(ViewHostMsg_AccessibilityTree, |
| 2515 webkit_glue::WebAccessibility) | 2516 webkit_glue::WebAccessibility) |
| 2516 | 2517 |
| 2517 IPC_END_MESSAGES(ViewHost) | 2518 IPC_END_MESSAGES(ViewHost) |
| OLD | NEW |