| 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) |
| 95 IPC_ENUM_TRAITS(PP_TextInput_Type) | 97 IPC_ENUM_TRAITS(PP_TextInput_Type) |
| 96 IPC_ENUM_TRAITS(PP_TrueTypeFontFamily_Dev) | 98 IPC_ENUM_TRAITS(PP_TrueTypeFontFamily_Dev) |
| 97 IPC_ENUM_TRAITS(PP_TrueTypeFontStyle_Dev) | 99 IPC_ENUM_TRAITS(PP_TrueTypeFontStyle_Dev) |
| 98 IPC_ENUM_TRAITS(PP_TrueTypeFontWeight_Dev) | 100 IPC_ENUM_TRAITS(PP_TrueTypeFontWeight_Dev) |
| 99 IPC_ENUM_TRAITS(PP_TrueTypeFontWidth_Dev) | 101 IPC_ENUM_TRAITS(PP_TrueTypeFontWidth_Dev) |
| 100 IPC_ENUM_TRAITS(PP_TrueTypeFontCharset_Dev) | 102 IPC_ENUM_TRAITS(PP_TrueTypeFontCharset_Dev) |
| 101 IPC_ENUM_TRAITS(PP_VideoDecodeError_Dev) | 103 IPC_ENUM_TRAITS(PP_VideoDecodeError_Dev) |
| 102 IPC_ENUM_TRAITS(PP_VideoDecoder_Profile) | 104 IPC_ENUM_TRAITS(PP_VideoDecoder_Profile) |
| 103 | 105 |
| 104 IPC_STRUCT_TRAITS_BEGIN(PP_Point) | 106 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) | 1850 IPC_MESSAGE_CONTROL0(PpapiHostMsg_VideoCapture_StopCapture) |
| 1849 IPC_MESSAGE_CONTROL0(PpapiHostMsg_VideoCapture_Close) | 1851 IPC_MESSAGE_CONTROL0(PpapiHostMsg_VideoCapture_Close) |
| 1850 | 1852 |
| 1851 // VideoCapture_Dev, plugin -> host -> plugin | 1853 // VideoCapture_Dev, plugin -> host -> plugin |
| 1852 IPC_MESSAGE_CONTROL3(PpapiHostMsg_VideoCapture_Open, | 1854 IPC_MESSAGE_CONTROL3(PpapiHostMsg_VideoCapture_Open, |
| 1853 std::string /* device_id */, | 1855 std::string /* device_id */, |
| 1854 PP_VideoCaptureDeviceInfo_Dev /* requested_info */, | 1856 PP_VideoCaptureDeviceInfo_Dev /* requested_info */, |
| 1855 uint32_t /* buffer_count */) | 1857 uint32_t /* buffer_count */) |
| 1856 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_VideoCapture_OpenReply) | 1858 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_VideoCapture_OpenReply) |
| 1857 | 1859 |
| 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 | 1860 // VideoCapture_Dev, host -> plugin |
| 1871 IPC_MESSAGE_CONTROL3(PpapiPluginMsg_VideoCapture_OnDeviceInfo, | 1861 IPC_MESSAGE_CONTROL3(PpapiPluginMsg_VideoCapture_OnDeviceInfo, |
| 1872 PP_VideoCaptureDeviceInfo_Dev /* info */, | 1862 PP_VideoCaptureDeviceInfo_Dev /* info */, |
| 1873 std::vector<ppapi::HostResource> /* buffers */, | 1863 std::vector<ppapi::HostResource> /* buffers */, |
| 1874 uint32_t /* buffer_size */) | 1864 uint32_t /* buffer_size */) |
| 1875 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnStatus, | 1865 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnStatus, |
| 1876 uint32_t /* status */) | 1866 uint32_t /* status */) |
| 1877 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnError, | 1867 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnError, |
| 1878 uint32_t /* error */) | 1868 uint32_t /* error */) |
| 1879 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnBufferReady, | 1869 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnBufferReady, |
| 1880 uint32_t /* buffer */) | 1870 uint32_t /* buffer */) |
| 1881 | 1871 |
| 1872 // Talk ------------------------------------------------------------------------ |
| 1873 |
| 1874 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_Create) |
| 1875 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_GetPermission) |
| 1876 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_GetPermissionReply) |
| 1877 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_GetRemotingPermission) |
| 1878 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_GetRemotingPermissionReply) |
| 1879 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_GetRemotingContinuePermission) |
| 1880 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_GetRemotingContinuePermissionReply) |
| 1881 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_StartRemoting) |
| 1882 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_StartRemotingReply) |
| 1883 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_StopRemoting) |
| 1884 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_Talk_NotifyEvent, PP_TalkEvent /* event */) |
| 1885 |
| 1882 // MediaStream ----------------------------------------------------------------- | 1886 // MediaStream ----------------------------------------------------------------- |
| 1883 | 1887 |
| 1884 // VideoDestination Private. | 1888 // VideoDestination Private. |
| 1885 IPC_MESSAGE_CONTROL0(PpapiHostMsg_VideoDestination_Create) | 1889 IPC_MESSAGE_CONTROL0(PpapiHostMsg_VideoDestination_Create) |
| 1886 IPC_MESSAGE_CONTROL1(PpapiHostMsg_VideoDestination_Open, | 1890 IPC_MESSAGE_CONTROL1(PpapiHostMsg_VideoDestination_Open, |
| 1887 std::string /* stream_url */) | 1891 std::string /* stream_url */) |
| 1888 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_VideoDestination_OpenReply) | 1892 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_VideoDestination_OpenReply) |
| 1889 IPC_MESSAGE_CONTROL2(PpapiHostMsg_VideoDestination_PutFrame, | 1893 IPC_MESSAGE_CONTROL2(PpapiHostMsg_VideoDestination_PutFrame, |
| 1890 ppapi::HostResource /* image_data */, | 1894 ppapi::HostResource /* image_data */, |
| 1891 PP_TimeTicks /* timestamp */) | 1895 PP_TimeTicks /* timestamp */) |
| 1892 IPC_MESSAGE_CONTROL0(PpapiHostMsg_VideoDestination_Close) | 1896 IPC_MESSAGE_CONTROL0(PpapiHostMsg_VideoDestination_Close) |
| 1893 | 1897 |
| 1894 // VideoSource Private. | 1898 // VideoSource Private. |
| 1895 IPC_MESSAGE_CONTROL0(PpapiHostMsg_VideoSource_Create) | 1899 IPC_MESSAGE_CONTROL0(PpapiHostMsg_VideoSource_Create) |
| 1896 IPC_MESSAGE_CONTROL1(PpapiHostMsg_VideoSource_Open, | 1900 IPC_MESSAGE_CONTROL1(PpapiHostMsg_VideoSource_Open, |
| 1897 std::string /* stream_url */) | 1901 std::string /* stream_url */) |
| 1898 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_VideoSource_OpenReply) | 1902 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_VideoSource_OpenReply) |
| 1899 IPC_MESSAGE_CONTROL0(PpapiHostMsg_VideoSource_GetFrame) | 1903 IPC_MESSAGE_CONTROL0(PpapiHostMsg_VideoSource_GetFrame) |
| 1900 IPC_MESSAGE_CONTROL4(PpapiPluginMsg_VideoSource_GetFrameReply, | 1904 IPC_MESSAGE_CONTROL4(PpapiPluginMsg_VideoSource_GetFrameReply, |
| 1901 ppapi::HostResource /* resource_id */, | 1905 ppapi::HostResource /* resource_id */, |
| 1902 PP_ImageDataDesc /* image_data_desc */, | 1906 PP_ImageDataDesc /* image_data_desc */, |
| 1903 int /* fd */, | 1907 int /* fd */, |
| 1904 PP_TimeTicks /* timestamp */) | 1908 PP_TimeTicks /* timestamp */) |
| 1905 IPC_MESSAGE_CONTROL0(PpapiHostMsg_VideoSource_Close) | 1909 IPC_MESSAGE_CONTROL0(PpapiHostMsg_VideoSource_Close) |
| 1906 | 1910 |
| 1907 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) | 1911 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) |
| OLD | NEW |