| 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 586 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 597 std::string /* The target*/) | 597 std::string /* The target*/) |
| 598 | 598 |
| 599 // Sent to the renderer when a popup window should no longer count against | 599 // Sent to the renderer when a popup window should no longer count against |
| 600 // the current popup count (either because it's not a popup or because it was | 600 // the current popup count (either because it's not a popup or because it was |
| 601 // a generated by a user action or because a constrained popup got turned | 601 // a generated by a user action or because a constrained popup got turned |
| 602 // into a full window). | 602 // into a full window). |
| 603 IPC_MESSAGE_ROUTED0(ViewMsg_DisassociateFromPopupCount) | 603 IPC_MESSAGE_ROUTED0(ViewMsg_DisassociateFromPopupCount) |
| 604 | 604 |
| 605 // The browser sends this to a renderer process in response to a | 605 // The browser sends this to a renderer process in response to a |
| 606 // ViewHostMsg_EstablishGpuChannel message. | 606 // ViewHostMsg_EstablishGpuChannel message. |
| 607 IPC_MESSAGE_ROUTED1(ViewMsg_GpuChannelEstablished, | 607 IPC_MESSAGE_CONTROL1(ViewMsg_GpuChannelEstablished, |
| 608 IPC::ChannelHandle /* handle to channel */) | 608 IPC::ChannelHandle /* handle to channel */) |
| 609 | 609 |
| 610 // Notifies the renderer of the appcache that has been selected for a | 610 // Notifies the renderer of the appcache that has been selected for a |
| 611 // a particular host. This is sent in reply to AppCacheMsg_SelectCache. | 611 // a particular host. This is sent in reply to AppCacheMsg_SelectCache. |
| 612 IPC_MESSAGE_CONTROL3(AppCacheMsg_CacheSelected, | 612 IPC_MESSAGE_CONTROL3(AppCacheMsg_CacheSelected, |
| 613 int /* host_id */, | 613 int /* host_id */, |
| 614 int64 /* appcache_id */, | 614 int64 /* appcache_id */, |
| 615 appcache::Status) | 615 appcache::Status) |
| 616 | 616 |
| 617 // Notifies the renderer of an AppCache status change. | 617 // Notifies the renderer of an AppCache status change. |
| 618 IPC_MESSAGE_CONTROL2(AppCacheMsg_StatusChanged, | 618 IPC_MESSAGE_CONTROL2(AppCacheMsg_StatusChanged, |
| (...skipping 714 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1333 GURL /* url */, | 1333 GURL /* url */, |
| 1334 std::string /* mime_type */, | 1334 std::string /* mime_type */, |
| 1335 std::wstring /* locale */, | 1335 std::wstring /* locale */, |
| 1336 IPC::ChannelHandle /* handle to channel */, | 1336 IPC::ChannelHandle /* handle to channel */, |
| 1337 WebPluginInfo /* info */) | 1337 WebPluginInfo /* info */) |
| 1338 | 1338 |
| 1339 // A renderer sends this to the browser process when it wants to | 1339 // A renderer sends this to the browser process when it wants to |
| 1340 // create connect to the GPU. The browser will create the GPU process if | 1340 // create connect to the GPU. The browser will create the GPU process if |
| 1341 // necessary, and will return a handle to the channel via | 1341 // necessary, and will return a handle to the channel via |
| 1342 // a GpuChannelEstablished message. | 1342 // a GpuChannelEstablished message. |
| 1343 IPC_MESSAGE_ROUTED0(ViewHostMsg_EstablishGpuChannel) | 1343 IPC_MESSAGE_CONTROL0(ViewHostMsg_EstablishGpuChannel) |
| 1344 | 1344 |
| 1345 // A renderer sends this to the browser process when it wants to start | 1345 // A renderer sends this to the browser process when it wants to start |
| 1346 // a new instance of the Native Client process. The browser will launch | 1346 // a new instance of the Native Client process. The browser will launch |
| 1347 // the process and return a handle to an IMC channel. | 1347 // the process and return a handle to an IMC channel. |
| 1348 IPC_SYNC_MESSAGE_CONTROL2_3(ViewHostMsg_LaunchNaCl, | 1348 IPC_SYNC_MESSAGE_CONTROL2_3(ViewHostMsg_LaunchNaCl, |
| 1349 std::wstring /* url for the NaCl module */, | 1349 std::wstring /* url for the NaCl module */, |
| 1350 int /* channel number */, | 1350 int /* channel number */, |
| 1351 nacl::FileDescriptor /* imc channel handle */, | 1351 nacl::FileDescriptor /* imc channel handle */, |
| 1352 base::ProcessHandle /* NaCl process handle */, | 1352 base::ProcessHandle /* NaCl process handle */, |
| 1353 base::ProcessId /* NaCl process id */) | 1353 base::ProcessId /* NaCl process id */) |
| (...skipping 924 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2278 int /* render_view_id */, | 2278 int /* render_view_id */, |
| 2279 int /* bridge_id */) | 2279 int /* bridge_id */) |
| 2280 | 2280 |
| 2281 // The |render_view_id| and |bridge_id| requests Geolocation service to | 2281 // The |render_view_id| and |bridge_id| requests Geolocation service to |
| 2282 // resume. | 2282 // resume. |
| 2283 IPC_MESSAGE_CONTROL2(ViewHostMsg_Geolocation_Resume, | 2283 IPC_MESSAGE_CONTROL2(ViewHostMsg_Geolocation_Resume, |
| 2284 int /* render_view_id */, | 2284 int /* render_view_id */, |
| 2285 int /* bridge_id */) | 2285 int /* bridge_id */) |
| 2286 | 2286 |
| 2287 IPC_END_MESSAGES(ViewHost) | 2287 IPC_END_MESSAGES(ViewHost) |
| OLD | NEW |