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 #include <map> | 6 #include <map> |
7 #include <string> | 7 #include <string> |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
122 IPC_ENUM_TRAITS(PP_TrueTypeFontStyle_Dev) | 122 IPC_ENUM_TRAITS(PP_TrueTypeFontStyle_Dev) |
123 IPC_ENUM_TRAITS(PP_TrueTypeFontWeight_Dev) | 123 IPC_ENUM_TRAITS(PP_TrueTypeFontWeight_Dev) |
124 IPC_ENUM_TRAITS(PP_TrueTypeFontWidth_Dev) | 124 IPC_ENUM_TRAITS(PP_TrueTypeFontWidth_Dev) |
125 IPC_ENUM_TRAITS(PP_TrueTypeFontCharset_Dev) | 125 IPC_ENUM_TRAITS(PP_TrueTypeFontCharset_Dev) |
126 IPC_ENUM_TRAITS_MAX_VALUE(PP_UDPSocket_Option, | 126 IPC_ENUM_TRAITS_MAX_VALUE(PP_UDPSocket_Option, |
127 PP_UDPSOCKET_OPTION_MULTICAST_TTL) | 127 PP_UDPSOCKET_OPTION_MULTICAST_TTL) |
128 IPC_ENUM_TRAITS(PP_VideoDecodeError_Dev) | 128 IPC_ENUM_TRAITS(PP_VideoDecodeError_Dev) |
129 IPC_ENUM_TRAITS(PP_VideoDecoder_Profile) | 129 IPC_ENUM_TRAITS(PP_VideoDecoder_Profile) |
130 IPC_ENUM_TRAITS_MAX_VALUE(PP_VideoFrame_Format, PP_VIDEOFRAME_FORMAT_LAST) | 130 IPC_ENUM_TRAITS_MAX_VALUE(PP_VideoFrame_Format, PP_VIDEOFRAME_FORMAT_LAST) |
131 IPC_ENUM_TRAITS_MAX_VALUE(PP_HardwareAcceleration, PP_HARDWAREACCELERATION_LAST) | 131 IPC_ENUM_TRAITS_MAX_VALUE(PP_HardwareAcceleration, PP_HARDWAREACCELERATION_LAST) |
132 IPC_ENUM_TRAITS_MAX_VALUE(PP_AudioProfile, PP_AUDIOPROFILE_MAX) | |
132 IPC_ENUM_TRAITS_MAX_VALUE(PP_VideoProfile, PP_VIDEOPROFILE_MAX) | 133 IPC_ENUM_TRAITS_MAX_VALUE(PP_VideoProfile, PP_VIDEOPROFILE_MAX) |
133 | 134 |
134 IPC_STRUCT_TRAITS_BEGIN(PP_Point) | 135 IPC_STRUCT_TRAITS_BEGIN(PP_Point) |
135 IPC_STRUCT_TRAITS_MEMBER(x) | 136 IPC_STRUCT_TRAITS_MEMBER(x) |
136 IPC_STRUCT_TRAITS_MEMBER(y) | 137 IPC_STRUCT_TRAITS_MEMBER(y) |
137 IPC_STRUCT_TRAITS_END() | 138 IPC_STRUCT_TRAITS_END() |
138 | 139 |
139 IPC_STRUCT_TRAITS_BEGIN(PP_FloatPoint) | 140 IPC_STRUCT_TRAITS_BEGIN(PP_FloatPoint) |
140 IPC_STRUCT_TRAITS_MEMBER(x) | 141 IPC_STRUCT_TRAITS_MEMBER(x) |
141 IPC_STRUCT_TRAITS_MEMBER(y) | 142 IPC_STRUCT_TRAITS_MEMBER(y) |
(...skipping 292 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
434 // The list of switches can be found in: | 435 // The list of switches can be found in: |
435 // components/nacl/browser/nacl_process_host.cc | 436 // components/nacl/browser/nacl_process_host.cc |
436 IPC_STRUCT_TRAITS_BEGIN(ppapi::PpapiNaClPluginArgs) | 437 IPC_STRUCT_TRAITS_BEGIN(ppapi::PpapiNaClPluginArgs) |
437 IPC_STRUCT_TRAITS_MEMBER(off_the_record) | 438 IPC_STRUCT_TRAITS_MEMBER(off_the_record) |
438 IPC_STRUCT_TRAITS_MEMBER(permissions) | 439 IPC_STRUCT_TRAITS_MEMBER(permissions) |
439 IPC_STRUCT_TRAITS_MEMBER(keepalive_throttle_interval_milliseconds) | 440 IPC_STRUCT_TRAITS_MEMBER(keepalive_throttle_interval_milliseconds) |
440 IPC_STRUCT_TRAITS_MEMBER(switch_names) | 441 IPC_STRUCT_TRAITS_MEMBER(switch_names) |
441 IPC_STRUCT_TRAITS_MEMBER(switch_values) | 442 IPC_STRUCT_TRAITS_MEMBER(switch_values) |
442 IPC_STRUCT_TRAITS_END() | 443 IPC_STRUCT_TRAITS_END() |
443 | 444 |
445 IPC_STRUCT_TRAITS_BEGIN(PP_AudioProfileDescription) | |
446 IPC_STRUCT_TRAITS_MEMBER(profile) | |
447 IPC_STRUCT_TRAITS_MEMBER(max_channels) | |
448 IPC_STRUCT_TRAITS_MEMBER(sample_size) | |
449 IPC_STRUCT_TRAITS_MEMBER(sample_rate) | |
450 IPC_STRUCT_TRAITS_MEMBER(hardware_accelerated) | |
451 IPC_STRUCT_TRAITS_END() | |
452 | |
444 IPC_STRUCT_TRAITS_BEGIN(PP_VideoProfileDescription) | 453 IPC_STRUCT_TRAITS_BEGIN(PP_VideoProfileDescription) |
445 IPC_STRUCT_TRAITS_MEMBER(profile) | 454 IPC_STRUCT_TRAITS_MEMBER(profile) |
446 IPC_STRUCT_TRAITS_MEMBER(max_resolution) | 455 IPC_STRUCT_TRAITS_MEMBER(max_resolution) |
447 IPC_STRUCT_TRAITS_MEMBER(max_framerate_numerator) | 456 IPC_STRUCT_TRAITS_MEMBER(max_framerate_numerator) |
448 IPC_STRUCT_TRAITS_MEMBER(max_framerate_denominator) | 457 IPC_STRUCT_TRAITS_MEMBER(max_framerate_denominator) |
449 IPC_STRUCT_TRAITS_MEMBER(hardware_accelerated) | 458 IPC_STRUCT_TRAITS_MEMBER(hardware_accelerated) |
450 IPC_STRUCT_TRAITS_END() | 459 IPC_STRUCT_TRAITS_END() |
451 | 460 |
461 IPC_STRUCT_TRAITS_BEGIN(ppapi::proxy::PPB_AudioEncodeParameters) | |
462 IPC_STRUCT_TRAITS_MEMBER(channels) | |
463 IPC_STRUCT_TRAITS_MEMBER(input_sample_rate) | |
464 IPC_STRUCT_TRAITS_MEMBER(input_sample_size) | |
465 IPC_STRUCT_TRAITS_MEMBER(output_profile) | |
466 IPC_STRUCT_TRAITS_MEMBER(initial_bitrate) | |
467 IPC_STRUCT_TRAITS_MEMBER(acceleration) | |
468 IPC_STRUCT_TRAITS_END() | |
469 | |
452 #if !defined(OS_NACL) && !defined(NACL_WIN64) | 470 #if !defined(OS_NACL) && !defined(NACL_WIN64) |
453 | 471 |
454 IPC_STRUCT_TRAITS_BEGIN(ppapi::proxy::PPPDecryptor_Buffer) | 472 IPC_STRUCT_TRAITS_BEGIN(ppapi::proxy::PPPDecryptor_Buffer) |
455 IPC_STRUCT_TRAITS_MEMBER(resource) | 473 IPC_STRUCT_TRAITS_MEMBER(resource) |
456 IPC_STRUCT_TRAITS_MEMBER(handle) | 474 IPC_STRUCT_TRAITS_MEMBER(handle) |
457 IPC_STRUCT_TRAITS_MEMBER(size) | 475 IPC_STRUCT_TRAITS_MEMBER(size) |
458 IPC_STRUCT_TRAITS_END() | 476 IPC_STRUCT_TRAITS_END() |
459 | 477 |
460 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) | 478 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) |
461 | 479 |
(...skipping 420 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
882 // PPB_Audio. | 900 // PPB_Audio. |
883 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBAudio_Create, | 901 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBAudio_Create, |
884 PP_Instance /* instance_id */, | 902 PP_Instance /* instance_id */, |
885 int32_t /* sample_rate */, | 903 int32_t /* sample_rate */, |
886 uint32_t /* sample_frame_count */, | 904 uint32_t /* sample_frame_count */, |
887 ppapi::HostResource /* result */) | 905 ppapi::HostResource /* result */) |
888 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBAudio_StartOrStop, | 906 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBAudio_StartOrStop, |
889 ppapi::HostResource /* audio_id */, | 907 ppapi::HostResource /* audio_id */, |
890 bool /* play */) | 908 bool /* play */) |
891 | 909 |
910 // PPB_AudioEncoder | |
911 IPC_MESSAGE_CONTROL0(PpapiHostMsg_AudioEncoder_Create) | |
912 IPC_MESSAGE_CONTROL0(PpapiHostMsg_AudioEncoder_GetSupportedProfiles) | |
913 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_AudioEncoder_GetSupportedProfilesReply, | |
914 std::vector<PP_AudioProfileDescription> /* results */) | |
915 IPC_MESSAGE_CONTROL1(PpapiHostMsg_AudioEncoder_Initialize, | |
916 ppapi::proxy::PPB_AudioEncodeParameters /* parameters */) | |
917 IPC_MESSAGE_CONTROL3(PpapiPluginMsg_AudioEncoder_InitializeReply, | |
918 uint32_t /* number_of_samples */, | |
919 uint32_t /* buffer_count */, | |
920 uint32_t /* buffer_size */) | |
921 IPC_MESSAGE_CONTROL0(PpapiHostMsg_AudioEncoder_GetAudioFrames) | |
bbudge
2015/10/06 00:54:25
The IDL for PPB_AudioEncoder talks about audio buf
llandwerlin-old
2015/10/06 10:28:57
Done.
| |
922 IPC_MESSAGE_CONTROL2(PpapiPluginMsg_AudioEncoder_GetAudioFramesReply, | |
923 uint32_t /* frame_count */, | |
924 uint32_t /* frame_length */) | |
925 IPC_MESSAGE_CONTROL1(PpapiHostMsg_AudioEncoder_Encode, uint32_t /* buffer_id */) | |
926 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_AudioEncoder_EncodeReply, | |
927 uint32_t /* buffer_id */) | |
928 IPC_MESSAGE_CONTROL2(PpapiPluginMsg_AudioEncoder_BitstreamBufferReady, | |
929 uint32_t /* buffer_id */, | |
930 uint32_t /* buffer_size */) | |
931 IPC_MESSAGE_CONTROL1(PpapiHostMsg_AudioEncoder_RecycleBitstreamBuffer, | |
932 uint32_t /* buffer_id */) | |
933 IPC_MESSAGE_CONTROL1(PpapiHostMsg_AudioEncoder_RequestBitrateChange, | |
934 uint32_t /* bitrate */) | |
935 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_AudioEncoder_NotifyError, | |
936 int32_t /* error */) | |
937 IPC_MESSAGE_CONTROL0(PpapiHostMsg_AudioEncoder_Close) | |
938 | |
892 // PPB_Core. | 939 // PPB_Core. |
893 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBCore_AddRefResource, | 940 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBCore_AddRefResource, |
894 ppapi::HostResource) | 941 ppapi::HostResource) |
895 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBCore_ReleaseResource, | 942 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBCore_ReleaseResource, |
896 ppapi::HostResource) | 943 ppapi::HostResource) |
897 | 944 |
898 // PPB_Graphics3D. | 945 // PPB_Graphics3D. |
899 IPC_SYNC_MESSAGE_ROUTED3_4(PpapiHostMsg_PPBGraphics3D_Create, | 946 IPC_SYNC_MESSAGE_ROUTED3_4(PpapiHostMsg_PPBGraphics3D_Create, |
900 PP_Instance /* instance */, | 947 PP_Instance /* instance */, |
901 ppapi::HostResource /* share_context */, | 948 ppapi::HostResource /* share_context */, |
(...skipping 1423 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
2325 std::vector<ppapi::HostResource> /* buffers */, | 2372 std::vector<ppapi::HostResource> /* buffers */, |
2326 uint32_t /* buffer_size */) | 2373 uint32_t /* buffer_size */) |
2327 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnStatus, | 2374 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnStatus, |
2328 uint32_t /* status */) | 2375 uint32_t /* status */) |
2329 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnError, | 2376 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnError, |
2330 uint32_t /* error */) | 2377 uint32_t /* error */) |
2331 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnBufferReady, | 2378 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnBufferReady, |
2332 uint32_t /* buffer */) | 2379 uint32_t /* buffer */) |
2333 | 2380 |
2334 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) | 2381 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) |
OLD | NEW |