| 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 <map> | 9 #include <map> |
| 10 #include <string> | 10 #include <string> |
| (...skipping 1036 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1047 IPC_MESSAGE_ROUTED2(ViewHostMsg_RequestResource, | 1047 IPC_MESSAGE_ROUTED2(ViewHostMsg_RequestResource, |
| 1048 int /* request_id */, | 1048 int /* request_id */, |
| 1049 ViewHostMsg_Resource_Request) | 1049 ViewHostMsg_Resource_Request) |
| 1050 | 1050 |
| 1051 // Cancels a resource request with the ID given as the parameter. | 1051 // Cancels a resource request with the ID given as the parameter. |
| 1052 IPC_MESSAGE_ROUTED1(ViewHostMsg_CancelRequest, | 1052 IPC_MESSAGE_ROUTED1(ViewHostMsg_CancelRequest, |
| 1053 int /* request_id */) | 1053 int /* request_id */) |
| 1054 | 1054 |
| 1055 // Follows a redirect that occured for the resource request with the ID given | 1055 // Follows a redirect that occured for the resource request with the ID given |
| 1056 // as the parameter. | 1056 // as the parameter. |
| 1057 IPC_MESSAGE_ROUTED1(ViewHostMsg_FollowRedirect, | 1057 IPC_MESSAGE_ROUTED2(ViewHostMsg_FollowRedirect, |
| 1058 int /* request_id */) | 1058 int /* request_id */, |
| 1059 GURL /* new_first_party_for_cookies */) |
| 1059 | 1060 |
| 1060 // Makes a synchronous resource request via the browser. | 1061 // Makes a synchronous resource request via the browser. |
| 1061 IPC_SYNC_MESSAGE_ROUTED2_1(ViewHostMsg_SyncLoad, | 1062 IPC_SYNC_MESSAGE_ROUTED2_1(ViewHostMsg_SyncLoad, |
| 1062 int /* request_id */, | 1063 int /* request_id */, |
| 1063 ViewHostMsg_Resource_Request, | 1064 ViewHostMsg_Resource_Request, |
| 1064 SyncLoadResult) | 1065 SyncLoadResult) |
| 1065 | 1066 |
| 1066 // Used to set a cookie. The cookie is set asynchronously, but will be | 1067 // Used to set a cookie. The cookie is set asynchronously, but will be |
| 1067 // available to a subsequent ViewHostMsg_GetCookies request. | 1068 // available to a subsequent ViewHostMsg_GetCookies request. |
| 1068 IPC_MESSAGE_CONTROL3(ViewHostMsg_SetCookie, | 1069 IPC_MESSAGE_CONTROL3(ViewHostMsg_SetCookie, |
| (...skipping 965 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2034 std::string /* signed public key and challenge */) | 2035 std::string /* signed public key and challenge */) |
| 2035 | 2036 |
| 2036 #if defined(SPELLCHECKER_IN_RENDERER) | 2037 #if defined(SPELLCHECKER_IN_RENDERER) |
| 2037 // The renderer has tried to spell check a word, but couldn't because no | 2038 // The renderer has tried to spell check a word, but couldn't because no |
| 2038 // dictionary was available to load. Request that the browser find an | 2039 // dictionary was available to load. Request that the browser find an |
| 2039 // appropriate dictionary and return it. | 2040 // appropriate dictionary and return it. |
| 2040 IPC_MESSAGE_CONTROL0(ViewHostMsg_SpellChecker_RequestDictionary) | 2041 IPC_MESSAGE_CONTROL0(ViewHostMsg_SpellChecker_RequestDictionary) |
| 2041 #endif | 2042 #endif |
| 2042 | 2043 |
| 2043 IPC_END_MESSAGES(ViewHost) | 2044 IPC_END_MESSAGES(ViewHost) |
| OLD | NEW |