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 28 matching lines...) Expand all Loading... |
39 #include "ppapi/c/private/pp_content_decryptor.h" | 39 #include "ppapi/c/private/pp_content_decryptor.h" |
40 #include "ppapi/c/private/pp_private_font_charset.h" | 40 #include "ppapi/c/private/pp_private_font_charset.h" |
41 #include "ppapi/c/private/ppb_flash.h" | 41 #include "ppapi/c/private/ppb_flash.h" |
42 #include "ppapi/c/private/ppb_host_resolver_private.h" | 42 #include "ppapi/c/private/ppb_host_resolver_private.h" |
43 #include "ppapi/c/private/ppb_net_address_private.h" | 43 #include "ppapi/c/private/ppb_net_address_private.h" |
44 #include "ppapi/c/private/ppb_pdf.h" | 44 #include "ppapi/c/private/ppb_pdf.h" |
45 #include "ppapi/c/private/ppb_tcp_socket_private.h" | 45 #include "ppapi/c/private/ppb_tcp_socket_private.h" |
46 #include "ppapi/c/private/ppb_udp_socket_private.h" | 46 #include "ppapi/c/private/ppb_udp_socket_private.h" |
47 #include "ppapi/c/private/ppp_flash_browser_operations.h" | 47 #include "ppapi/c/private/ppp_flash_browser_operations.h" |
48 #include "ppapi/c/private/ppb_flash_drm.h" | 48 #include "ppapi/c/private/ppb_flash_drm.h" |
| 49 #include "ppapi/c/private/ppb_talk_private.h" |
49 #include "ppapi/proxy/host_resolver_private_resource.h" | 50 #include "ppapi/proxy/host_resolver_private_resource.h" |
50 #include "ppapi/proxy/ppapi_param_traits.h" | 51 #include "ppapi/proxy/ppapi_param_traits.h" |
51 #include "ppapi/proxy/ppapi_proxy_export.h" | 52 #include "ppapi/proxy/ppapi_proxy_export.h" |
52 #include "ppapi/proxy/resource_message_params.h" | 53 #include "ppapi/proxy/resource_message_params.h" |
53 #include "ppapi/proxy/serialized_flash_menu.h" | 54 #include "ppapi/proxy/serialized_flash_menu.h" |
54 #include "ppapi/proxy/serialized_handle.h" | 55 #include "ppapi/proxy/serialized_handle.h" |
55 #include "ppapi/proxy/serialized_structs.h" | 56 #include "ppapi/proxy/serialized_structs.h" |
56 #include "ppapi/proxy/serialized_var.h" | 57 #include "ppapi/proxy/serialized_var.h" |
57 #include "ppapi/shared_impl/dir_contents.h" | 58 #include "ppapi/shared_impl/dir_contents.h" |
58 #include "ppapi/shared_impl/file_path.h" | 59 #include "ppapi/shared_impl/file_path.h" |
(...skipping 26 matching lines...) Expand all Loading... |
85 IPC_ENUM_TRAITS(PP_InputEvent_Type) | 86 IPC_ENUM_TRAITS(PP_InputEvent_Type) |
86 IPC_ENUM_TRAITS(PP_NetAddressFamily_Private) | 87 IPC_ENUM_TRAITS(PP_NetAddressFamily_Private) |
87 IPC_ENUM_TRAITS(PP_NetworkListState_Private) | 88 IPC_ENUM_TRAITS(PP_NetworkListState_Private) |
88 IPC_ENUM_TRAITS(PP_NetworkListType_Private) | 89 IPC_ENUM_TRAITS(PP_NetworkListType_Private) |
89 IPC_ENUM_TRAITS(PP_PrintOrientation_Dev) | 90 IPC_ENUM_TRAITS(PP_PrintOrientation_Dev) |
90 IPC_ENUM_TRAITS(PP_PrintOutputFormat_Dev) | 91 IPC_ENUM_TRAITS(PP_PrintOutputFormat_Dev) |
91 IPC_ENUM_TRAITS(PP_PrintScalingOption_Dev) | 92 IPC_ENUM_TRAITS(PP_PrintScalingOption_Dev) |
92 IPC_ENUM_TRAITS(PP_PrivateFontCharset) | 93 IPC_ENUM_TRAITS(PP_PrivateFontCharset) |
93 IPC_ENUM_TRAITS(PP_ResourceImage) | 94 IPC_ENUM_TRAITS(PP_ResourceImage) |
94 IPC_ENUM_TRAITS(PP_ResourceString) | 95 IPC_ENUM_TRAITS(PP_ResourceString) |
| 96 IPC_ENUM_TRAITS(PP_TalkEvent) |
| 97 IPC_ENUM_TRAITS(PP_TalkPermission) |
95 IPC_ENUM_TRAITS(PP_TextInput_Type) | 98 IPC_ENUM_TRAITS(PP_TextInput_Type) |
96 IPC_ENUM_TRAITS(PP_TrueTypeFontFamily_Dev) | 99 IPC_ENUM_TRAITS(PP_TrueTypeFontFamily_Dev) |
97 IPC_ENUM_TRAITS(PP_TrueTypeFontStyle_Dev) | 100 IPC_ENUM_TRAITS(PP_TrueTypeFontStyle_Dev) |
98 IPC_ENUM_TRAITS(PP_TrueTypeFontWeight_Dev) | 101 IPC_ENUM_TRAITS(PP_TrueTypeFontWeight_Dev) |
99 IPC_ENUM_TRAITS(PP_TrueTypeFontWidth_Dev) | 102 IPC_ENUM_TRAITS(PP_TrueTypeFontWidth_Dev) |
100 IPC_ENUM_TRAITS(PP_TrueTypeFontCharset_Dev) | 103 IPC_ENUM_TRAITS(PP_TrueTypeFontCharset_Dev) |
101 IPC_ENUM_TRAITS(PP_VideoDecodeError_Dev) | 104 IPC_ENUM_TRAITS(PP_VideoDecodeError_Dev) |
102 IPC_ENUM_TRAITS(PP_VideoDecoder_Profile) | 105 IPC_ENUM_TRAITS(PP_VideoDecoder_Profile) |
103 | 106 |
104 IPC_STRUCT_TRAITS_BEGIN(PP_Point) | 107 IPC_STRUCT_TRAITS_BEGIN(PP_Point) |
(...skipping 1743 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1848 IPC_MESSAGE_CONTROL0(PpapiHostMsg_VideoCapture_StopCapture) | 1851 IPC_MESSAGE_CONTROL0(PpapiHostMsg_VideoCapture_StopCapture) |
1849 IPC_MESSAGE_CONTROL0(PpapiHostMsg_VideoCapture_Close) | 1852 IPC_MESSAGE_CONTROL0(PpapiHostMsg_VideoCapture_Close) |
1850 | 1853 |
1851 // VideoCapture_Dev, plugin -> host -> plugin | 1854 // VideoCapture_Dev, plugin -> host -> plugin |
1852 IPC_MESSAGE_CONTROL3(PpapiHostMsg_VideoCapture_Open, | 1855 IPC_MESSAGE_CONTROL3(PpapiHostMsg_VideoCapture_Open, |
1853 std::string /* device_id */, | 1856 std::string /* device_id */, |
1854 PP_VideoCaptureDeviceInfo_Dev /* requested_info */, | 1857 PP_VideoCaptureDeviceInfo_Dev /* requested_info */, |
1855 uint32_t /* buffer_count */) | 1858 uint32_t /* buffer_count */) |
1856 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_VideoCapture_OpenReply) | 1859 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_VideoCapture_OpenReply) |
1857 | 1860 |
1858 // Talk ------------------------------------------------------------------------ | |
1859 | |
1860 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_Create) | |
1861 | |
1862 // Requests talk permissions. The host will respond with GetPermissionReply. | |
1863 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_GetPermission) | |
1864 | |
1865 // Response to GetPermission. | |
1866 // | |
1867 // The result of this message is the general Pepper "result" in the ReplyParams. | |
1868 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_GetPermissionReply) | |
1869 | |
1870 // VideoCapture_Dev, host -> plugin | 1861 // VideoCapture_Dev, host -> plugin |
1871 IPC_MESSAGE_CONTROL3(PpapiPluginMsg_VideoCapture_OnDeviceInfo, | 1862 IPC_MESSAGE_CONTROL3(PpapiPluginMsg_VideoCapture_OnDeviceInfo, |
1872 PP_VideoCaptureDeviceInfo_Dev /* info */, | 1863 PP_VideoCaptureDeviceInfo_Dev /* info */, |
1873 std::vector<ppapi::HostResource> /* buffers */, | 1864 std::vector<ppapi::HostResource> /* buffers */, |
1874 uint32_t /* buffer_size */) | 1865 uint32_t /* buffer_size */) |
1875 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnStatus, | 1866 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnStatus, |
1876 uint32_t /* status */) | 1867 uint32_t /* status */) |
1877 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnError, | 1868 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnError, |
1878 uint32_t /* error */) | 1869 uint32_t /* error */) |
1879 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnBufferReady, | 1870 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnBufferReady, |
1880 uint32_t /* buffer */) | 1871 uint32_t /* buffer */) |
1881 | 1872 |
| 1873 // Talk ------------------------------------------------------------------------ |
| 1874 |
| 1875 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_Create) |
| 1876 IPC_MESSAGE_CONTROL1(PpapiHostMsg_Talk_RequestPermission, |
| 1877 PP_TalkPermission /* permission */) |
| 1878 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_RequestPermissionReply) |
| 1879 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_StartRemoting) |
| 1880 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_StopRemoting) |
| 1881 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_Talk_NotifyEvent, PP_TalkEvent /* event */) |
| 1882 |
1882 // MediaStream ----------------------------------------------------------------- | 1883 // MediaStream ----------------------------------------------------------------- |
1883 | 1884 |
1884 // VideoDestination Private. | 1885 // VideoDestination Private. |
1885 IPC_MESSAGE_CONTROL0(PpapiHostMsg_VideoDestination_Create) | 1886 IPC_MESSAGE_CONTROL0(PpapiHostMsg_VideoDestination_Create) |
1886 IPC_MESSAGE_CONTROL1(PpapiHostMsg_VideoDestination_Open, | 1887 IPC_MESSAGE_CONTROL1(PpapiHostMsg_VideoDestination_Open, |
1887 std::string /* stream_url */) | 1888 std::string /* stream_url */) |
1888 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_VideoDestination_OpenReply) | 1889 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_VideoDestination_OpenReply) |
1889 IPC_MESSAGE_CONTROL2(PpapiHostMsg_VideoDestination_PutFrame, | 1890 IPC_MESSAGE_CONTROL2(PpapiHostMsg_VideoDestination_PutFrame, |
1890 ppapi::HostResource /* image_data */, | 1891 ppapi::HostResource /* image_data */, |
1891 PP_TimeTicks /* timestamp */) | 1892 PP_TimeTicks /* timestamp */) |
1892 IPC_MESSAGE_CONTROL0(PpapiHostMsg_VideoDestination_Close) | 1893 IPC_MESSAGE_CONTROL0(PpapiHostMsg_VideoDestination_Close) |
1893 | 1894 |
1894 // VideoSource Private. | 1895 // VideoSource Private. |
1895 IPC_MESSAGE_CONTROL0(PpapiHostMsg_VideoSource_Create) | 1896 IPC_MESSAGE_CONTROL0(PpapiHostMsg_VideoSource_Create) |
1896 IPC_MESSAGE_CONTROL1(PpapiHostMsg_VideoSource_Open, | 1897 IPC_MESSAGE_CONTROL1(PpapiHostMsg_VideoSource_Open, |
1897 std::string /* stream_url */) | 1898 std::string /* stream_url */) |
1898 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_VideoSource_OpenReply) | 1899 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_VideoSource_OpenReply) |
1899 IPC_MESSAGE_CONTROL0(PpapiHostMsg_VideoSource_GetFrame) | 1900 IPC_MESSAGE_CONTROL0(PpapiHostMsg_VideoSource_GetFrame) |
1900 IPC_MESSAGE_CONTROL4(PpapiPluginMsg_VideoSource_GetFrameReply, | 1901 IPC_MESSAGE_CONTROL4(PpapiPluginMsg_VideoSource_GetFrameReply, |
1901 ppapi::HostResource /* resource_id */, | 1902 ppapi::HostResource /* resource_id */, |
1902 PP_ImageDataDesc /* image_data_desc */, | 1903 PP_ImageDataDesc /* image_data_desc */, |
1903 int /* fd */, | 1904 int /* fd */, |
1904 PP_TimeTicks /* timestamp */) | 1905 PP_TimeTicks /* timestamp */) |
1905 IPC_MESSAGE_CONTROL0(PpapiHostMsg_VideoSource_Close) | 1906 IPC_MESSAGE_CONTROL0(PpapiHostMsg_VideoSource_Close) |
1906 | 1907 |
1907 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) | 1908 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) |
OLD | NEW |