| 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 178 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 189 IPC_STRUCT_TRAITS_MEMBER(autocomplete_match_index) | 189 IPC_STRUCT_TRAITS_MEMBER(autocomplete_match_index) |
| 190 IPC_STRUCT_TRAITS_END() | 190 IPC_STRUCT_TRAITS_END() |
| 191 | 191 |
| 192 IPC_ENUM_TRAITS(SearchMode::Type) | 192 IPC_ENUM_TRAITS(SearchMode::Type) |
| 193 IPC_ENUM_TRAITS(SearchMode::Origin) | 193 IPC_ENUM_TRAITS(SearchMode::Origin) |
| 194 IPC_STRUCT_TRAITS_BEGIN(SearchMode) | 194 IPC_STRUCT_TRAITS_BEGIN(SearchMode) |
| 195 IPC_STRUCT_TRAITS_MEMBER(mode) | 195 IPC_STRUCT_TRAITS_MEMBER(mode) |
| 196 IPC_STRUCT_TRAITS_MEMBER(origin) | 196 IPC_STRUCT_TRAITS_MEMBER(origin) |
| 197 IPC_STRUCT_TRAITS_END() | 197 IPC_STRUCT_TRAITS_END() |
| 198 | 198 |
| 199 IPC_STRUCT_TRAITS_BEGIN(nacl::NaClLaunchParams) | |
| 200 IPC_STRUCT_TRAITS_MEMBER(manifest_url) | |
| 201 IPC_STRUCT_TRAITS_MEMBER(render_view_id) | |
| 202 IPC_STRUCT_TRAITS_MEMBER(permission_bits) | |
| 203 IPC_STRUCT_TRAITS_MEMBER(uses_irt) | |
| 204 IPC_STRUCT_TRAITS_MEMBER(enable_dyncode_syscalls) | |
| 205 IPC_STRUCT_TRAITS_MEMBER(enable_exception_handling) | |
| 206 IPC_STRUCT_TRAITS_END() | |
| 207 | |
| 208 IPC_STRUCT_TRAITS_BEGIN(RendererContentSettingRules) | 199 IPC_STRUCT_TRAITS_BEGIN(RendererContentSettingRules) |
| 209 IPC_STRUCT_TRAITS_MEMBER(image_rules) | 200 IPC_STRUCT_TRAITS_MEMBER(image_rules) |
| 210 IPC_STRUCT_TRAITS_MEMBER(script_rules) | 201 IPC_STRUCT_TRAITS_MEMBER(script_rules) |
| 211 IPC_STRUCT_TRAITS_END() | 202 IPC_STRUCT_TRAITS_END() |
| 212 | 203 |
| 213 IPC_STRUCT_TRAITS_BEGIN(ThemeBackgroundInfo) | 204 IPC_STRUCT_TRAITS_BEGIN(ThemeBackgroundInfo) |
| 214 IPC_STRUCT_TRAITS_MEMBER(color_r) | 205 IPC_STRUCT_TRAITS_MEMBER(color_r) |
| 215 IPC_STRUCT_TRAITS_MEMBER(color_g) | 206 IPC_STRUCT_TRAITS_MEMBER(color_g) |
| 216 IPC_STRUCT_TRAITS_MEMBER(color_b) | 207 IPC_STRUCT_TRAITS_MEMBER(color_b) |
| 217 IPC_STRUCT_TRAITS_MEMBER(color_a) | 208 IPC_STRUCT_TRAITS_MEMBER(color_a) |
| (...skipping 373 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 591 | 582 |
| 592 // Tells the renderer that the NPAPI cannot be used. For example Ash on windows. | 583 // Tells the renderer that the NPAPI cannot be used. For example Ash on windows. |
| 593 IPC_MESSAGE_ROUTED0(ChromeViewMsg_NPAPINotSupported) | 584 IPC_MESSAGE_ROUTED0(ChromeViewMsg_NPAPINotSupported) |
| 594 | 585 |
| 595 // A message for an external host. | 586 // A message for an external host. |
| 596 IPC_MESSAGE_ROUTED3(ChromeViewHostMsg_ForwardMessageToExternalHost, | 587 IPC_MESSAGE_ROUTED3(ChromeViewHostMsg_ForwardMessageToExternalHost, |
| 597 std::string /* message */, | 588 std::string /* message */, |
| 598 std::string /* origin */, | 589 std::string /* origin */, |
| 599 std::string /* target */) | 590 std::string /* target */) |
| 600 | 591 |
| 601 // A renderer sends this to the browser process when it wants to start | |
| 602 // a new instance of the Native Client process. The browser will launch | |
| 603 // the process and return an IPC channel handle. This handle will only | |
| 604 // be valid if the NaCl IPC proxy is enabled. | |
| 605 IPC_SYNC_MESSAGE_CONTROL1_4(ChromeViewHostMsg_LaunchNaCl, | |
| 606 nacl::NaClLaunchParams /* launch_params */, | |
| 607 nacl::FileDescriptor /* imc channel handle */, | |
| 608 IPC::ChannelHandle /* ipc_channel_handle */, | |
| 609 base::ProcessId /* plugin_pid */, | |
| 610 int /* plugin_child_id */) | |
| 611 | |
| 612 // A renderer sends this to the browser process when it wants to | |
| 613 // open a file for from the Pnacl component directory. | |
| 614 IPC_SYNC_MESSAGE_CONTROL1_1(ChromeViewHostMsg_GetReadonlyPnaclFD, | |
| 615 std::string /* name of requested PNaCl file */, | |
| 616 IPC::PlatformFileForTransit /* output file */) | |
| 617 | |
| 618 // A renderer sends this to the browser process when it wants to | |
| 619 // create a temporary file. | |
| 620 IPC_SYNC_MESSAGE_CONTROL0_1(ChromeViewHostMsg_NaClCreateTemporaryFile, | |
| 621 IPC::PlatformFileForTransit /* out file */) | |
| 622 | |
| 623 // A renderer sends this to the browser process to display infobar | |
| 624 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_NaClErrorStatus, | |
| 625 int /* render_view_id */, | |
| 626 int /* Error ID */) | |
| 627 | |
| 628 // A renderer sends this to the browser process when it wants to | |
| 629 // open a NaCl executable file from an installed application directory. | |
| 630 IPC_SYNC_MESSAGE_CONTROL2_3(ChromeViewHostMsg_OpenNaClExecutable, | |
| 631 int /* render_view_id */, | |
| 632 GURL /* URL of NaCl executable file */, | |
| 633 IPC::PlatformFileForTransit /* output file */, | |
| 634 uint64_t /* file_token_lo */, | |
| 635 uint64_t /* file_token_hi */) | |
| 636 | |
| 637 // Notification that the page has an OpenSearch description document | 592 // Notification that the page has an OpenSearch description document |
| 638 // associated with it. | 593 // associated with it. |
| 639 IPC_MESSAGE_ROUTED3(ChromeViewHostMsg_PageHasOSDD, | 594 IPC_MESSAGE_ROUTED3(ChromeViewHostMsg_PageHasOSDD, |
| 640 int32 /* page_id */, | 595 int32 /* page_id */, |
| 641 GURL /* url of OS description document */, | 596 GURL /* url of OS description document */, |
| 642 search_provider::OSDDType) | 597 search_provider::OSDDType) |
| 643 | 598 |
| 644 // Find out if the given url's security origin is installed as a search | 599 // Find out if the given url's security origin is installed as a search |
| 645 // provider. | 600 // provider. |
| 646 IPC_SYNC_MESSAGE_ROUTED2_1(ChromeViewHostMsg_GetSearchProviderInstallState, | 601 IPC_SYNC_MESSAGE_ROUTED2_1(ChromeViewHostMsg_GetSearchProviderInstallState, |
| (...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 780 // previous SetCookie message to be processed. | 735 // previous SetCookie message to be processed. |
| 781 IPC_SYNC_MESSAGE_ROUTED2_1(ChromeViewHostMsg_GetCookies, | 736 IPC_SYNC_MESSAGE_ROUTED2_1(ChromeViewHostMsg_GetCookies, |
| 782 GURL /* url */, | 737 GURL /* url */, |
| 783 GURL /* first_party_for_cookies */, | 738 GURL /* first_party_for_cookies */, |
| 784 std::string /* cookies */) | 739 std::string /* cookies */) |
| 785 | 740 |
| 786 // Provide the browser process with current renderer framerate. | 741 // Provide the browser process with current renderer framerate. |
| 787 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_FPS, | 742 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_FPS, |
| 788 int /* routing id */, | 743 int /* routing id */, |
| 789 float /* frames per second */) | 744 float /* frames per second */) |
| OLD | NEW |