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

Side by Side Diff: ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c

Issue 107083004: [PPAPI] API definition for video media stream artifacts (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkgr
Patch Set: Fix build warnings Created 6 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
« no previous file with comments | « ppapi/cpp/video_frame.cc ('k') | ppapi/ppapi_sources.gypi » ('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) 2013 The Chromium Authors. All rights reserved. 1 /* Copyright (c) 2013 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 5
6 /* NOTE: this is auto-generated from IDL */ 6 /* NOTE: this is auto-generated from IDL */
7 #include "ppapi/generators/pnacl_shim.h" 7 #include "ppapi/generators/pnacl_shim.h"
8 8
9 #include "ppapi/c/ppb.h" 9 #include "ppapi/c/ppb.h"
10 #include "ppapi/c/dev/ppb_alarms_dev.h" 10 #include "ppapi/c/dev/ppb_alarms_dev.h"
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 #include "ppapi/c/ppb_file_ref.h" 52 #include "ppapi/c/ppb_file_ref.h"
53 #include "ppapi/c/ppb_file_system.h" 53 #include "ppapi/c/ppb_file_system.h"
54 #include "ppapi/c/ppb_fullscreen.h" 54 #include "ppapi/c/ppb_fullscreen.h"
55 #include "ppapi/c/ppb_gamepad.h" 55 #include "ppapi/c/ppb_gamepad.h"
56 #include "ppapi/c/ppb_graphics_2d.h" 56 #include "ppapi/c/ppb_graphics_2d.h"
57 #include "ppapi/c/ppb_graphics_3d.h" 57 #include "ppapi/c/ppb_graphics_3d.h"
58 #include "ppapi/c/ppb_host_resolver.h" 58 #include "ppapi/c/ppb_host_resolver.h"
59 #include "ppapi/c/ppb_image_data.h" 59 #include "ppapi/c/ppb_image_data.h"
60 #include "ppapi/c/ppb_input_event.h" 60 #include "ppapi/c/ppb_input_event.h"
61 #include "ppapi/c/ppb_instance.h" 61 #include "ppapi/c/ppb_instance.h"
62 #include "ppapi/c/ppb_media_stream_video_track.h"
62 #include "ppapi/c/ppb_message_loop.h" 63 #include "ppapi/c/ppb_message_loop.h"
63 #include "ppapi/c/ppb_messaging.h" 64 #include "ppapi/c/ppb_messaging.h"
64 #include "ppapi/c/ppb_mouse_cursor.h" 65 #include "ppapi/c/ppb_mouse_cursor.h"
65 #include "ppapi/c/ppb_mouse_lock.h" 66 #include "ppapi/c/ppb_mouse_lock.h"
66 #include "ppapi/c/ppb_net_address.h" 67 #include "ppapi/c/ppb_net_address.h"
67 #include "ppapi/c/ppb_network_list.h" 68 #include "ppapi/c/ppb_network_list.h"
68 #include "ppapi/c/ppb_network_monitor.h" 69 #include "ppapi/c/ppb_network_monitor.h"
69 #include "ppapi/c/ppb_network_proxy.h" 70 #include "ppapi/c/ppb_network_proxy.h"
70 #include "ppapi/c/ppb_tcp_socket.h" 71 #include "ppapi/c/ppb_tcp_socket.h"
71 #include "ppapi/c/ppb_text_input_controller.h" 72 #include "ppapi/c/ppb_text_input_controller.h"
72 #include "ppapi/c/ppb_udp_socket.h" 73 #include "ppapi/c/ppb_udp_socket.h"
73 #include "ppapi/c/ppb_url_loader.h" 74 #include "ppapi/c/ppb_url_loader.h"
74 #include "ppapi/c/ppb_url_request_info.h" 75 #include "ppapi/c/ppb_url_request_info.h"
75 #include "ppapi/c/ppb_url_response_info.h" 76 #include "ppapi/c/ppb_url_response_info.h"
76 #include "ppapi/c/ppb_var.h" 77 #include "ppapi/c/ppb_var.h"
77 #include "ppapi/c/ppb_var_array.h" 78 #include "ppapi/c/ppb_var_array.h"
78 #include "ppapi/c/ppb_var_array_buffer.h" 79 #include "ppapi/c/ppb_var_array_buffer.h"
79 #include "ppapi/c/ppb_var_dictionary.h" 80 #include "ppapi/c/ppb_var_dictionary.h"
81 #include "ppapi/c/ppb_video_frame.h"
80 #include "ppapi/c/ppb_view.h" 82 #include "ppapi/c/ppb_view.h"
81 #include "ppapi/c/ppb_websocket.h" 83 #include "ppapi/c/ppb_websocket.h"
82 #include "ppapi/c/ppp_graphics_3d.h" 84 #include "ppapi/c/ppp_graphics_3d.h"
83 #include "ppapi/c/ppp_input_event.h" 85 #include "ppapi/c/ppp_input_event.h"
84 #include "ppapi/c/ppp_instance.h" 86 #include "ppapi/c/ppp_instance.h"
85 #include "ppapi/c/ppp_messaging.h" 87 #include "ppapi/c/ppp_messaging.h"
86 #include "ppapi/c/ppp_mouse_lock.h" 88 #include "ppapi/c/ppp_mouse_lock.h"
87 #include "ppapi/c/private/ppb_content_decryptor_private.h" 89 #include "ppapi/c/private/ppb_content_decryptor_private.h"
88 #include "ppapi/c/private/ppb_ext_crx_file_system_private.h" 90 #include "ppapi/c/private/ppb_ext_crx_file_system_private.h"
89 #include "ppapi/c/private/ppb_file_io_private.h" 91 #include "ppapi/c/private/ppb_file_io_private.h"
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Graphics2D_1_0; 148 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Graphics2D_1_0;
147 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Graphics2D_1_1; 149 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Graphics2D_1_1;
148 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Graphics3D_1_0; 150 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Graphics3D_1_0;
149 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_HostResolver_1_0; 151 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_HostResolver_1_0;
150 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MouseInputEvent_1_0; 152 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MouseInputEvent_1_0;
151 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MouseInputEvent_1_1; 153 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MouseInputEvent_1_1;
152 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_WheelInputEvent_1_0; 154 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_WheelInputEvent_1_0;
153 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_KeyboardInputEvent_1_0; 155 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_KeyboardInputEvent_1_0;
154 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TouchInputEvent_1_0; 156 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TouchInputEvent_1_0;
155 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_IMEInputEvent_1_0; 157 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_IMEInputEvent_1_0;
158 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MediaStreamVideoTrack_0_1 ;
156 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MessageLoop_1_0; 159 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MessageLoop_1_0;
157 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Messaging_1_0; 160 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Messaging_1_0;
158 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MouseLock_1_0; 161 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MouseLock_1_0;
159 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_NetAddress_1_0; 162 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_NetAddress_1_0;
160 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_NetworkList_1_0; 163 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_NetworkList_1_0;
161 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_NetworkMonitor_1_0; 164 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_NetworkMonitor_1_0;
162 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_NetworkProxy_1_0; 165 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_NetworkProxy_1_0;
163 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TCPSocket_1_0; 166 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TCPSocket_1_0;
164 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TCPSocket_1_1; 167 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TCPSocket_1_1;
165 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TextInputController_1_0; 168 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TextInputController_1_0;
(...skipping 742 matching lines...) Expand 10 before | Expand all | Expand 10 after
908 911
909 static void Pnacl_M13_PPB_IMEInputEvent_GetSelection(PP_Resource ime_event, uint 32_t* start, uint32_t* end) { 912 static void Pnacl_M13_PPB_IMEInputEvent_GetSelection(PP_Resource ime_event, uint 32_t* start, uint32_t* end) {
910 const struct PPB_IMEInputEvent_1_0 *iface = Pnacl_WrapperInfo_PPB_IMEInputEven t_1_0.real_iface; 913 const struct PPB_IMEInputEvent_1_0 *iface = Pnacl_WrapperInfo_PPB_IMEInputEven t_1_0.real_iface;
911 iface->GetSelection(ime_event, start, end); 914 iface->GetSelection(ime_event, start, end);
912 } 915 }
913 916
914 /* End wrapper methods for PPB_IMEInputEvent_1_0 */ 917 /* End wrapper methods for PPB_IMEInputEvent_1_0 */
915 918
916 /* Not generating wrapper methods for PPB_Instance_1_0 */ 919 /* Not generating wrapper methods for PPB_Instance_1_0 */
917 920
921 /* Begin wrapper methods for PPB_MediaStreamVideoTrack_0_1 */
922
923 static PP_Bool Pnacl_M34_PPB_MediaStreamVideoTrack_IsMediaStreamVideoTrack(PP_Re source resource) {
924 const struct PPB_MediaStreamVideoTrack_0_1 *iface = Pnacl_WrapperInfo_PPB_Medi aStreamVideoTrack_0_1.real_iface;
925 return iface->IsMediaStreamVideoTrack(resource);
926 }
927
928 static int32_t Pnacl_M34_PPB_MediaStreamVideoTrack_Configure(PP_Resource video_t rack, uint32_t max_buffered_frames) {
929 const struct PPB_MediaStreamVideoTrack_0_1 *iface = Pnacl_WrapperInfo_PPB_Medi aStreamVideoTrack_0_1.real_iface;
930 return iface->Configure(video_track, max_buffered_frames);
931 }
932
933 static void Pnacl_M34_PPB_MediaStreamVideoTrack_GetId(struct PP_Var* _struct_res ult, PP_Resource video_track) {
934 const struct PPB_MediaStreamVideoTrack_0_1 *iface = Pnacl_WrapperInfo_PPB_Medi aStreamVideoTrack_0_1.real_iface;
935 *_struct_result = iface->GetId(video_track);
936 }
937
938 static PP_Bool Pnacl_M34_PPB_MediaStreamVideoTrack_HasEnded(PP_Resource video_tr ack) {
939 const struct PPB_MediaStreamVideoTrack_0_1 *iface = Pnacl_WrapperInfo_PPB_Medi aStreamVideoTrack_0_1.real_iface;
940 return iface->HasEnded(video_track);
941 }
942
943 static int32_t Pnacl_M34_PPB_MediaStreamVideoTrack_GetFrame(PP_Resource video_tr ack, PP_Resource* frame, struct PP_CompletionCallback* callback) {
944 const struct PPB_MediaStreamVideoTrack_0_1 *iface = Pnacl_WrapperInfo_PPB_Medi aStreamVideoTrack_0_1.real_iface;
945 return iface->GetFrame(video_track, frame, *callback);
946 }
947
948 static int32_t Pnacl_M34_PPB_MediaStreamVideoTrack_RecycleFrame(PP_Resource vide o_track, PP_Resource frame) {
949 const struct PPB_MediaStreamVideoTrack_0_1 *iface = Pnacl_WrapperInfo_PPB_Medi aStreamVideoTrack_0_1.real_iface;
950 return iface->RecycleFrame(video_track, frame);
951 }
952
953 static void Pnacl_M34_PPB_MediaStreamVideoTrack_Close(PP_Resource video_track) {
954 const struct PPB_MediaStreamVideoTrack_0_1 *iface = Pnacl_WrapperInfo_PPB_Medi aStreamVideoTrack_0_1.real_iface;
955 iface->Close(video_track);
956 }
957
958 /* End wrapper methods for PPB_MediaStreamVideoTrack_0_1 */
959
918 /* Begin wrapper methods for PPB_MessageLoop_1_0 */ 960 /* Begin wrapper methods for PPB_MessageLoop_1_0 */
919 961
920 static PP_Resource Pnacl_M25_PPB_MessageLoop_Create(PP_Instance instance) { 962 static PP_Resource Pnacl_M25_PPB_MessageLoop_Create(PP_Instance instance) {
921 const struct PPB_MessageLoop_1_0 *iface = Pnacl_WrapperInfo_PPB_MessageLoop_1_ 0.real_iface; 963 const struct PPB_MessageLoop_1_0 *iface = Pnacl_WrapperInfo_PPB_MessageLoop_1_ 0.real_iface;
922 return iface->Create(instance); 964 return iface->Create(instance);
923 } 965 }
924 966
925 static PP_Resource Pnacl_M25_PPB_MessageLoop_GetForMainThread(void) { 967 static PP_Resource Pnacl_M25_PPB_MessageLoop_GetForMainThread(void) {
926 const struct PPB_MessageLoop_1_0 *iface = Pnacl_WrapperInfo_PPB_MessageLoop_1_ 0.real_iface; 968 const struct PPB_MessageLoop_1_0 *iface = Pnacl_WrapperInfo_PPB_MessageLoop_1_ 0.real_iface;
927 return iface->GetForMainThread(); 969 return iface->GetForMainThread();
(...skipping 573 matching lines...) Expand 10 before | Expand all | Expand 10 after
1501 return iface->HasKey(*dict, *key); 1543 return iface->HasKey(*dict, *key);
1502 } 1544 }
1503 1545
1504 static void Pnacl_M29_PPB_VarDictionary_GetKeys(struct PP_Var* _struct_result, s truct PP_Var* dict) { 1546 static void Pnacl_M29_PPB_VarDictionary_GetKeys(struct PP_Var* _struct_result, s truct PP_Var* dict) {
1505 const struct PPB_VarDictionary_1_0 *iface = Pnacl_WrapperInfo_PPB_VarDictionar y_1_0.real_iface; 1547 const struct PPB_VarDictionary_1_0 *iface = Pnacl_WrapperInfo_PPB_VarDictionar y_1_0.real_iface;
1506 *_struct_result = iface->GetKeys(*dict); 1548 *_struct_result = iface->GetKeys(*dict);
1507 } 1549 }
1508 1550
1509 /* End wrapper methods for PPB_VarDictionary_1_0 */ 1551 /* End wrapper methods for PPB_VarDictionary_1_0 */
1510 1552
1553 /* Not generating wrapper methods for PPB_VideoFrame_0_1 */
1554
1511 /* Not generating wrapper methods for PPB_View_1_0 */ 1555 /* Not generating wrapper methods for PPB_View_1_0 */
1512 1556
1513 /* Not generating wrapper methods for PPB_View_1_1 */ 1557 /* Not generating wrapper methods for PPB_View_1_1 */
1514 1558
1515 /* Begin wrapper methods for PPB_WebSocket_1_0 */ 1559 /* Begin wrapper methods for PPB_WebSocket_1_0 */
1516 1560
1517 static PP_Resource Pnacl_M18_PPB_WebSocket_Create(PP_Instance instance) { 1561 static PP_Resource Pnacl_M18_PPB_WebSocket_Create(PP_Instance instance) {
1518 const struct PPB_WebSocket_1_0 *iface = Pnacl_WrapperInfo_PPB_WebSocket_1_0.re al_iface; 1562 const struct PPB_WebSocket_1_0 *iface = Pnacl_WrapperInfo_PPB_WebSocket_1_0.re al_iface;
1519 return iface->Create(instance); 1563 return iface->Create(instance);
1520 } 1564 }
(...skipping 2728 matching lines...) Expand 10 before | Expand all | Expand 10 after
4249 .IsIMEInputEvent = (PP_Bool (*)(PP_Resource resource))&Pnacl_M13_PPB_IMEInpu tEvent_IsIMEInputEvent, 4293 .IsIMEInputEvent = (PP_Bool (*)(PP_Resource resource))&Pnacl_M13_PPB_IMEInpu tEvent_IsIMEInputEvent,
4250 .GetText = (struct PP_Var (*)(PP_Resource ime_event))&Pnacl_M13_PPB_IMEInput Event_GetText, 4294 .GetText = (struct PP_Var (*)(PP_Resource ime_event))&Pnacl_M13_PPB_IMEInput Event_GetText,
4251 .GetSegmentNumber = (uint32_t (*)(PP_Resource ime_event))&Pnacl_M13_PPB_IMEI nputEvent_GetSegmentNumber, 4295 .GetSegmentNumber = (uint32_t (*)(PP_Resource ime_event))&Pnacl_M13_PPB_IMEI nputEvent_GetSegmentNumber,
4252 .GetSegmentOffset = (uint32_t (*)(PP_Resource ime_event, uint32_t index))&Pn acl_M13_PPB_IMEInputEvent_GetSegmentOffset, 4296 .GetSegmentOffset = (uint32_t (*)(PP_Resource ime_event, uint32_t index))&Pn acl_M13_PPB_IMEInputEvent_GetSegmentOffset,
4253 .GetTargetSegment = (int32_t (*)(PP_Resource ime_event))&Pnacl_M13_PPB_IMEIn putEvent_GetTargetSegment, 4297 .GetTargetSegment = (int32_t (*)(PP_Resource ime_event))&Pnacl_M13_PPB_IMEIn putEvent_GetTargetSegment,
4254 .GetSelection = (void (*)(PP_Resource ime_event, uint32_t* start, uint32_t* end))&Pnacl_M13_PPB_IMEInputEvent_GetSelection 4298 .GetSelection = (void (*)(PP_Resource ime_event, uint32_t* start, uint32_t* end))&Pnacl_M13_PPB_IMEInputEvent_GetSelection
4255 }; 4299 };
4256 4300
4257 /* Not generating wrapper interface for PPB_Instance_1_0 */ 4301 /* Not generating wrapper interface for PPB_Instance_1_0 */
4258 4302
4303 struct PPB_MediaStreamVideoTrack_0_1 Pnacl_Wrappers_PPB_MediaStreamVideoTrack_0_ 1 = {
4304 .IsMediaStreamVideoTrack = (PP_Bool (*)(PP_Resource resource))&Pnacl_M34_PPB _MediaStreamVideoTrack_IsMediaStreamVideoTrack,
4305 .Configure = (int32_t (*)(PP_Resource video_track, uint32_t max_buffered_fra mes))&Pnacl_M34_PPB_MediaStreamVideoTrack_Configure,
4306 .GetId = (struct PP_Var (*)(PP_Resource video_track))&Pnacl_M34_PPB_MediaStr eamVideoTrack_GetId,
4307 .HasEnded = (PP_Bool (*)(PP_Resource video_track))&Pnacl_M34_PPB_MediaStream VideoTrack_HasEnded,
4308 .GetFrame = (int32_t (*)(PP_Resource video_track, PP_Resource* frame, struct PP_CompletionCallback callback))&Pnacl_M34_PPB_MediaStreamVideoTrack_GetFrame,
4309 .RecycleFrame = (int32_t (*)(PP_Resource video_track, PP_Resource frame))&Pn acl_M34_PPB_MediaStreamVideoTrack_RecycleFrame,
4310 .Close = (void (*)(PP_Resource video_track))&Pnacl_M34_PPB_MediaStreamVideoT rack_Close
4311 };
4312
4259 struct PPB_MessageLoop_1_0 Pnacl_Wrappers_PPB_MessageLoop_1_0 = { 4313 struct PPB_MessageLoop_1_0 Pnacl_Wrappers_PPB_MessageLoop_1_0 = {
4260 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M25_PPB_MessageLoop_ Create, 4314 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M25_PPB_MessageLoop_ Create,
4261 .GetForMainThread = (PP_Resource (*)(void))&Pnacl_M25_PPB_MessageLoop_GetFor MainThread, 4315 .GetForMainThread = (PP_Resource (*)(void))&Pnacl_M25_PPB_MessageLoop_GetFor MainThread,
4262 .GetCurrent = (PP_Resource (*)(void))&Pnacl_M25_PPB_MessageLoop_GetCurrent, 4316 .GetCurrent = (PP_Resource (*)(void))&Pnacl_M25_PPB_MessageLoop_GetCurrent,
4263 .AttachToCurrentThread = (int32_t (*)(PP_Resource message_loop))&Pnacl_M25_P PB_MessageLoop_AttachToCurrentThread, 4317 .AttachToCurrentThread = (int32_t (*)(PP_Resource message_loop))&Pnacl_M25_P PB_MessageLoop_AttachToCurrentThread,
4264 .Run = (int32_t (*)(PP_Resource message_loop))&Pnacl_M25_PPB_MessageLoop_Run , 4318 .Run = (int32_t (*)(PP_Resource message_loop))&Pnacl_M25_PPB_MessageLoop_Run ,
4265 .PostWork = (int32_t (*)(PP_Resource message_loop, struct PP_CompletionCallb ack callback, int64_t delay_ms))&Pnacl_M25_PPB_MessageLoop_PostWork, 4319 .PostWork = (int32_t (*)(PP_Resource message_loop, struct PP_CompletionCallb ack callback, int64_t delay_ms))&Pnacl_M25_PPB_MessageLoop_PostWork,
4266 .PostQuit = (int32_t (*)(PP_Resource message_loop, PP_Bool should_destroy))& Pnacl_M25_PPB_MessageLoop_PostQuit 4320 .PostQuit = (int32_t (*)(PP_Resource message_loop, PP_Bool should_destroy))& Pnacl_M25_PPB_MessageLoop_PostQuit
4267 }; 4321 };
4268 4322
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
4411 4465
4412 struct PPB_VarDictionary_1_0 Pnacl_Wrappers_PPB_VarDictionary_1_0 = { 4466 struct PPB_VarDictionary_1_0 Pnacl_Wrappers_PPB_VarDictionary_1_0 = {
4413 .Create = (struct PP_Var (*)(void))&Pnacl_M29_PPB_VarDictionary_Create, 4467 .Create = (struct PP_Var (*)(void))&Pnacl_M29_PPB_VarDictionary_Create,
4414 .Get = (struct PP_Var (*)(struct PP_Var dict, struct PP_Var key))&Pnacl_M29_ PPB_VarDictionary_Get, 4468 .Get = (struct PP_Var (*)(struct PP_Var dict, struct PP_Var key))&Pnacl_M29_ PPB_VarDictionary_Get,
4415 .Set = (PP_Bool (*)(struct PP_Var dict, struct PP_Var key, struct PP_Var val ue))&Pnacl_M29_PPB_VarDictionary_Set, 4469 .Set = (PP_Bool (*)(struct PP_Var dict, struct PP_Var key, struct PP_Var val ue))&Pnacl_M29_PPB_VarDictionary_Set,
4416 .Delete = (void (*)(struct PP_Var dict, struct PP_Var key))&Pnacl_M29_PPB_Va rDictionary_Delete, 4470 .Delete = (void (*)(struct PP_Var dict, struct PP_Var key))&Pnacl_M29_PPB_Va rDictionary_Delete,
4417 .HasKey = (PP_Bool (*)(struct PP_Var dict, struct PP_Var key))&Pnacl_M29_PPB _VarDictionary_HasKey, 4471 .HasKey = (PP_Bool (*)(struct PP_Var dict, struct PP_Var key))&Pnacl_M29_PPB _VarDictionary_HasKey,
4418 .GetKeys = (struct PP_Var (*)(struct PP_Var dict))&Pnacl_M29_PPB_VarDictiona ry_GetKeys 4472 .GetKeys = (struct PP_Var (*)(struct PP_Var dict))&Pnacl_M29_PPB_VarDictiona ry_GetKeys
4419 }; 4473 };
4420 4474
4475 /* Not generating wrapper interface for PPB_VideoFrame_0_1 */
4476
4421 /* Not generating wrapper interface for PPB_View_1_0 */ 4477 /* Not generating wrapper interface for PPB_View_1_0 */
4422 4478
4423 /* Not generating wrapper interface for PPB_View_1_1 */ 4479 /* Not generating wrapper interface for PPB_View_1_1 */
4424 4480
4425 struct PPB_WebSocket_1_0 Pnacl_Wrappers_PPB_WebSocket_1_0 = { 4481 struct PPB_WebSocket_1_0 Pnacl_Wrappers_PPB_WebSocket_1_0 = {
4426 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M18_PPB_WebSocket_Cr eate, 4482 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M18_PPB_WebSocket_Cr eate,
4427 .IsWebSocket = (PP_Bool (*)(PP_Resource resource))&Pnacl_M18_PPB_WebSocket_I sWebSocket, 4483 .IsWebSocket = (PP_Bool (*)(PP_Resource resource))&Pnacl_M18_PPB_WebSocket_I sWebSocket,
4428 .Connect = (int32_t (*)(PP_Resource web_socket, struct PP_Var url, const str uct PP_Var protocols[], uint32_t protocol_count, struct PP_CompletionCallback ca llback))&Pnacl_M18_PPB_WebSocket_Connect, 4484 .Connect = (int32_t (*)(PP_Resource web_socket, struct PP_Var url, const str uct PP_Var protocols[], uint32_t protocol_count, struct PP_CompletionCallback ca llback))&Pnacl_M18_PPB_WebSocket_Connect,
4429 .Close = (int32_t (*)(PP_Resource web_socket, uint16_t code, struct PP_Var r eason, struct PP_CompletionCallback callback))&Pnacl_M18_PPB_WebSocket_Close, 4485 .Close = (int32_t (*)(PP_Resource web_socket, uint16_t code, struct PP_Var r eason, struct PP_CompletionCallback callback))&Pnacl_M18_PPB_WebSocket_Close,
4430 .ReceiveMessage = (int32_t (*)(PP_Resource web_socket, struct PP_Var* messag e, struct PP_CompletionCallback callback))&Pnacl_M18_PPB_WebSocket_ReceiveMessag e, 4486 .ReceiveMessage = (int32_t (*)(PP_Resource web_socket, struct PP_Var* messag e, struct PP_CompletionCallback callback))&Pnacl_M18_PPB_WebSocket_ReceiveMessag e,
(...skipping 808 matching lines...) Expand 10 before | Expand all | Expand 10 after
5239 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_TouchInputEvent_1_0, 5295 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_TouchInputEvent_1_0,
5240 .real_iface = NULL 5296 .real_iface = NULL
5241 }; 5297 };
5242 5298
5243 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_IMEInputEvent_1_0 = { 5299 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_IMEInputEvent_1_0 = {
5244 .iface_macro = PPB_IME_INPUT_EVENT_INTERFACE_1_0, 5300 .iface_macro = PPB_IME_INPUT_EVENT_INTERFACE_1_0,
5245 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_IMEInputEvent_1_0, 5301 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_IMEInputEvent_1_0,
5246 .real_iface = NULL 5302 .real_iface = NULL
5247 }; 5303 };
5248 5304
5305 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MediaStreamVideoTrack_0_1 = {
5306 .iface_macro = PPB_MEDIASTREAMVIDEOTRACK_INTERFACE_0_1,
5307 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_MediaStreamVideoTrack_0_1,
5308 .real_iface = NULL
5309 };
5310
5249 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MessageLoop_1_0 = { 5311 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MessageLoop_1_0 = {
5250 .iface_macro = PPB_MESSAGELOOP_INTERFACE_1_0, 5312 .iface_macro = PPB_MESSAGELOOP_INTERFACE_1_0,
5251 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_MessageLoop_1_0, 5313 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_MessageLoop_1_0,
5252 .real_iface = NULL 5314 .real_iface = NULL
5253 }; 5315 };
5254 5316
5255 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Messaging_1_0 = { 5317 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Messaging_1_0 = {
5256 .iface_macro = PPB_MESSAGING_INTERFACE_1_0, 5318 .iface_macro = PPB_MESSAGING_INTERFACE_1_0,
5257 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_Messaging_1_0, 5319 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_Messaging_1_0,
5258 .real_iface = NULL 5320 .real_iface = NULL
(...skipping 502 matching lines...) Expand 10 before | Expand all | Expand 10 after
5761 &Pnacl_WrapperInfo_PPB_Graphics2D_1_0, 5823 &Pnacl_WrapperInfo_PPB_Graphics2D_1_0,
5762 &Pnacl_WrapperInfo_PPB_Graphics2D_1_1, 5824 &Pnacl_WrapperInfo_PPB_Graphics2D_1_1,
5763 &Pnacl_WrapperInfo_PPB_Graphics3D_1_0, 5825 &Pnacl_WrapperInfo_PPB_Graphics3D_1_0,
5764 &Pnacl_WrapperInfo_PPB_HostResolver_1_0, 5826 &Pnacl_WrapperInfo_PPB_HostResolver_1_0,
5765 &Pnacl_WrapperInfo_PPB_MouseInputEvent_1_0, 5827 &Pnacl_WrapperInfo_PPB_MouseInputEvent_1_0,
5766 &Pnacl_WrapperInfo_PPB_MouseInputEvent_1_1, 5828 &Pnacl_WrapperInfo_PPB_MouseInputEvent_1_1,
5767 &Pnacl_WrapperInfo_PPB_WheelInputEvent_1_0, 5829 &Pnacl_WrapperInfo_PPB_WheelInputEvent_1_0,
5768 &Pnacl_WrapperInfo_PPB_KeyboardInputEvent_1_0, 5830 &Pnacl_WrapperInfo_PPB_KeyboardInputEvent_1_0,
5769 &Pnacl_WrapperInfo_PPB_TouchInputEvent_1_0, 5831 &Pnacl_WrapperInfo_PPB_TouchInputEvent_1_0,
5770 &Pnacl_WrapperInfo_PPB_IMEInputEvent_1_0, 5832 &Pnacl_WrapperInfo_PPB_IMEInputEvent_1_0,
5833 &Pnacl_WrapperInfo_PPB_MediaStreamVideoTrack_0_1,
5771 &Pnacl_WrapperInfo_PPB_MessageLoop_1_0, 5834 &Pnacl_WrapperInfo_PPB_MessageLoop_1_0,
5772 &Pnacl_WrapperInfo_PPB_Messaging_1_0, 5835 &Pnacl_WrapperInfo_PPB_Messaging_1_0,
5773 &Pnacl_WrapperInfo_PPB_MouseLock_1_0, 5836 &Pnacl_WrapperInfo_PPB_MouseLock_1_0,
5774 &Pnacl_WrapperInfo_PPB_NetAddress_1_0, 5837 &Pnacl_WrapperInfo_PPB_NetAddress_1_0,
5775 &Pnacl_WrapperInfo_PPB_NetworkList_1_0, 5838 &Pnacl_WrapperInfo_PPB_NetworkList_1_0,
5776 &Pnacl_WrapperInfo_PPB_NetworkMonitor_1_0, 5839 &Pnacl_WrapperInfo_PPB_NetworkMonitor_1_0,
5777 &Pnacl_WrapperInfo_PPB_NetworkProxy_1_0, 5840 &Pnacl_WrapperInfo_PPB_NetworkProxy_1_0,
5778 &Pnacl_WrapperInfo_PPB_TCPSocket_1_0, 5841 &Pnacl_WrapperInfo_PPB_TCPSocket_1_0,
5779 &Pnacl_WrapperInfo_PPB_TCPSocket_1_1, 5842 &Pnacl_WrapperInfo_PPB_TCPSocket_1_1,
5780 &Pnacl_WrapperInfo_PPB_TextInputController_1_0, 5843 &Pnacl_WrapperInfo_PPB_TextInputController_1_0,
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after
5928 if (NULL == iface) return NULL; 5991 if (NULL == iface) return NULL;
5929 wrapper->real_iface = iface; 5992 wrapper->real_iface = iface;
5930 } 5993 }
5931 5994
5932 if (wrapper->wrapped_iface) { 5995 if (wrapper->wrapped_iface) {
5933 return wrapper->wrapped_iface; 5996 return wrapper->wrapped_iface;
5934 } else { 5997 } else {
5935 return wrapper->real_iface; 5998 return wrapper->real_iface;
5936 } 5999 }
5937 } 6000 }
OLDNEW
« no previous file with comments | « ppapi/cpp/video_frame.cc ('k') | ppapi/ppapi_sources.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698