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 <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/files/file_path.h" | 10 #include "base/files/file_path.h" |
(...skipping 17 matching lines...) Expand all Loading... |
28 #include "ppapi/c/pp_bool.h" | 28 #include "ppapi/c/pp_bool.h" |
29 #include "ppapi/c/pp_file_info.h" | 29 #include "ppapi/c/pp_file_info.h" |
30 #include "ppapi/c/pp_instance.h" | 30 #include "ppapi/c/pp_instance.h" |
31 #include "ppapi/c/pp_module.h" | 31 #include "ppapi/c/pp_module.h" |
32 #include "ppapi/c/pp_point.h" | 32 #include "ppapi/c/pp_point.h" |
33 #include "ppapi/c/pp_rect.h" | 33 #include "ppapi/c/pp_rect.h" |
34 #include "ppapi/c/pp_resource.h" | 34 #include "ppapi/c/pp_resource.h" |
35 #include "ppapi/c/pp_size.h" | 35 #include "ppapi/c/pp_size.h" |
36 #include "ppapi/c/pp_time.h" | 36 #include "ppapi/c/pp_time.h" |
37 #include "ppapi/c/ppb_audio_config.h" | 37 #include "ppapi/c/ppb_audio_config.h" |
| 38 #include "ppapi/c/ppb_image_data.h" |
38 #include "ppapi/c/private/pp_content_decryptor.h" | 39 #include "ppapi/c/private/pp_content_decryptor.h" |
39 #include "ppapi/c/private/pp_private_font_charset.h" | 40 #include "ppapi/c/private/pp_private_font_charset.h" |
40 #include "ppapi/c/private/ppb_flash.h" | 41 #include "ppapi/c/private/ppb_flash.h" |
41 #include "ppapi/c/private/ppb_host_resolver_private.h" | 42 #include "ppapi/c/private/ppb_host_resolver_private.h" |
42 #include "ppapi/c/private/ppb_net_address_private.h" | 43 #include "ppapi/c/private/ppb_net_address_private.h" |
43 #include "ppapi/c/private/ppb_pdf.h" | 44 #include "ppapi/c/private/ppb_pdf.h" |
44 #include "ppapi/c/private/ppb_tcp_socket_private.h" | 45 #include "ppapi/c/private/ppb_tcp_socket_private.h" |
45 #include "ppapi/c/private/ppb_udp_socket_private.h" | 46 #include "ppapi/c/private/ppb_udp_socket_private.h" |
46 #include "ppapi/c/private/ppp_flash_browser_operations.h" | 47 #include "ppapi/c/private/ppp_flash_browser_operations.h" |
47 #include "ppapi/proxy/host_resolver_private_resource.h" | 48 #include "ppapi/proxy/host_resolver_private_resource.h" |
(...skipping 23 matching lines...) Expand all Loading... |
71 #define IPC_MESSAGE_START PpapiMsgStart | 72 #define IPC_MESSAGE_START PpapiMsgStart |
72 | 73 |
73 IPC_ENUM_TRAITS(PP_AudioSampleRate) | 74 IPC_ENUM_TRAITS(PP_AudioSampleRate) |
74 IPC_ENUM_TRAITS(PP_DeviceType_Dev) | 75 IPC_ENUM_TRAITS(PP_DeviceType_Dev) |
75 IPC_ENUM_TRAITS(PP_DecryptorStreamType) | 76 IPC_ENUM_TRAITS(PP_DecryptorStreamType) |
76 IPC_ENUM_TRAITS(PP_FileSystemType) | 77 IPC_ENUM_TRAITS(PP_FileSystemType) |
77 IPC_ENUM_TRAITS(PP_FileType) | 78 IPC_ENUM_TRAITS(PP_FileType) |
78 IPC_ENUM_TRAITS(PP_Flash_BrowserOperations_Permission) | 79 IPC_ENUM_TRAITS(PP_Flash_BrowserOperations_Permission) |
79 IPC_ENUM_TRAITS(PP_Flash_BrowserOperations_SettingType) | 80 IPC_ENUM_TRAITS(PP_Flash_BrowserOperations_SettingType) |
80 IPC_ENUM_TRAITS(PP_FlashSetting) | 81 IPC_ENUM_TRAITS(PP_FlashSetting) |
| 82 IPC_ENUM_TRAITS(PP_ImageDataFormat) |
81 IPC_ENUM_TRAITS(PP_InputEvent_MouseButton) | 83 IPC_ENUM_TRAITS(PP_InputEvent_MouseButton) |
82 IPC_ENUM_TRAITS(PP_InputEvent_Type) | 84 IPC_ENUM_TRAITS(PP_InputEvent_Type) |
83 IPC_ENUM_TRAITS(PP_NetAddressFamily_Private) | 85 IPC_ENUM_TRAITS(PP_NetAddressFamily_Private) |
84 IPC_ENUM_TRAITS(PP_NetworkListState_Private) | 86 IPC_ENUM_TRAITS(PP_NetworkListState_Private) |
85 IPC_ENUM_TRAITS(PP_NetworkListType_Private) | 87 IPC_ENUM_TRAITS(PP_NetworkListType_Private) |
86 IPC_ENUM_TRAITS(PP_PrintOrientation_Dev) | 88 IPC_ENUM_TRAITS(PP_PrintOrientation_Dev) |
87 IPC_ENUM_TRAITS(PP_PrintOutputFormat_Dev) | 89 IPC_ENUM_TRAITS(PP_PrintOutputFormat_Dev) |
88 IPC_ENUM_TRAITS(PP_PrintScalingOption_Dev) | 90 IPC_ENUM_TRAITS(PP_PrintScalingOption_Dev) |
89 IPC_ENUM_TRAITS(PP_PrivateFontCharset) | 91 IPC_ENUM_TRAITS(PP_PrivateFontCharset) |
90 IPC_ENUM_TRAITS(PP_ResourceImage) | 92 IPC_ENUM_TRAITS(PP_ResourceImage) |
(...skipping 20 matching lines...) Expand all Loading... |
111 IPC_STRUCT_TRAITS_BEGIN(PP_Size) | 113 IPC_STRUCT_TRAITS_BEGIN(PP_Size) |
112 IPC_STRUCT_TRAITS_MEMBER(height) | 114 IPC_STRUCT_TRAITS_MEMBER(height) |
113 IPC_STRUCT_TRAITS_MEMBER(width) | 115 IPC_STRUCT_TRAITS_MEMBER(width) |
114 IPC_STRUCT_TRAITS_END() | 116 IPC_STRUCT_TRAITS_END() |
115 | 117 |
116 IPC_STRUCT_TRAITS_BEGIN(PP_Rect) | 118 IPC_STRUCT_TRAITS_BEGIN(PP_Rect) |
117 IPC_STRUCT_TRAITS_MEMBER(point) | 119 IPC_STRUCT_TRAITS_MEMBER(point) |
118 IPC_STRUCT_TRAITS_MEMBER(size) | 120 IPC_STRUCT_TRAITS_MEMBER(size) |
119 IPC_STRUCT_TRAITS_END() | 121 IPC_STRUCT_TRAITS_END() |
120 | 122 |
| 123 IPC_STRUCT_TRAITS_BEGIN(PP_ImageDataDesc) |
| 124 IPC_STRUCT_TRAITS_MEMBER(format) |
| 125 IPC_STRUCT_TRAITS_MEMBER(size) |
| 126 IPC_STRUCT_TRAITS_MEMBER(stride) |
| 127 IPC_STRUCT_TRAITS_END() |
| 128 |
121 IPC_STRUCT_TRAITS_BEGIN(PP_PictureBuffer_Dev) | 129 IPC_STRUCT_TRAITS_BEGIN(PP_PictureBuffer_Dev) |
122 IPC_STRUCT_TRAITS_MEMBER(id) | 130 IPC_STRUCT_TRAITS_MEMBER(id) |
123 IPC_STRUCT_TRAITS_MEMBER(size) | 131 IPC_STRUCT_TRAITS_MEMBER(size) |
124 IPC_STRUCT_TRAITS_MEMBER(texture_id) | 132 IPC_STRUCT_TRAITS_MEMBER(texture_id) |
125 IPC_STRUCT_TRAITS_END() | 133 IPC_STRUCT_TRAITS_END() |
126 | 134 |
127 IPC_STRUCT_TRAITS_BEGIN(PP_Picture_Dev) | 135 IPC_STRUCT_TRAITS_BEGIN(PP_Picture_Dev) |
128 IPC_STRUCT_TRAITS_MEMBER(picture_buffer_id) | 136 IPC_STRUCT_TRAITS_MEMBER(picture_buffer_id) |
129 IPC_STRUCT_TRAITS_MEMBER(bitstream_buffer_id) | 137 IPC_STRUCT_TRAITS_MEMBER(bitstream_buffer_id) |
130 IPC_STRUCT_TRAITS_END() | 138 IPC_STRUCT_TRAITS_END() |
(...skipping 1732 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1863 ppapi::HostResource /* image_data */, | 1871 ppapi::HostResource /* image_data */, |
1864 PP_TimeTicks /* timestamp */) | 1872 PP_TimeTicks /* timestamp */) |
1865 IPC_MESSAGE_CONTROL0(PpapiHostMsg_VideoDestination_Close) | 1873 IPC_MESSAGE_CONTROL0(PpapiHostMsg_VideoDestination_Close) |
1866 | 1874 |
1867 // VideoSource Private. | 1875 // VideoSource Private. |
1868 IPC_MESSAGE_CONTROL0(PpapiHostMsg_VideoSource_Create) | 1876 IPC_MESSAGE_CONTROL0(PpapiHostMsg_VideoSource_Create) |
1869 IPC_MESSAGE_CONTROL1(PpapiHostMsg_VideoSource_Open, | 1877 IPC_MESSAGE_CONTROL1(PpapiHostMsg_VideoSource_Open, |
1870 std::string /* stream_url */) | 1878 std::string /* stream_url */) |
1871 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_VideoSource_OpenReply) | 1879 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_VideoSource_OpenReply) |
1872 IPC_MESSAGE_CONTROL0(PpapiHostMsg_VideoSource_GetFrame) | 1880 IPC_MESSAGE_CONTROL0(PpapiHostMsg_VideoSource_GetFrame) |
1873 IPC_MESSAGE_CONTROL2(PpapiPluginMsg_VideoSource_GetFrameReply, | 1881 IPC_MESSAGE_CONTROL4(PpapiPluginMsg_VideoSource_GetFrameReply, |
1874 ppapi::HostResource /* image_data */, | 1882 ppapi::HostResource /* resource_id */, |
| 1883 PP_ImageDataDesc /* image_data_desc */, |
| 1884 int /* fd */, |
1875 PP_TimeTicks /* timestamp */) | 1885 PP_TimeTicks /* timestamp */) |
1876 IPC_MESSAGE_CONTROL0(PpapiHostMsg_VideoSource_Close) | 1886 IPC_MESSAGE_CONTROL0(PpapiHostMsg_VideoSource_Close) |
1877 | 1887 |
1878 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) | 1888 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) |
OLD | NEW |