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 |
| 499 // open a file for from the Pnacl component directory. |
| 500 IPC_SYNC_MESSAGE_CONTROL1_1(ChromeViewHostMsg_GetReadonlyPnaclFD, |
| 501 std::string /* name of requested PNaCl file */, |
| 502 IPC::PlatformFileForTransit /* output file */) |
| 503 |
498 // Notification that the page has an OpenSearch description document | 504 // Notification that the page has an OpenSearch description document |
499 // associated with it. | 505 // associated with it. |
500 IPC_MESSAGE_ROUTED3(ChromeViewHostMsg_PageHasOSDD, | 506 IPC_MESSAGE_ROUTED3(ChromeViewHostMsg_PageHasOSDD, |
501 int32 /* page_id */, | 507 int32 /* page_id */, |
502 GURL /* url of OS description document */, | 508 GURL /* url of OS description document */, |
503 search_provider::OSDDType) | 509 search_provider::OSDDType) |
504 | 510 |
505 // Find out if the given url's security origin is installed as a search | 511 // Find out if the given url's security origin is installed as a search |
506 // provider. | 512 // provider. |
507 IPC_SYNC_MESSAGE_ROUTED2_1(ChromeViewHostMsg_GetSearchProviderInstallState, | 513 IPC_SYNC_MESSAGE_ROUTED2_1(ChromeViewHostMsg_GetSearchProviderInstallState, |
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
625 // previous SetCookie message to be processed. | 631 // previous SetCookie message to be processed. |
626 IPC_SYNC_MESSAGE_ROUTED2_1(ChromeViewHostMsg_GetCookies, | 632 IPC_SYNC_MESSAGE_ROUTED2_1(ChromeViewHostMsg_GetCookies, |
627 GURL /* url */, | 633 GURL /* url */, |
628 GURL /* first_party_for_cookies */, | 634 GURL /* first_party_for_cookies */, |
629 std::string /* cookies */) | 635 std::string /* cookies */) |
630 | 636 |
631 // Provide the browser process with current renderer framerate. | 637 // Provide the browser process with current renderer framerate. |
632 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_FPS, | 638 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_FPS, |
633 int /* routing id */, | 639 int /* routing id */, |
634 float /* frames per second */) | 640 float /* frames per second */) |
OLD | NEW |