| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 // Multiply-included file, no traditional include guard. | 5 // Multiply-included file, no traditional include guard. |
| 6 #include <map> | 6 #include <map> |
| 7 #include <set> | 7 #include <set> |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 523 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 534 // A message for an external host. | 534 // A message for an external host. |
| 535 IPC_MESSAGE_ROUTED3(ChromeViewHostMsg_ForwardMessageToExternalHost, | 535 IPC_MESSAGE_ROUTED3(ChromeViewHostMsg_ForwardMessageToExternalHost, |
| 536 std::string /* message */, | 536 std::string /* message */, |
| 537 std::string /* origin */, | 537 std::string /* origin */, |
| 538 std::string /* target */) | 538 std::string /* target */) |
| 539 | 539 |
| 540 // A renderer sends this to the browser process when it wants to start | 540 // A renderer sends this to the browser process when it wants to start |
| 541 // a new instance of the Native Client process. The browser will launch | 541 // a new instance of the Native Client process. The browser will launch |
| 542 // the process and return an IPC channel handle. This handle will only | 542 // the process and return an IPC channel handle. This handle will only |
| 543 // be valid if the NaCl IPC proxy is enabled. | 543 // be valid if the NaCl IPC proxy is enabled. |
| 544 IPC_SYNC_MESSAGE_CONTROL4_3(ChromeViewHostMsg_LaunchNaCl, | 544 IPC_SYNC_MESSAGE_CONTROL4_4(ChromeViewHostMsg_LaunchNaCl, |
| 545 GURL /* manifest_url */, | 545 GURL /* manifest_url */, |
| 546 int /* render_view_id */, | 546 int /* render_view_id */, |
| 547 uint32 /* permission_bits */, | 547 uint32 /* permission_bits */, |
| 548 int /* socket count */, | 548 int /* socket count */, |
| 549 std::vector<nacl::FileDescriptor> | 549 std::vector<nacl::FileDescriptor> |
| 550 /* imc channel handles */, | 550 /* imc channel handles */, |
| 551 IPC::ChannelHandle /* ipc_channel_handle */, | 551 IPC::ChannelHandle /* ipc_channel_handle */, |
| 552 base::ProcessId /* plugin_pid */, |
| 552 int /* plugin_child_id */) | 553 int /* plugin_child_id */) |
| 553 | 554 |
| 554 // A renderer sends this to the browser process when it wants to | 555 // A renderer sends this to the browser process when it wants to |
| 555 // open a file for from the Pnacl component directory. | 556 // open a file for from the Pnacl component directory. |
| 556 IPC_SYNC_MESSAGE_CONTROL1_1(ChromeViewHostMsg_GetReadonlyPnaclFD, | 557 IPC_SYNC_MESSAGE_CONTROL1_1(ChromeViewHostMsg_GetReadonlyPnaclFD, |
| 557 std::string /* name of requested PNaCl file */, | 558 std::string /* name of requested PNaCl file */, |
| 558 IPC::PlatformFileForTransit /* output file */) | 559 IPC::PlatformFileForTransit /* output file */) |
| 559 | 560 |
| 560 // A renderer sends this to the browser process when it wants to | 561 // A renderer sends this to the browser process when it wants to |
| 561 // create a temporary file. | 562 // create a temporary file. |
| (...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 712 // previous SetCookie message to be processed. | 713 // previous SetCookie message to be processed. |
| 713 IPC_SYNC_MESSAGE_ROUTED2_1(ChromeViewHostMsg_GetCookies, | 714 IPC_SYNC_MESSAGE_ROUTED2_1(ChromeViewHostMsg_GetCookies, |
| 714 GURL /* url */, | 715 GURL /* url */, |
| 715 GURL /* first_party_for_cookies */, | 716 GURL /* first_party_for_cookies */, |
| 716 std::string /* cookies */) | 717 std::string /* cookies */) |
| 717 | 718 |
| 718 // Provide the browser process with current renderer framerate. | 719 // Provide the browser process with current renderer framerate. |
| 719 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_FPS, | 720 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_FPS, |
| 720 int /* routing id */, | 721 int /* routing id */, |
| 721 float /* frames per second */) | 722 float /* frames per second */) |
| OLD | NEW |