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 477 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
488 // a new instance of the Native Client process. The browser will launch | 488 // a new instance of the Native Client process. The browser will launch |
489 // the process and return an IPC channel handle. This handle will only | 489 // the process and return an IPC channel handle. This handle will only |
490 // be valid if the NaCl IPC proxy is enabled. | 490 // be valid if the NaCl IPC proxy is enabled. |
491 IPC_SYNC_MESSAGE_CONTROL2_2(ChromeViewHostMsg_LaunchNaCl, | 491 IPC_SYNC_MESSAGE_CONTROL2_2(ChromeViewHostMsg_LaunchNaCl, |
492 GURL /* manifest_url */, | 492 GURL /* manifest_url */, |
493 int /* socket count */, | 493 int /* socket count */, |
494 std::vector<nacl::FileDescriptor> | 494 std::vector<nacl::FileDescriptor> |
495 /* imc channel handles */, | 495 /* imc channel handles */, |
496 IPC::ChannelHandle /* ipc_channel_handle */) | 496 IPC::ChannelHandle /* ipc_channel_handle */) |
497 | 497 |
498 // A renderer sends this to the browser process when it wants to start | 498 // A renderer sends this to the browser process when it wants to |
499 // open a file for from the Pnacl component directory. | 499 // open a file for from the Pnacl component directory. |
500 IPC_SYNC_MESSAGE_CONTROL1_1(ChromeViewHostMsg_GetReadonlyPnaclFD, | 500 IPC_SYNC_MESSAGE_CONTROL1_1(ChromeViewHostMsg_GetReadonlyPnaclFD, |
501 std::string /* name of requested PNaCl file */, | 501 std::string /* name of requested PNaCl file */, |
502 IPC::PlatformFileForTransit /* output file */) | 502 IPC::PlatformFileForTransit /* output file */) |
503 | 503 |
| 504 // A renderer sends this to the browser process when it wants to |
| 505 // create a temporary file. |
| 506 IPC_SYNC_MESSAGE_CONTROL0_1(ChromeViewHostMsg_NaClCreateTemporaryFile, |
| 507 IPC::PlatformFileForTransit /* out file */) |
| 508 |
504 // Notification that the page has an OpenSearch description document | 509 // Notification that the page has an OpenSearch description document |
505 // associated with it. | 510 // associated with it. |
506 IPC_MESSAGE_ROUTED3(ChromeViewHostMsg_PageHasOSDD, | 511 IPC_MESSAGE_ROUTED3(ChromeViewHostMsg_PageHasOSDD, |
507 int32 /* page_id */, | 512 int32 /* page_id */, |
508 GURL /* url of OS description document */, | 513 GURL /* url of OS description document */, |
509 search_provider::OSDDType) | 514 search_provider::OSDDType) |
510 | 515 |
511 // Find out if the given url's security origin is installed as a search | 516 // Find out if the given url's security origin is installed as a search |
512 // provider. | 517 // provider. |
513 IPC_SYNC_MESSAGE_ROUTED2_1(ChromeViewHostMsg_GetSearchProviderInstallState, | 518 IPC_SYNC_MESSAGE_ROUTED2_1(ChromeViewHostMsg_GetSearchProviderInstallState, |
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
631 // previous SetCookie message to be processed. | 636 // previous SetCookie message to be processed. |
632 IPC_SYNC_MESSAGE_ROUTED2_1(ChromeViewHostMsg_GetCookies, | 637 IPC_SYNC_MESSAGE_ROUTED2_1(ChromeViewHostMsg_GetCookies, |
633 GURL /* url */, | 638 GURL /* url */, |
634 GURL /* first_party_for_cookies */, | 639 GURL /* first_party_for_cookies */, |
635 std::string /* cookies */) | 640 std::string /* cookies */) |
636 | 641 |
637 // Provide the browser process with current renderer framerate. | 642 // Provide the browser process with current renderer framerate. |
638 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_FPS, | 643 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_FPS, |
639 int /* routing id */, | 644 int /* routing id */, |
640 float /* frames per second */) | 645 float /* frames per second */) |
OLD | NEW |