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 1324 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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_CONTROL0(ViewHostMsg_EstablishGpuChannel) | 1343 IPC_MESSAGE_CONTROL0(ViewHostMsg_EstablishGpuChannel) |
1344 | 1344 |
| 1345 // A renderer sends this to the browser process to provide a synchronization |
| 1346 // point for GPU operations, in particular to make sure the GPU channel has |
| 1347 // been established. |
| 1348 IPC_SYNC_MESSAGE_CONTROL0_0(ViewHostMsg_SynchronizeGpu) |
| 1349 |
1345 // A renderer sends this to the browser process when it wants to start | 1350 // 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 | 1351 // a new instance of the Native Client process. The browser will launch |
1347 // the process and return a handle to an IMC channel. | 1352 // the process and return a handle to an IMC channel. |
1348 IPC_SYNC_MESSAGE_CONTROL2_3(ViewHostMsg_LaunchNaCl, | 1353 IPC_SYNC_MESSAGE_CONTROL2_3(ViewHostMsg_LaunchNaCl, |
1349 std::wstring /* url for the NaCl module */, | 1354 std::wstring /* url for the NaCl module */, |
1350 int /* channel number */, | 1355 int /* channel number */, |
1351 nacl::FileDescriptor /* imc channel handle */, | 1356 nacl::FileDescriptor /* imc channel handle */, |
1352 base::ProcessHandle /* NaCl process handle */, | 1357 base::ProcessHandle /* NaCl process handle */, |
1353 base::ProcessId /* NaCl process id */) | 1358 base::ProcessId /* NaCl process id */) |
1354 | 1359 |
(...skipping 923 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2278 int /* render_view_id */, | 2283 int /* render_view_id */, |
2279 int /* bridge_id */) | 2284 int /* bridge_id */) |
2280 | 2285 |
2281 // The |render_view_id| and |bridge_id| requests Geolocation service to | 2286 // The |render_view_id| and |bridge_id| requests Geolocation service to |
2282 // resume. | 2287 // resume. |
2283 IPC_MESSAGE_CONTROL2(ViewHostMsg_Geolocation_Resume, | 2288 IPC_MESSAGE_CONTROL2(ViewHostMsg_Geolocation_Resume, |
2284 int /* render_view_id */, | 2289 int /* render_view_id */, |
2285 int /* bridge_id */) | 2290 int /* bridge_id */) |
2286 | 2291 |
2287 IPC_END_MESSAGES(ViewHost) | 2292 IPC_END_MESSAGES(ViewHost) |
OLD | NEW |