Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(370)

Side by Side Diff: ppapi/proxy/ppapi_messages.h

Issue 16271005: Implement pepper interface and plumbing for HRD's UI on ChromeOS (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Don't use IPC::Message::Schema::Read in unittest - build break Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « ppapi/ppapi_tests.gypi ('k') | ppapi/proxy/talk_resource.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_MAX_VALUE(PP_TalkEvent, PP_TALKEVENT_NUM_EVENTS - 1)
97 IPC_ENUM_TRAITS_MAX_VALUE(PP_TalkPermission,
98 PP_TALKPERMISSION_NUM_PERMISSIONS - 1)
95 IPC_ENUM_TRAITS(PP_TextInput_Type) 99 IPC_ENUM_TRAITS(PP_TextInput_Type)
96 IPC_ENUM_TRAITS(PP_TrueTypeFontFamily_Dev) 100 IPC_ENUM_TRAITS(PP_TrueTypeFontFamily_Dev)
97 IPC_ENUM_TRAITS(PP_TrueTypeFontStyle_Dev) 101 IPC_ENUM_TRAITS(PP_TrueTypeFontStyle_Dev)
98 IPC_ENUM_TRAITS(PP_TrueTypeFontWeight_Dev) 102 IPC_ENUM_TRAITS(PP_TrueTypeFontWeight_Dev)
99 IPC_ENUM_TRAITS(PP_TrueTypeFontWidth_Dev) 103 IPC_ENUM_TRAITS(PP_TrueTypeFontWidth_Dev)
100 IPC_ENUM_TRAITS(PP_TrueTypeFontCharset_Dev) 104 IPC_ENUM_TRAITS(PP_TrueTypeFontCharset_Dev)
101 IPC_ENUM_TRAITS(PP_VideoDecodeError_Dev) 105 IPC_ENUM_TRAITS(PP_VideoDecodeError_Dev)
102 IPC_ENUM_TRAITS(PP_VideoDecoder_Profile) 106 IPC_ENUM_TRAITS(PP_VideoDecoder_Profile)
103 107
104 IPC_STRUCT_TRAITS_BEGIN(PP_Point) 108 IPC_STRUCT_TRAITS_BEGIN(PP_Point)
(...skipping 1741 matching lines...) Expand 10 before | Expand all | Expand 10 after
1846 IPC_MESSAGE_CONTROL0(PpapiHostMsg_VideoCapture_StopCapture) 1850 IPC_MESSAGE_CONTROL0(PpapiHostMsg_VideoCapture_StopCapture)
1847 IPC_MESSAGE_CONTROL0(PpapiHostMsg_VideoCapture_Close) 1851 IPC_MESSAGE_CONTROL0(PpapiHostMsg_VideoCapture_Close)
1848 1852
1849 // VideoCapture_Dev, plugin -> host -> plugin 1853 // VideoCapture_Dev, plugin -> host -> plugin
1850 IPC_MESSAGE_CONTROL3(PpapiHostMsg_VideoCapture_Open, 1854 IPC_MESSAGE_CONTROL3(PpapiHostMsg_VideoCapture_Open,
1851 std::string /* device_id */, 1855 std::string /* device_id */,
1852 PP_VideoCaptureDeviceInfo_Dev /* requested_info */, 1856 PP_VideoCaptureDeviceInfo_Dev /* requested_info */,
1853 uint32_t /* buffer_count */) 1857 uint32_t /* buffer_count */)
1854 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_VideoCapture_OpenReply) 1858 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_VideoCapture_OpenReply)
1855 1859
1856 // Talk ------------------------------------------------------------------------
1857
1858 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_Create)
1859
1860 // Requests talk permissions. The host will respond with GetPermissionReply.
1861 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_GetPermission)
1862
1863 // Response to GetPermission.
1864 //
1865 // The result of this message is the general Pepper "result" in the ReplyParams.
1866 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_GetPermissionReply)
1867
1868 // VideoCapture_Dev, host -> plugin 1860 // VideoCapture_Dev, host -> plugin
1869 IPC_MESSAGE_CONTROL3(PpapiPluginMsg_VideoCapture_OnDeviceInfo, 1861 IPC_MESSAGE_CONTROL3(PpapiPluginMsg_VideoCapture_OnDeviceInfo,
1870 PP_VideoCaptureDeviceInfo_Dev /* info */, 1862 PP_VideoCaptureDeviceInfo_Dev /* info */,
1871 std::vector<ppapi::HostResource> /* buffers */, 1863 std::vector<ppapi::HostResource> /* buffers */,
1872 uint32_t /* buffer_size */) 1864 uint32_t /* buffer_size */)
1873 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnStatus, 1865 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnStatus,
1874 uint32_t /* status */) 1866 uint32_t /* status */)
1875 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnError, 1867 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnError,
1876 uint32_t /* error */) 1868 uint32_t /* error */)
1877 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnBufferReady, 1869 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_VideoCapture_OnBufferReady,
1878 uint32_t /* buffer */) 1870 uint32_t /* buffer */)
1879 1871
1872 // Talk ------------------------------------------------------------------------
1873
1874 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_Create)
1875 IPC_MESSAGE_CONTROL1(PpapiHostMsg_Talk_RequestPermission,
1876 PP_TalkPermission /* permission */)
1877 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_RequestPermissionReply)
1878 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_StartRemoting)
1879 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_StartRemotingReply)
1880 IPC_MESSAGE_CONTROL0(PpapiHostMsg_Talk_StopRemoting)
1881 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_Talk_StopRemotingReply)
1882 IPC_MESSAGE_CONTROL1(PpapiPluginMsg_Talk_NotifyEvent, PP_TalkEvent /* event */)
1883
1880 // MediaStream ----------------------------------------------------------------- 1884 // MediaStream -----------------------------------------------------------------
1881 1885
1882 // VideoDestination Private. 1886 // VideoDestination Private.
1883 IPC_MESSAGE_CONTROL0(PpapiHostMsg_VideoDestination_Create) 1887 IPC_MESSAGE_CONTROL0(PpapiHostMsg_VideoDestination_Create)
1884 IPC_MESSAGE_CONTROL1(PpapiHostMsg_VideoDestination_Open, 1888 IPC_MESSAGE_CONTROL1(PpapiHostMsg_VideoDestination_Open,
1885 std::string /* stream_url */) 1889 std::string /* stream_url */)
1886 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_VideoDestination_OpenReply) 1890 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_VideoDestination_OpenReply)
1887 IPC_MESSAGE_CONTROL2(PpapiHostMsg_VideoDestination_PutFrame, 1891 IPC_MESSAGE_CONTROL2(PpapiHostMsg_VideoDestination_PutFrame,
1888 ppapi::HostResource /* image_data */, 1892 ppapi::HostResource /* image_data */,
1889 PP_TimeTicks /* timestamp */) 1893 PP_TimeTicks /* timestamp */)
1890 IPC_MESSAGE_CONTROL0(PpapiHostMsg_VideoDestination_Close) 1894 IPC_MESSAGE_CONTROL0(PpapiHostMsg_VideoDestination_Close)
1891 1895
1892 // VideoSource Private. 1896 // VideoSource Private.
1893 IPC_MESSAGE_CONTROL0(PpapiHostMsg_VideoSource_Create) 1897 IPC_MESSAGE_CONTROL0(PpapiHostMsg_VideoSource_Create)
1894 IPC_MESSAGE_CONTROL1(PpapiHostMsg_VideoSource_Open, 1898 IPC_MESSAGE_CONTROL1(PpapiHostMsg_VideoSource_Open,
1895 std::string /* stream_url */) 1899 std::string /* stream_url */)
1896 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_VideoSource_OpenReply) 1900 IPC_MESSAGE_CONTROL0(PpapiPluginMsg_VideoSource_OpenReply)
1897 IPC_MESSAGE_CONTROL0(PpapiHostMsg_VideoSource_GetFrame) 1901 IPC_MESSAGE_CONTROL0(PpapiHostMsg_VideoSource_GetFrame)
1898 IPC_MESSAGE_CONTROL4(PpapiPluginMsg_VideoSource_GetFrameReply, 1902 IPC_MESSAGE_CONTROL4(PpapiPluginMsg_VideoSource_GetFrameReply,
1899 ppapi::HostResource /* resource_id */, 1903 ppapi::HostResource /* resource_id */,
1900 PP_ImageDataDesc /* image_data_desc */, 1904 PP_ImageDataDesc /* image_data_desc */,
1901 int /* fd */, 1905 int /* fd */,
1902 PP_TimeTicks /* timestamp */) 1906 PP_TimeTicks /* timestamp */)
1903 IPC_MESSAGE_CONTROL0(PpapiHostMsg_VideoSource_Close) 1907 IPC_MESSAGE_CONTROL0(PpapiHostMsg_VideoSource_Close)
1904 1908
1905 #endif // !defined(OS_NACL) && !defined(NACL_WIN64) 1909 #endif // !defined(OS_NACL) && !defined(NACL_WIN64)
OLDNEW
« no previous file with comments | « ppapi/ppapi_tests.gypi ('k') | ppapi/proxy/talk_resource.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698