Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(56)

Side by Side Diff: chrome/common/render_messages_internal.h

Issue 2832093: NaCl: Allow setting up multiple sockets for subprocess instead of just one (Closed) Base URL: git://codf21.jail/chromium.git
Patch Set: Whitespace fixes Created 10 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 1390 matching lines...) Expand 10 before | Expand all | Expand 10 after
1401 // A renderer sends this to the browser process to provide a synchronization 1401 // A renderer sends this to the browser process to provide a synchronization
1402 // point for GPU operations, in particular to make sure the GPU channel has 1402 // point for GPU operations, in particular to make sure the GPU channel has
1403 // been established. 1403 // been established.
1404 IPC_SYNC_MESSAGE_CONTROL0_0(ViewHostMsg_SynchronizeGpu) 1404 IPC_SYNC_MESSAGE_CONTROL0_0(ViewHostMsg_SynchronizeGpu)
1405 1405
1406 // A renderer sends this to the browser process when it wants to start 1406 // A renderer sends this to the browser process when it wants to start
1407 // a new instance of the Native Client process. The browser will launch 1407 // a new instance of the Native Client process. The browser will launch
1408 // the process and return a handle to an IMC channel. 1408 // the process and return a handle to an IMC channel.
1409 IPC_SYNC_MESSAGE_CONTROL2_3(ViewHostMsg_LaunchNaCl, 1409 IPC_SYNC_MESSAGE_CONTROL2_3(ViewHostMsg_LaunchNaCl,
1410 std::wstring /* url for the NaCl module */, 1410 std::wstring /* url for the NaCl module */,
1411 int /* channel number */, 1411 int /* socket count */,
1412 nacl::FileDescriptor /* imc channel handle */, 1412 std::vector<nacl::FileDescriptor>
1413 /* imc channel handles */,
1413 base::ProcessHandle /* NaCl process handle */, 1414 base::ProcessHandle /* NaCl process handle */,
1414 base::ProcessId /* NaCl process id */) 1415 base::ProcessId /* NaCl process id */)
1415 1416
1416 #if defined(USE_X11) 1417 #if defined(USE_X11)
1417 // A renderer sends this when it needs a browser-side widget for 1418 // A renderer sends this when it needs a browser-side widget for
1418 // hosting a windowed plugin. id is the XID of the plugin window, for which 1419 // hosting a windowed plugin. id is the XID of the plugin window, for which
1419 // the container is created. 1420 // the container is created.
1420 IPC_SYNC_MESSAGE_ROUTED1_0(ViewHostMsg_CreatePluginContainer, 1421 IPC_SYNC_MESSAGE_ROUTED1_0(ViewHostMsg_CreatePluginContainer,
1421 gfx::PluginWindowHandle /* id */) 1422 gfx::PluginWindowHandle /* id */)
1422 1423
(...skipping 1106 matching lines...) Expand 10 before | Expand all | Expand 10 after
2529 // Send the tree of accessibility data to the browser, where it's cached 2530 // Send the tree of accessibility data to the browser, where it's cached
2530 // in order to respond to OS accessibility queries immediately. 2531 // in order to respond to OS accessibility queries immediately.
2531 IPC_MESSAGE_ROUTED1(ViewHostMsg_AccessibilityTree, 2532 IPC_MESSAGE_ROUTED1(ViewHostMsg_AccessibilityTree,
2532 webkit_glue::WebAccessibility) 2533 webkit_glue::WebAccessibility)
2533 2534
2534 // Notifies the TabContents that the content being displayed is PDF. 2535 // Notifies the TabContents that the content being displayed is PDF.
2535 // This allows the browser to handle things such as zooming differently. 2536 // This allows the browser to handle things such as zooming differently.
2536 IPC_MESSAGE_ROUTED0(ViewHostMsg_SetDisplayingPDFContent) 2537 IPC_MESSAGE_ROUTED0(ViewHostMsg_SetDisplayingPDFContent)
2537 2538
2538 IPC_END_MESSAGES(ViewHost) 2539 IPC_END_MESSAGES(ViewHost)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698