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 #include <map> | 5 #include <map> |
6 #include <string> | 6 #include <string> |
7 #include <vector> | 7 #include <vector> |
8 | 8 |
9 #include "build/build_config.h" | 9 #include "build/build_config.h" |
10 | 10 |
(...skipping 1175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1186 // to run in a modal fashion until it is closed. | 1186 // to run in a modal fashion until it is closed. |
1187 IPC_SYNC_MESSAGE_ROUTED0_0(ViewHostMsg_RunModal) | 1187 IPC_SYNC_MESSAGE_ROUTED0_0(ViewHostMsg_RunModal) |
1188 | 1188 |
1189 IPC_MESSAGE_CONTROL1(ViewHostMsg_UpdatedCacheStats, | 1189 IPC_MESSAGE_CONTROL1(ViewHostMsg_UpdatedCacheStats, |
1190 WebKit::WebCache::UsageStats /* stats */) | 1190 WebKit::WebCache::UsageStats /* stats */) |
1191 | 1191 |
1192 // Indicates the renderer is ready in response to a ViewMsg_New or | 1192 // Indicates the renderer is ready in response to a ViewMsg_New or |
1193 // a ViewMsg_CreatingNew_ACK. | 1193 // a ViewMsg_CreatingNew_ACK. |
1194 IPC_MESSAGE_ROUTED0(ViewHostMsg_RenderViewReady) | 1194 IPC_MESSAGE_ROUTED0(ViewHostMsg_RenderViewReady) |
1195 | 1195 |
| 1196 |
1196 // Indicates the renderer process is gone. This actually is sent by the | 1197 // Indicates the renderer process is gone. This actually is sent by the |
1197 // browser process to itself, but keeps the interface cleaner. | 1198 // browser process to itself, but keeps the interface cleaner. |
1198 IPC_MESSAGE_ROUTED0(ViewHostMsg_RenderViewGone) | 1199 IPC_MESSAGE_ROUTED2(ViewHostMsg_RenderViewGone, |
| 1200 int, /* this really is base::TerminationStatus */ |
| 1201 int /* exit_code */) |
1199 | 1202 |
1200 // Sent by the renderer process to request that the browser close the view. | 1203 // Sent by the renderer process to request that the browser close the view. |
1201 // This corresponds to the window.close() API, and the browser may ignore | 1204 // This corresponds to the window.close() API, and the browser may ignore |
1202 // this message. Otherwise, the browser will generates a ViewMsg_Close | 1205 // this message. Otherwise, the browser will generates a ViewMsg_Close |
1203 // message to close the view. | 1206 // message to close the view. |
1204 IPC_MESSAGE_ROUTED0(ViewHostMsg_Close) | 1207 IPC_MESSAGE_ROUTED0(ViewHostMsg_Close) |
1205 | 1208 |
1206 // Sent by the renderer process to request that the browser move the view. | 1209 // Sent by the renderer process to request that the browser move the view. |
1207 // This corresponds to the window.resizeTo() and window.moveTo() APIs, and | 1210 // This corresponds to the window.resizeTo() and window.moveTo() APIs, and |
1208 // the browser may ignore this message. | 1211 // the browser may ignore this message. |
(...skipping 1863 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3072 IPC_SYNC_MESSAGE_CONTROL1_2(ViewHostMsg_PepperQueryFile, | 3075 IPC_SYNC_MESSAGE_CONTROL1_2(ViewHostMsg_PepperQueryFile, |
3073 FilePath /* path */, | 3076 FilePath /* path */, |
3074 base::PlatformFileInfo, /* info */ | 3077 base::PlatformFileInfo, /* info */ |
3075 base::PlatformFileError /* error_code */) | 3078 base::PlatformFileError /* error_code */) |
3076 | 3079 |
3077 // Get the directory's contents. | 3080 // Get the directory's contents. |
3078 IPC_SYNC_MESSAGE_CONTROL1_2(ViewHostMsg_PepperGetDirContents, | 3081 IPC_SYNC_MESSAGE_CONTROL1_2(ViewHostMsg_PepperGetDirContents, |
3079 FilePath /* path */, | 3082 FilePath /* path */, |
3080 PepperDirContents, /* contents */ | 3083 PepperDirContents, /* contents */ |
3081 base::PlatformFileError /* error_code */) | 3084 base::PlatformFileError /* error_code */) |
OLD | NEW |