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

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

Issue 9192019: Implement PPB_DeviceRef_Dev. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 11 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 | Annotate | Revision Log
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/file_path.h" 10 #include "base/file_path.h"
(...skipping 17 matching lines...) Expand all
28 #include "ppapi/c/pp_point.h" 28 #include "ppapi/c/pp_point.h"
29 #include "ppapi/c/pp_rect.h" 29 #include "ppapi/c/pp_rect.h"
30 #include "ppapi/c/pp_resource.h" 30 #include "ppapi/c/pp_resource.h"
31 #include "ppapi/c/pp_size.h" 31 #include "ppapi/c/pp_size.h"
32 #include "ppapi/c/private/ppb_tcp_socket_private.h" 32 #include "ppapi/c/private/ppb_tcp_socket_private.h"
33 #include "ppapi/proxy/ppapi_param_traits.h" 33 #include "ppapi/proxy/ppapi_param_traits.h"
34 #include "ppapi/proxy/ppapi_proxy_export.h" 34 #include "ppapi/proxy/ppapi_proxy_export.h"
35 #include "ppapi/proxy/serialized_flash_menu.h" 35 #include "ppapi/proxy/serialized_flash_menu.h"
36 #include "ppapi/proxy/serialized_structs.h" 36 #include "ppapi/proxy/serialized_structs.h"
37 #include "ppapi/shared_impl/ppapi_preferences.h" 37 #include "ppapi/shared_impl/ppapi_preferences.h"
38 #include "ppapi/shared_impl/ppb_device_ref_shared.h"
38 #include "ppapi/shared_impl/ppb_input_event_shared.h" 39 #include "ppapi/shared_impl/ppb_input_event_shared.h"
39 #include "ppapi/shared_impl/ppb_url_request_info_shared.h" 40 #include "ppapi/shared_impl/ppb_url_request_info_shared.h"
40 #include "ppapi/shared_impl/ppb_view_shared.h" 41 #include "ppapi/shared_impl/ppb_view_shared.h"
41 42
42 #undef IPC_MESSAGE_EXPORT 43 #undef IPC_MESSAGE_EXPORT
43 #define IPC_MESSAGE_EXPORT PPAPI_PROXY_EXPORT 44 #define IPC_MESSAGE_EXPORT PPAPI_PROXY_EXPORT
44 45
45 #define IPC_MESSAGE_START PpapiMsgStart 46 #define IPC_MESSAGE_START PpapiMsgStart
46 47
48 IPC_ENUM_TRAITS(PP_DeviceType_Dev)
47 IPC_ENUM_TRAITS(PP_InputEvent_Type) 49 IPC_ENUM_TRAITS(PP_InputEvent_Type)
48 IPC_ENUM_TRAITS(PP_InputEvent_MouseButton) 50 IPC_ENUM_TRAITS(PP_InputEvent_MouseButton)
49 IPC_ENUM_TRAITS(PP_TextInput_Type) 51 IPC_ENUM_TRAITS(PP_TextInput_Type)
50 IPC_ENUM_TRAITS(PP_VideoDecoder_Profile) 52 IPC_ENUM_TRAITS(PP_VideoDecoder_Profile)
51 IPC_ENUM_TRAITS(PP_VideoDecodeError_Dev) 53 IPC_ENUM_TRAITS(PP_VideoDecodeError_Dev)
52 54
53 IPC_STRUCT_TRAITS_BEGIN(PP_Point) 55 IPC_STRUCT_TRAITS_BEGIN(PP_Point)
54 IPC_STRUCT_TRAITS_MEMBER(x) 56 IPC_STRUCT_TRAITS_MEMBER(x)
55 IPC_STRUCT_TRAITS_MEMBER(y) 57 IPC_STRUCT_TRAITS_MEMBER(y)
56 IPC_STRUCT_TRAITS_END() 58 IPC_STRUCT_TRAITS_END()
(...skipping 23 matching lines...) Expand all
80 IPC_STRUCT_TRAITS_MEMBER(picture_buffer_id) 82 IPC_STRUCT_TRAITS_MEMBER(picture_buffer_id)
81 IPC_STRUCT_TRAITS_MEMBER(bitstream_buffer_id) 83 IPC_STRUCT_TRAITS_MEMBER(bitstream_buffer_id)
82 IPC_STRUCT_TRAITS_END() 84 IPC_STRUCT_TRAITS_END()
83 85
84 IPC_STRUCT_TRAITS_BEGIN(PP_VideoCaptureDeviceInfo_Dev) 86 IPC_STRUCT_TRAITS_BEGIN(PP_VideoCaptureDeviceInfo_Dev)
85 IPC_STRUCT_TRAITS_MEMBER(width) 87 IPC_STRUCT_TRAITS_MEMBER(width)
86 IPC_STRUCT_TRAITS_MEMBER(height) 88 IPC_STRUCT_TRAITS_MEMBER(height)
87 IPC_STRUCT_TRAITS_MEMBER(frames_per_second) 89 IPC_STRUCT_TRAITS_MEMBER(frames_per_second)
88 IPC_STRUCT_TRAITS_END() 90 IPC_STRUCT_TRAITS_END()
89 91
92 IPC_STRUCT_TRAITS_BEGIN(ppapi::DeviceRefData)
93 IPC_STRUCT_TRAITS_MEMBER(type)
94 IPC_STRUCT_TRAITS_MEMBER(name)
95 IPC_STRUCT_TRAITS_MEMBER(id)
96 IPC_STRUCT_TRAITS_END()
97
90 IPC_STRUCT_TRAITS_BEGIN(ppapi::proxy::PPPVideoCapture_Buffer) 98 IPC_STRUCT_TRAITS_BEGIN(ppapi::proxy::PPPVideoCapture_Buffer)
91 IPC_STRUCT_TRAITS_MEMBER(resource) 99 IPC_STRUCT_TRAITS_MEMBER(resource)
92 IPC_STRUCT_TRAITS_MEMBER(handle) 100 IPC_STRUCT_TRAITS_MEMBER(handle)
93 IPC_STRUCT_TRAITS_MEMBER(size) 101 IPC_STRUCT_TRAITS_MEMBER(size)
94 IPC_STRUCT_TRAITS_END() 102 IPC_STRUCT_TRAITS_END()
95 103
96 IPC_STRUCT_TRAITS_BEGIN(ppapi::ViewData) 104 IPC_STRUCT_TRAITS_BEGIN(ppapi::ViewData)
97 IPC_STRUCT_TRAITS_MEMBER(rect) 105 IPC_STRUCT_TRAITS_MEMBER(rect)
98 IPC_STRUCT_TRAITS_MEMBER(is_fullscreen) 106 IPC_STRUCT_TRAITS_MEMBER(is_fullscreen)
99 IPC_STRUCT_TRAITS_MEMBER(is_page_visible) 107 IPC_STRUCT_TRAITS_MEMBER(is_page_visible)
(...skipping 1021 matching lines...) Expand 10 before | Expand all | Expand 10 after
1121 std::vector<PP_PictureBuffer_Dev> /* picture buffers */) 1129 std::vector<PP_PictureBuffer_Dev> /* picture buffers */)
1122 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBVideoDecoder_ReusePictureBuffer, 1130 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBVideoDecoder_ReusePictureBuffer,
1123 ppapi::HostResource /* video_decoder */, 1131 ppapi::HostResource /* video_decoder */,
1124 int32_t /* picture buffer id */) 1132 int32_t /* picture buffer id */)
1125 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBVideoDecoder_Flush, 1133 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBVideoDecoder_Flush,
1126 ppapi::HostResource /* video_decoder */) 1134 ppapi::HostResource /* video_decoder */)
1127 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBVideoDecoder_Reset, 1135 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBVideoDecoder_Reset,
1128 ppapi::HostResource /* video_decoder */) 1136 ppapi::HostResource /* video_decoder */)
1129 IPC_SYNC_MESSAGE_ROUTED1_0(PpapiHostMsg_PPBVideoDecoder_Destroy, 1137 IPC_SYNC_MESSAGE_ROUTED1_0(PpapiHostMsg_PPBVideoDecoder_Destroy,
1130 ppapi::HostResource /* video_decoder */) 1138 ppapi::HostResource /* video_decoder */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698