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 1182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1193 | 1193 |
1194 IPC_MESSAGE_CONTROL1(ViewHostMsg_UpdatedCacheStats, | 1194 IPC_MESSAGE_CONTROL1(ViewHostMsg_UpdatedCacheStats, |
1195 WebKit::WebCache::UsageStats /* stats */) | 1195 WebKit::WebCache::UsageStats /* stats */) |
1196 | 1196 |
1197 // Indicates the renderer is ready in response to a ViewMsg_New or | 1197 // Indicates the renderer is ready in response to a ViewMsg_New or |
1198 // a ViewMsg_CreatingNew_ACK. | 1198 // a ViewMsg_CreatingNew_ACK. |
1199 IPC_MESSAGE_ROUTED0(ViewHostMsg_RenderViewReady) | 1199 IPC_MESSAGE_ROUTED0(ViewHostMsg_RenderViewReady) |
1200 | 1200 |
1201 // Indicates the renderer process is gone. This actually is sent by the | 1201 // Indicates the renderer process is gone. This actually is sent by the |
1202 // browser process to itself, but keeps the interface cleaner. | 1202 // browser process to itself, but keeps the interface cleaner. |
1203 IPC_MESSAGE_ROUTED0(ViewHostMsg_RenderViewGone) | 1203 IPC_MESSAGE_ROUTED2(ViewHostMsg_RenderViewGone, |
| 1204 int, /* this really is base::TerminationStatus */ |
| 1205 int /* exit_code */) |
1204 | 1206 |
1205 // Sent by the renderer process to request that the browser close the view. | 1207 // Sent by the renderer process to request that the browser close the view. |
1206 // This corresponds to the window.close() API, and the browser may ignore | 1208 // This corresponds to the window.close() API, and the browser may ignore |
1207 // this message. Otherwise, the browser will generates a ViewMsg_Close | 1209 // this message. Otherwise, the browser will generates a ViewMsg_Close |
1208 // message to close the view. | 1210 // message to close the view. |
1209 IPC_MESSAGE_ROUTED0(ViewHostMsg_Close) | 1211 IPC_MESSAGE_ROUTED0(ViewHostMsg_Close) |
1210 | 1212 |
1211 // Sent by the renderer process to request that the browser move the view. | 1213 // Sent by the renderer process to request that the browser move the view. |
1212 // This corresponds to the window.resizeTo() and window.moveTo() APIs, and | 1214 // This corresponds to the window.resizeTo() and window.moveTo() APIs, and |
1213 // the browser may ignore this message. | 1215 // the browser may ignore this message. |
(...skipping 1855 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3069 base::PlatformFileInfo, /* info */ | 3071 base::PlatformFileInfo, /* info */ |
3070 base::PlatformFileError /* error_code */) | 3072 base::PlatformFileError /* error_code */) |
3071 | 3073 |
3072 // Get the directory's contents. | 3074 // Get the directory's contents. |
3073 IPC_SYNC_MESSAGE_CONTROL1_2(ViewHostMsg_PepperGetDirContents, | 3075 IPC_SYNC_MESSAGE_CONTROL1_2(ViewHostMsg_PepperGetDirContents, |
3074 FilePath /* path */, | 3076 FilePath /* path */, |
3075 PepperDirContents, /* contents */ | 3077 PepperDirContents, /* contents */ |
3076 base::PlatformFileError /* error_code */) | 3078 base::PlatformFileError /* error_code */) |
3077 | 3079 |
3078 IPC_END_MESSAGES(ViewHost) | 3080 IPC_END_MESSAGES(ViewHost) |
OLD | NEW |