OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 <string> | 6 #include <string> |
7 #include <vector> | 7 #include <vector> |
8 | 8 |
9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
10 #include "base/file_path.h" | 10 #include "base/file_path.h" |
(...skipping 26 matching lines...) Expand all Loading... |
37 #include "ppapi/shared_impl/ppapi_preferences.h" | 37 #include "ppapi/shared_impl/ppapi_preferences.h" |
38 #include "ppapi/shared_impl/url_request_info_impl.h" | 38 #include "ppapi/shared_impl/url_request_info_impl.h" |
39 | 39 |
40 #undef IPC_MESSAGE_EXPORT | 40 #undef IPC_MESSAGE_EXPORT |
41 #define IPC_MESSAGE_EXPORT PPAPI_PROXY_EXPORT | 41 #define IPC_MESSAGE_EXPORT PPAPI_PROXY_EXPORT |
42 | 42 |
43 #define IPC_MESSAGE_START PpapiMsgStart | 43 #define IPC_MESSAGE_START PpapiMsgStart |
44 | 44 |
45 IPC_ENUM_TRAITS(PP_InputEvent_Type) | 45 IPC_ENUM_TRAITS(PP_InputEvent_Type) |
46 IPC_ENUM_TRAITS(PP_InputEvent_MouseButton) | 46 IPC_ENUM_TRAITS(PP_InputEvent_MouseButton) |
| 47 IPC_ENUM_TRAITS(PP_VideoDecoder_Profile) |
47 IPC_ENUM_TRAITS(PP_VideoDecodeError_Dev) | 48 IPC_ENUM_TRAITS(PP_VideoDecodeError_Dev) |
48 | 49 |
49 IPC_STRUCT_TRAITS_BEGIN(PP_Point) | 50 IPC_STRUCT_TRAITS_BEGIN(PP_Point) |
50 IPC_STRUCT_TRAITS_MEMBER(x) | 51 IPC_STRUCT_TRAITS_MEMBER(x) |
51 IPC_STRUCT_TRAITS_MEMBER(y) | 52 IPC_STRUCT_TRAITS_MEMBER(y) |
52 IPC_STRUCT_TRAITS_END() | 53 IPC_STRUCT_TRAITS_END() |
53 | 54 |
54 IPC_STRUCT_TRAITS_BEGIN(PP_FloatPoint) | 55 IPC_STRUCT_TRAITS_BEGIN(PP_FloatPoint) |
55 IPC_STRUCT_TRAITS_MEMBER(x) | 56 IPC_STRUCT_TRAITS_MEMBER(x) |
56 IPC_STRUCT_TRAITS_MEMBER(y) | 57 IPC_STRUCT_TRAITS_MEMBER(y) |
(...skipping 955 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1012 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBVideoCapture_ReuseBuffer, | 1013 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBVideoCapture_ReuseBuffer, |
1013 ppapi::HostResource /* video_capture */, | 1014 ppapi::HostResource /* video_capture */, |
1014 uint32_t /* buffer */) | 1015 uint32_t /* buffer */) |
1015 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBVideoCapture_StopCapture, | 1016 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBVideoCapture_StopCapture, |
1016 ppapi::HostResource /* video_capture */) | 1017 ppapi::HostResource /* video_capture */) |
1017 | 1018 |
1018 // PPB_VideoDecoder. | 1019 // PPB_VideoDecoder. |
1019 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBVideoDecoder_Create, | 1020 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBVideoDecoder_Create, |
1020 PP_Instance /* instance */, | 1021 PP_Instance /* instance */, |
1021 ppapi::HostResource /* context */, | 1022 ppapi::HostResource /* context */, |
1022 std::vector<PP_VideoConfigElement> /* config */, | 1023 PP_VideoDecoder_Profile /* profile */, |
1023 ppapi::HostResource /* result */) | 1024 ppapi::HostResource /* result */) |
1024 IPC_MESSAGE_ROUTED4(PpapiHostMsg_PPBVideoDecoder_Decode, | 1025 IPC_MESSAGE_ROUTED4(PpapiHostMsg_PPBVideoDecoder_Decode, |
1025 ppapi::HostResource /* video_decoder */, | 1026 ppapi::HostResource /* video_decoder */, |
1026 ppapi::HostResource /* bitstream buffer */, | 1027 ppapi::HostResource /* bitstream buffer */, |
1027 int32 /* bitstream buffer id */, | 1028 int32 /* bitstream buffer id */, |
1028 int32 /* size of buffer */) | 1029 int32 /* size of buffer */) |
1029 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBVideoDecoder_AssignPictureBuffers, | 1030 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBVideoDecoder_AssignPictureBuffers, |
1030 ppapi::HostResource /* video_decoder */, | 1031 ppapi::HostResource /* video_decoder */, |
1031 std::vector<PP_PictureBuffer_Dev> /* picture buffers */) | 1032 std::vector<PP_PictureBuffer_Dev> /* picture buffers */) |
1032 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBVideoDecoder_ReusePictureBuffer, | 1033 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBVideoDecoder_ReusePictureBuffer, |
1033 ppapi::HostResource /* video_decoder */, | 1034 ppapi::HostResource /* video_decoder */, |
1034 int32_t /* picture buffer id */) | 1035 int32_t /* picture buffer id */) |
1035 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBVideoDecoder_Flush, | 1036 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBVideoDecoder_Flush, |
1036 ppapi::HostResource /* video_decoder */) | 1037 ppapi::HostResource /* video_decoder */) |
1037 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBVideoDecoder_Reset, | 1038 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBVideoDecoder_Reset, |
1038 ppapi::HostResource /* video_decoder */) | 1039 ppapi::HostResource /* video_decoder */) |
1039 IPC_SYNC_MESSAGE_ROUTED1_0(PpapiHostMsg_PPBVideoDecoder_Destroy, | 1040 IPC_SYNC_MESSAGE_ROUTED1_0(PpapiHostMsg_PPBVideoDecoder_Destroy, |
1040 ppapi::HostResource /* video_decoder */) | 1041 ppapi::HostResource /* video_decoder */) |
OLD | NEW |