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 message header, no traditional include guard. | 5 // Multiply-included message header, no traditional include guard. |
6 | 6 |
7 #include <stdint.h> | 7 #include <stdint.h> |
8 | 8 |
9 #include <map> | 9 #include <map> |
10 #include <string> | 10 #include <string> |
(...skipping 456 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
467 IPC_STRUCT_TRAITS_MEMBER(display_name) | 467 IPC_STRUCT_TRAITS_MEMBER(display_name) |
468 IPC_STRUCT_TRAITS_MEMBER(mtu) | 468 IPC_STRUCT_TRAITS_MEMBER(mtu) |
469 IPC_STRUCT_TRAITS_END() | 469 IPC_STRUCT_TRAITS_END() |
470 | 470 |
471 // Only whitelisted switches passed through PpapiNaClPluginArgs. | 471 // Only whitelisted switches passed through PpapiNaClPluginArgs. |
472 // The list of switches can be found in: | 472 // The list of switches can be found in: |
473 // components/nacl/browser/nacl_process_host.cc | 473 // components/nacl/browser/nacl_process_host.cc |
474 IPC_STRUCT_TRAITS_BEGIN(ppapi::PpapiNaClPluginArgs) | 474 IPC_STRUCT_TRAITS_BEGIN(ppapi::PpapiNaClPluginArgs) |
475 IPC_STRUCT_TRAITS_MEMBER(off_the_record) | 475 IPC_STRUCT_TRAITS_MEMBER(off_the_record) |
476 IPC_STRUCT_TRAITS_MEMBER(permissions) | 476 IPC_STRUCT_TRAITS_MEMBER(permissions) |
477 IPC_STRUCT_TRAITS_MEMBER(keepalive_throttle_interval_milliseconds) | |
478 IPC_STRUCT_TRAITS_MEMBER(switch_names) | 477 IPC_STRUCT_TRAITS_MEMBER(switch_names) |
479 IPC_STRUCT_TRAITS_MEMBER(switch_values) | 478 IPC_STRUCT_TRAITS_MEMBER(switch_values) |
480 IPC_STRUCT_TRAITS_END() | 479 IPC_STRUCT_TRAITS_END() |
481 | 480 |
482 IPC_STRUCT_TRAITS_BEGIN(PP_AudioProfileDescription) | 481 IPC_STRUCT_TRAITS_BEGIN(PP_AudioProfileDescription) |
483 IPC_STRUCT_TRAITS_MEMBER(profile) | 482 IPC_STRUCT_TRAITS_MEMBER(profile) |
484 IPC_STRUCT_TRAITS_MEMBER(max_channels) | 483 IPC_STRUCT_TRAITS_MEMBER(max_channels) |
485 IPC_STRUCT_TRAITS_MEMBER(sample_size) | 484 IPC_STRUCT_TRAITS_MEMBER(sample_size) |
486 IPC_STRUCT_TRAITS_MEMBER(sample_rate) | 485 IPC_STRUCT_TRAITS_MEMBER(sample_rate) |
487 IPC_STRUCT_TRAITS_MEMBER(hardware_accelerated) | 486 IPC_STRUCT_TRAITS_MEMBER(hardware_accelerated) |
(...skipping 468 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
956 // linker to link the given object files together to produce a nexe | 955 // linker to link the given object files together to produce a nexe |
957 // file, writing the output to the given file handle. | 956 // file, writing the output to the given file handle. |
958 IPC_SYNC_MESSAGE_CONTROL2_1(PpapiMsg_PnaclTranslatorLink, | 957 IPC_SYNC_MESSAGE_CONTROL2_1(PpapiMsg_PnaclTranslatorLink, |
959 /* object file FDs for inputs */ | 958 /* object file FDs for inputs */ |
960 std::vector<ppapi::proxy::SerializedHandle>, | 959 std::vector<ppapi::proxy::SerializedHandle>, |
961 /* nexe file FD for output */ | 960 /* nexe file FD for output */ |
962 ppapi::proxy::SerializedHandle, | 961 ppapi::proxy::SerializedHandle, |
963 /* success status result */ | 962 /* success status result */ |
964 bool) | 963 bool) |
965 | 964 |
966 // Reports to the browser that a plugin has been active. | |
967 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Keepalive) | |
968 | 965 |
969 // ----------------------------------------------------------------------------- | |
970 // These are from the plugin to the renderer. | 966 // These are from the plugin to the renderer. |
971 | 967 |
972 // Reply to PpapiMsg_CreateChannel. The handle will be NULL if the channel | 968 // Reply to PpapiMsg_CreateChannel. The handle will be NULL if the channel |
973 // could not be established. This could be because the IPC could not be created | 969 // could not be established. This could be because the IPC could not be created |
974 // for some weird reason, but more likely that the plugin failed to load or | 970 // for some weird reason, but more likely that the plugin failed to load or |
975 // initialize properly. | 971 // initialize properly. |
976 IPC_MESSAGE_CONTROL1(PpapiHostMsg_ChannelCreated, | 972 IPC_MESSAGE_CONTROL1(PpapiHostMsg_ChannelCreated, |
977 IPC::ChannelHandle /* handle */) | 973 IPC::ChannelHandle /* handle */) |
978 | 974 |
979 // Notify the renderer that the PPAPI channel gets ready in the plugin. | 975 // Notify the renderer that the PPAPI channel gets ready in the plugin. |
(...skipping 1550 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2530 uint32_t /* status */) | 2526 uint32_t /* status */) |
2531 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnError, | 2527 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnError, |
2532 uint32_t /* error */) | 2528 uint32_t /* error */) |
2533 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnBufferReady, | 2529 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnBufferReady, |
2534 uint32_t /* buffer */) | 2530 uint32_t /* buffer */) |
2535 | 2531 |
2536 // Sent by the PPAPI process to indicate that a field trial has been activated. | 2532 // Sent by the PPAPI process to indicate that a field trial has been activated. |
2537 IPC_MESSAGE_CONTROL1(PpapiHostMsg_FieldTrialActivated, std::string /* name */) | 2533 IPC_MESSAGE_CONTROL1(PpapiHostMsg_FieldTrialActivated, std::string /* name */) |
2538 | 2534 |
2539 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) | 2535 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) |
OLD | NEW |