| 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 255 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 266 // Send from the renderer to the browser to return the script running result. | 266 // Send from the renderer to the browser to return the script running result. |
| 267 IPC_MESSAGE_ROUTED2(ViewMsg_ExecuteCodeFinished, | 267 IPC_MESSAGE_ROUTED2(ViewMsg_ExecuteCodeFinished, |
| 268 int, /* request id */ | 268 int, /* request id */ |
| 269 bool /* whether the script ran successfully */) | 269 bool /* whether the script ran successfully */) |
| 270 | 270 |
| 271 // Sent when the headers are available for a resource request. | 271 // Sent when the headers are available for a resource request. |
| 272 IPC_MESSAGE_ROUTED2(ViewMsg_Resource_ReceivedResponse, | 272 IPC_MESSAGE_ROUTED2(ViewMsg_Resource_ReceivedResponse, |
| 273 int /* request_id */, | 273 int /* request_id */, |
| 274 ResourceResponseHead) | 274 ResourceResponseHead) |
| 275 | 275 |
| 276 // Sent when cached metadata from a resource request is ready. |
| 277 IPC_MESSAGE_ROUTED2(ViewMsg_Resource_ReceivedCachedMetadata, |
| 278 int /* request_id */, |
| 279 std::vector<char> /* data */) |
| 280 |
| 276 // Sent as download progress is being made, size of the resource may be | 281 // Sent as download progress is being made, size of the resource may be |
| 277 // unknown, in that case |size| is -1. | 282 // unknown, in that case |size| is -1. |
| 278 IPC_MESSAGE_ROUTED3(ViewMsg_Resource_DownloadProgress, | 283 IPC_MESSAGE_ROUTED3(ViewMsg_Resource_DownloadProgress, |
| 279 int /* request_id */, | 284 int /* request_id */, |
| 280 int64 /* position */, | 285 int64 /* position */, |
| 281 int64 /* size */) | 286 int64 /* size */) |
| 282 | 287 |
| 283 // Sent as upload progress is being made. | 288 // Sent as upload progress is being made. |
| 284 IPC_MESSAGE_ROUTED3(ViewMsg_Resource_UploadProgress, | 289 IPC_MESSAGE_ROUTED3(ViewMsg_Resource_UploadProgress, |
| 285 int /* request_id */, | 290 int /* request_id */, |
| (...skipping 1804 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2090 | 2095 |
| 2091 // Message sent from the renderer to the browser to request that the browser | 2096 // Message sent from the renderer to the browser to request that the browser |
| 2092 // close all sockets. Used for debugging/testing. | 2097 // close all sockets. Used for debugging/testing. |
| 2093 IPC_MESSAGE_CONTROL0(ViewHostMsg_CloseCurrentConnections) | 2098 IPC_MESSAGE_CONTROL0(ViewHostMsg_CloseCurrentConnections) |
| 2094 | 2099 |
| 2095 // Message sent from the renderer to the browser to request that the browser | 2100 // Message sent from the renderer to the browser to request that the browser |
| 2096 // close all idle sockets. Used for debugging/testing. | 2101 // close all idle sockets. Used for debugging/testing. |
| 2097 IPC_MESSAGE_CONTROL1(ViewHostMsg_SetCacheMode, | 2102 IPC_MESSAGE_CONTROL1(ViewHostMsg_SetCacheMode, |
| 2098 bool /* enabled */) | 2103 bool /* enabled */) |
| 2099 | 2104 |
| 2105 // Message sent from the renderer to the browser to request that the browser |
| 2106 // cache |data| associated with |url|. |
| 2107 IPC_MESSAGE_CONTROL3(ViewHostMsg_DidGenerateCacheableMetadata, |
| 2108 GURL /* url */, |
| 2109 double /* expected_response_time */, |
| 2110 std::vector<char> /* data */) |
| 2111 |
| 2100 // Get the storage area id for a particular origin within a namespace. | 2112 // Get the storage area id for a particular origin within a namespace. |
| 2101 IPC_SYNC_MESSAGE_CONTROL2_1(ViewHostMsg_DOMStorageStorageAreaId, | 2113 IPC_SYNC_MESSAGE_CONTROL2_1(ViewHostMsg_DOMStorageStorageAreaId, |
| 2102 int64 /* namespace_id */, | 2114 int64 /* namespace_id */, |
| 2103 string16 /* origin */, | 2115 string16 /* origin */, |
| 2104 int64 /* storage_area_id */) | 2116 int64 /* storage_area_id */) |
| 2105 | 2117 |
| 2106 // Get the length of a storage area. | 2118 // Get the length of a storage area. |
| 2107 IPC_SYNC_MESSAGE_CONTROL1_1(ViewHostMsg_DOMStorageLength, | 2119 IPC_SYNC_MESSAGE_CONTROL1_1(ViewHostMsg_DOMStorageLength, |
| 2108 int64 /* storage_area_id */, | 2120 int64 /* storage_area_id */, |
| 2109 unsigned /* length */) | 2121 unsigned /* length */) |
| (...skipping 244 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2354 IPC_MESSAGE_CONTROL2(ViewHostMsg_Geolocation_Resume, | 2366 IPC_MESSAGE_CONTROL2(ViewHostMsg_Geolocation_Resume, |
| 2355 int /* render_view_id */, | 2367 int /* render_view_id */, |
| 2356 int /* bridge_id */) | 2368 int /* bridge_id */) |
| 2357 | 2369 |
| 2358 // Send the tree of accessibility data to the browser, where it's cached | 2370 // Send the tree of accessibility data to the browser, where it's cached |
| 2359 // in order to respond to OS accessibility queries immediately. | 2371 // in order to respond to OS accessibility queries immediately. |
| 2360 IPC_MESSAGE_ROUTED1(ViewHostMsg_AccessibilityTree, | 2372 IPC_MESSAGE_ROUTED1(ViewHostMsg_AccessibilityTree, |
| 2361 webkit_glue::WebAccessibility) | 2373 webkit_glue::WebAccessibility) |
| 2362 | 2374 |
| 2363 IPC_END_MESSAGES(ViewHost) | 2375 IPC_END_MESSAGES(ViewHost) |
| OLD | NEW |