| 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 479 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 490 // A message for an external host. | 490 // A message for an external host. |
| 491 IPC_MESSAGE_ROUTED3(ChromeViewHostMsg_ForwardMessageToExternalHost, | 491 IPC_MESSAGE_ROUTED3(ChromeViewHostMsg_ForwardMessageToExternalHost, |
| 492 std::string /* message */, | 492 std::string /* message */, |
| 493 std::string /* origin */, | 493 std::string /* origin */, |
| 494 std::string /* target */) | 494 std::string /* target */) |
| 495 | 495 |
| 496 // A renderer sends this to the browser process when it wants to start | 496 // A renderer sends this to the browser process when it wants to start |
| 497 // a new instance of the Native Client process. The browser will launch | 497 // a new instance of the Native Client process. The browser will launch |
| 498 // the process and return an IPC channel handle. This handle will only | 498 // the process and return an IPC channel handle. This handle will only |
| 499 // be valid if the NaCl IPC proxy is enabled. | 499 // be valid if the NaCl IPC proxy is enabled. |
| 500 IPC_SYNC_MESSAGE_CONTROL2_2(ChromeViewHostMsg_LaunchNaCl, | 500 IPC_SYNC_MESSAGE_CONTROL2_3(ChromeViewHostMsg_LaunchNaCl, |
| 501 GURL /* manifest_url */, | 501 GURL /* manifest_url */, |
| 502 int /* socket count */, | 502 int /* socket count */, |
| 503 std::vector<nacl::FileDescriptor> | 503 std::vector<nacl::FileDescriptor> |
| 504 /* imc channel handles */, | 504 /* imc channel handles */, |
| 505 IPC::ChannelHandle /* ipc_channel_handle */) | 505 IPC::ChannelHandle /* ipc_channel_handle */, |
| 506 int /* plugin_child_id */) |
| 506 | 507 |
| 507 // A renderer sends this to the browser process when it wants to | 508 // A renderer sends this to the browser process when it wants to |
| 508 // open a file for from the Pnacl component directory. | 509 // open a file for from the Pnacl component directory. |
| 509 IPC_SYNC_MESSAGE_CONTROL1_1(ChromeViewHostMsg_GetReadonlyPnaclFD, | 510 IPC_SYNC_MESSAGE_CONTROL1_1(ChromeViewHostMsg_GetReadonlyPnaclFD, |
| 510 std::string /* name of requested PNaCl file */, | 511 std::string /* name of requested PNaCl file */, |
| 511 IPC::PlatformFileForTransit /* output file */) | 512 IPC::PlatformFileForTransit /* output file */) |
| 512 | 513 |
| 513 // A renderer sends this to the browser process when it wants to | 514 // A renderer sends this to the browser process when it wants to |
| 514 // create a temporary file. | 515 // create a temporary file. |
| 515 IPC_SYNC_MESSAGE_CONTROL0_1(ChromeViewHostMsg_NaClCreateTemporaryFile, | 516 IPC_SYNC_MESSAGE_CONTROL0_1(ChromeViewHostMsg_NaClCreateTemporaryFile, |
| (...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 647 // previous SetCookie message to be processed. | 648 // previous SetCookie message to be processed. |
| 648 IPC_SYNC_MESSAGE_ROUTED2_1(ChromeViewHostMsg_GetCookies, | 649 IPC_SYNC_MESSAGE_ROUTED2_1(ChromeViewHostMsg_GetCookies, |
| 649 GURL /* url */, | 650 GURL /* url */, |
| 650 GURL /* first_party_for_cookies */, | 651 GURL /* first_party_for_cookies */, |
| 651 std::string /* cookies */) | 652 std::string /* cookies */) |
| 652 | 653 |
| 653 // Provide the browser process with current renderer framerate. | 654 // Provide the browser process with current renderer framerate. |
| 654 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_FPS, | 655 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_FPS, |
| 655 int /* routing id */, | 656 int /* routing id */, |
| 656 float /* frames per second */) | 657 float /* frames per second */) |
| OLD | NEW |