OLD | NEW |
1 /* Copyright (c) 2014 The Chromium Authors. All rights reserved. | 1 /* Copyright (c) 2014 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" |
11 #include "ppapi/c/dev/ppb_audio_input_dev.h" | 11 #include "ppapi/c/dev/ppb_audio_input_dev.h" |
12 #include "ppapi/c/dev/ppb_buffer_dev.h" | 12 #include "ppapi/c/dev/ppb_buffer_dev.h" |
13 #include "ppapi/c/dev/ppb_crypto_dev.h" | 13 #include "ppapi/c/dev/ppb_crypto_dev.h" |
14 #include "ppapi/c/dev/ppb_cursor_control_dev.h" | 14 #include "ppapi/c/dev/ppb_cursor_control_dev.h" |
15 #include "ppapi/c/dev/ppb_device_ref_dev.h" | 15 #include "ppapi/c/dev/ppb_device_ref_dev.h" |
16 #include "ppapi/c/dev/ppb_file_chooser_dev.h" | 16 #include "ppapi/c/dev/ppb_file_chooser_dev.h" |
17 #include "ppapi/c/dev/ppb_file_io_dev.h" | |
18 #include "ppapi/c/dev/ppb_find_dev.h" | 17 #include "ppapi/c/dev/ppb_find_dev.h" |
19 #include "ppapi/c/dev/ppb_font_dev.h" | 18 #include "ppapi/c/dev/ppb_font_dev.h" |
20 #include "ppapi/c/dev/ppb_graphics_2d_dev.h" | 19 #include "ppapi/c/dev/ppb_graphics_2d_dev.h" |
21 #include "ppapi/c/dev/ppb_ime_input_event_dev.h" | 20 #include "ppapi/c/dev/ppb_ime_input_event_dev.h" |
22 #include "ppapi/c/dev/ppb_keyboard_input_event_dev.h" | 21 #include "ppapi/c/dev/ppb_keyboard_input_event_dev.h" |
23 #include "ppapi/c/dev/ppb_memory_dev.h" | 22 #include "ppapi/c/dev/ppb_memory_dev.h" |
24 #include "ppapi/c/dev/ppb_printing_dev.h" | 23 #include "ppapi/c/dev/ppb_printing_dev.h" |
25 #include "ppapi/c/dev/ppb_scrollbar_dev.h" | 24 #include "ppapi/c/dev/ppb_scrollbar_dev.h" |
26 #include "ppapi/c/dev/ppb_text_input_dev.h" | 25 #include "ppapi/c/dev/ppb_text_input_dev.h" |
27 #include "ppapi/c/dev/ppb_trace_event_dev.h" | 26 #include "ppapi/c/dev/ppb_trace_event_dev.h" |
(...skipping 14 matching lines...) Expand all Loading... |
42 #include "ppapi/c/dev/ppp_video_decoder_dev.h" | 41 #include "ppapi/c/dev/ppp_video_decoder_dev.h" |
43 #include "ppapi/c/dev/ppp_widget_dev.h" | 42 #include "ppapi/c/dev/ppp_widget_dev.h" |
44 #include "ppapi/c/dev/ppp_zoom_dev.h" | 43 #include "ppapi/c/dev/ppp_zoom_dev.h" |
45 #include "ppapi/c/extensions/dev/ppb_ext_socket_dev.h" | 44 #include "ppapi/c/extensions/dev/ppb_ext_socket_dev.h" |
46 #include "ppapi/c/ppb_audio.h" | 45 #include "ppapi/c/ppb_audio.h" |
47 #include "ppapi/c/ppb_audio_config.h" | 46 #include "ppapi/c/ppb_audio_config.h" |
48 #include "ppapi/c/ppb_audio_frame.h" | 47 #include "ppapi/c/ppb_audio_frame.h" |
49 #include "ppapi/c/ppb_console.h" | 48 #include "ppapi/c/ppb_console.h" |
50 #include "ppapi/c/ppb_core.h" | 49 #include "ppapi/c/ppb_core.h" |
51 #include "ppapi/c/ppb_file_io.h" | 50 #include "ppapi/c/ppb_file_io.h" |
| 51 #include "ppapi/c/ppb_file_mapping.h" |
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" |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
136 } | 136 } |
137 return (int)(*s1) - (int)(*s2); | 137 return (int)(*s1) - (int)(*s2); |
138 } | 138 } |
139 | 139 |
140 /* BEGIN Declarations for all Wrapper Infos */ | 140 /* BEGIN Declarations for all Wrapper Infos */ |
141 | 141 |
142 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Console_1_0; | 142 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Console_1_0; |
143 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Core_1_0; | 143 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Core_1_0; |
144 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileIO_1_0; | 144 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileIO_1_0; |
145 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileIO_1_1; | 145 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileIO_1_1; |
| 146 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileMapping_0_1; |
146 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileRef_1_0; | 147 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileRef_1_0; |
147 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileRef_1_1; | 148 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileRef_1_1; |
148 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileRef_1_2; | 149 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileRef_1_2; |
149 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileSystem_1_0; | 150 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileSystem_1_0; |
150 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Graphics2D_1_0; | 151 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Graphics2D_1_0; |
151 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Graphics2D_1_1; | 152 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Graphics2D_1_1; |
152 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Graphics3D_1_0; | 153 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Graphics3D_1_0; |
153 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_HostResolver_1_0; | 154 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_HostResolver_1_0; |
154 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MouseInputEvent_1_0; | 155 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MouseInputEvent_1_0; |
155 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MouseInputEvent_1_1; | 156 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MouseInputEvent_1_1; |
(...skipping 23 matching lines...) Expand all Loading... |
179 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VarArrayBuffer_1_0; | 180 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VarArrayBuffer_1_0; |
180 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VarDictionary_1_0; | 181 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VarDictionary_1_0; |
181 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_WebSocket_1_0; | 182 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_WebSocket_1_0; |
182 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Messaging_1_0; | 183 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPP_Messaging_1_0; |
183 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Alarms_Dev_0_1; | 184 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Alarms_Dev_0_1; |
184 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_3; | 185 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_3; |
185 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_4; | 186 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_4; |
186 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_DeviceRef_Dev_0_1; | 187 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_DeviceRef_Dev_0_1; |
187 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_5; | 188 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_5; |
188 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_6; | 189 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_6; |
189 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileIO_Dev_0_1; | |
190 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Font_Dev_0_6; | 190 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Font_Dev_0_6; |
191 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_1; | 191 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_1; |
192 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_2; | 192 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_2; |
193 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_KeyboardInputEvent_Dev_0_
2; | 193 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_KeyboardInputEvent_Dev_0_
2; |
194 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Printing_Dev_0_7; | 194 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Printing_Dev_0_7; |
195 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TrueTypeFont_Dev_0_1; | 195 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TrueTypeFont_Dev_0_1; |
196 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_6; | 196 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_6; |
197 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_7; | 197 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_7; |
198 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VarResource_Dev_0_1; | 198 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VarResource_Dev_0_1; |
199 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_3; | 199 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_3; |
(...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
407 iface->Close(file_io); | 407 iface->Close(file_io); |
408 } | 408 } |
409 | 409 |
410 static int32_t Pnacl_M25_PPB_FileIO_ReadToArray(PP_Resource file_io, int64_t off
set, int32_t max_read_length, struct PP_ArrayOutput* output, struct PP_Completio
nCallback* callback) { | 410 static int32_t Pnacl_M25_PPB_FileIO_ReadToArray(PP_Resource file_io, int64_t off
set, int32_t max_read_length, struct PP_ArrayOutput* output, struct PP_Completio
nCallback* callback) { |
411 const struct PPB_FileIO_1_1 *iface = Pnacl_WrapperInfo_PPB_FileIO_1_1.real_ifa
ce; | 411 const struct PPB_FileIO_1_1 *iface = Pnacl_WrapperInfo_PPB_FileIO_1_1.real_ifa
ce; |
412 return iface->ReadToArray(file_io, offset, max_read_length, output, *callback)
; | 412 return iface->ReadToArray(file_io, offset, max_read_length, output, *callback)
; |
413 } | 413 } |
414 | 414 |
415 /* End wrapper methods for PPB_FileIO_1_1 */ | 415 /* End wrapper methods for PPB_FileIO_1_1 */ |
416 | 416 |
| 417 /* Begin wrapper methods for PPB_FileMapping_0_1 */ |
| 418 |
| 419 static int32_t Pnacl_M34_PPB_FileMapping_Map(PP_Instance instance, PP_Resource f
ile_io, int64_t length, uint32_t map_protection, uint32_t map_flags, int64_t off
set, void** address, struct PP_CompletionCallback* callback) { |
| 420 const struct PPB_FileMapping_0_1 *iface = Pnacl_WrapperInfo_PPB_FileMapping_0_
1.real_iface; |
| 421 return iface->Map(instance, file_io, length, map_protection, map_flags, offset
, address, *callback); |
| 422 } |
| 423 |
| 424 static int32_t Pnacl_M34_PPB_FileMapping_Unmap(PP_Instance instance, const void*
address, int64_t length, struct PP_CompletionCallback* callback) { |
| 425 const struct PPB_FileMapping_0_1 *iface = Pnacl_WrapperInfo_PPB_FileMapping_0_
1.real_iface; |
| 426 return iface->Unmap(instance, address, length, *callback); |
| 427 } |
| 428 |
| 429 static int64_t Pnacl_M34_PPB_FileMapping_GetMapPageSize(PP_Instance instance) { |
| 430 const struct PPB_FileMapping_0_1 *iface = Pnacl_WrapperInfo_PPB_FileMapping_0_
1.real_iface; |
| 431 return iface->GetMapPageSize(instance); |
| 432 } |
| 433 |
| 434 /* End wrapper methods for PPB_FileMapping_0_1 */ |
| 435 |
417 /* Begin wrapper methods for PPB_FileRef_1_0 */ | 436 /* Begin wrapper methods for PPB_FileRef_1_0 */ |
418 | 437 |
419 static PP_Resource Pnacl_M14_PPB_FileRef_Create(PP_Resource file_system, const c
har* path) { | 438 static PP_Resource Pnacl_M14_PPB_FileRef_Create(PP_Resource file_system, const c
har* path) { |
420 const struct PPB_FileRef_1_0 *iface = Pnacl_WrapperInfo_PPB_FileRef_1_0.real_i
face; | 439 const struct PPB_FileRef_1_0 *iface = Pnacl_WrapperInfo_PPB_FileRef_1_0.real_i
face; |
421 return iface->Create(file_system, path); | 440 return iface->Create(file_system, path); |
422 } | 441 } |
423 | 442 |
424 static PP_Bool Pnacl_M14_PPB_FileRef_IsFileRef(PP_Resource resource) { | 443 static PP_Bool Pnacl_M14_PPB_FileRef_IsFileRef(PP_Resource resource) { |
425 const struct PPB_FileRef_1_0 *iface = Pnacl_WrapperInfo_PPB_FileRef_1_0.real_i
face; | 444 const struct PPB_FileRef_1_0 *iface = Pnacl_WrapperInfo_PPB_FileRef_1_0.real_i
face; |
426 return iface->IsFileRef(resource); | 445 return iface->IsFileRef(resource); |
(...skipping 1537 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1964 return iface->IsFileChooser(resource); | 1983 return iface->IsFileChooser(resource); |
1965 } | 1984 } |
1966 | 1985 |
1967 static int32_t Pnacl_M19_PPB_FileChooser_Dev_Show(PP_Resource chooser, struct PP
_ArrayOutput* output, struct PP_CompletionCallback* callback) { | 1986 static int32_t Pnacl_M19_PPB_FileChooser_Dev_Show(PP_Resource chooser, struct PP
_ArrayOutput* output, struct PP_CompletionCallback* callback) { |
1968 const struct PPB_FileChooser_Dev_0_6 *iface = Pnacl_WrapperInfo_PPB_FileChoose
r_Dev_0_6.real_iface; | 1987 const struct PPB_FileChooser_Dev_0_6 *iface = Pnacl_WrapperInfo_PPB_FileChoose
r_Dev_0_6.real_iface; |
1969 return iface->Show(chooser, *output, *callback); | 1988 return iface->Show(chooser, *output, *callback); |
1970 } | 1989 } |
1971 | 1990 |
1972 /* End wrapper methods for PPB_FileChooser_Dev_0_6 */ | 1991 /* End wrapper methods for PPB_FileChooser_Dev_0_6 */ |
1973 | 1992 |
1974 /* Begin wrapper methods for PPB_FileIO_Dev_0_1 */ | |
1975 | |
1976 static int32_t Pnacl_M31_PPB_FileIO_Dev_Map(PP_Resource file_io, int64_t length,
uint32_t map_protection, uint32_t map_flags, int64_t offset, void** address, st
ruct PP_CompletionCallback* callback) { | |
1977 const struct PPB_FileIO_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_FileIO_Dev_0_1.
real_iface; | |
1978 return iface->Map(file_io, length, map_protection, map_flags, offset, address,
*callback); | |
1979 } | |
1980 | |
1981 static void Pnacl_M31_PPB_FileIO_Dev_Unmap(PP_Resource file_io, void* address, i
nt64_t length) { | |
1982 const struct PPB_FileIO_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_FileIO_Dev_0_1.
real_iface; | |
1983 iface->Unmap(file_io, address, length); | |
1984 } | |
1985 | |
1986 static int64_t Pnacl_M31_PPB_FileIO_Dev_GetMapPageSize(PP_Resource file_io) { | |
1987 const struct PPB_FileIO_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_FileIO_Dev_0_1.
real_iface; | |
1988 return iface->GetMapPageSize(file_io); | |
1989 } | |
1990 | |
1991 /* End wrapper methods for PPB_FileIO_Dev_0_1 */ | |
1992 | |
1993 /* Not generating wrapper methods for PPB_Find_Dev_0_3 */ | 1993 /* Not generating wrapper methods for PPB_Find_Dev_0_3 */ |
1994 | 1994 |
1995 /* Begin wrapper methods for PPB_Font_Dev_0_6 */ | 1995 /* Begin wrapper methods for PPB_Font_Dev_0_6 */ |
1996 | 1996 |
1997 static void Pnacl_M14_PPB_Font_Dev_GetFontFamilies(struct PP_Var* _struct_result
, PP_Instance instance) { | 1997 static void Pnacl_M14_PPB_Font_Dev_GetFontFamilies(struct PP_Var* _struct_result
, PP_Instance instance) { |
1998 const struct PPB_Font_Dev_0_6 *iface = Pnacl_WrapperInfo_PPB_Font_Dev_0_6.real
_iface; | 1998 const struct PPB_Font_Dev_0_6 *iface = Pnacl_WrapperInfo_PPB_Font_Dev_0_6.real
_iface; |
1999 *_struct_result = iface->GetFontFamilies(instance); | 1999 *_struct_result = iface->GetFontFamilies(instance); |
2000 } | 2000 } |
2001 | 2001 |
2002 static PP_Resource Pnacl_M14_PPB_Font_Dev_Create(PP_Instance instance, const str
uct PP_FontDescription_Dev* description) { | 2002 static PP_Resource Pnacl_M14_PPB_Font_Dev_Create(PP_Instance instance, const str
uct PP_FontDescription_Dev* description) { |
(...skipping 2170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4173 .Query = (int32_t (*)(PP_Resource file_io, struct PP_FileInfo* info, struct
PP_CompletionCallback callback))&Pnacl_M25_PPB_FileIO_Query, | 4173 .Query = (int32_t (*)(PP_Resource file_io, struct PP_FileInfo* info, struct
PP_CompletionCallback callback))&Pnacl_M25_PPB_FileIO_Query, |
4174 .Touch = (int32_t (*)(PP_Resource file_io, PP_Time last_access_time, PP_Time
last_modified_time, struct PP_CompletionCallback callback))&Pnacl_M25_PPB_FileI
O_Touch, | 4174 .Touch = (int32_t (*)(PP_Resource file_io, PP_Time last_access_time, PP_Time
last_modified_time, struct PP_CompletionCallback callback))&Pnacl_M25_PPB_FileI
O_Touch, |
4175 .Read = (int32_t (*)(PP_Resource file_io, int64_t offset, char* buffer, int3
2_t bytes_to_read, struct PP_CompletionCallback callback))&Pnacl_M25_PPB_FileIO_
Read, | 4175 .Read = (int32_t (*)(PP_Resource file_io, int64_t offset, char* buffer, int3
2_t bytes_to_read, struct PP_CompletionCallback callback))&Pnacl_M25_PPB_FileIO_
Read, |
4176 .Write = (int32_t (*)(PP_Resource file_io, int64_t offset, const char* buffe
r, int32_t bytes_to_write, struct PP_CompletionCallback callback))&Pnacl_M25_PPB
_FileIO_Write, | 4176 .Write = (int32_t (*)(PP_Resource file_io, int64_t offset, const char* buffe
r, int32_t bytes_to_write, struct PP_CompletionCallback callback))&Pnacl_M25_PPB
_FileIO_Write, |
4177 .SetLength = (int32_t (*)(PP_Resource file_io, int64_t length, struct PP_Com
pletionCallback callback))&Pnacl_M25_PPB_FileIO_SetLength, | 4177 .SetLength = (int32_t (*)(PP_Resource file_io, int64_t length, struct PP_Com
pletionCallback callback))&Pnacl_M25_PPB_FileIO_SetLength, |
4178 .Flush = (int32_t (*)(PP_Resource file_io, struct PP_CompletionCallback call
back))&Pnacl_M25_PPB_FileIO_Flush, | 4178 .Flush = (int32_t (*)(PP_Resource file_io, struct PP_CompletionCallback call
back))&Pnacl_M25_PPB_FileIO_Flush, |
4179 .Close = (void (*)(PP_Resource file_io))&Pnacl_M25_PPB_FileIO_Close, | 4179 .Close = (void (*)(PP_Resource file_io))&Pnacl_M25_PPB_FileIO_Close, |
4180 .ReadToArray = (int32_t (*)(PP_Resource file_io, int64_t offset, int32_t max
_read_length, struct PP_ArrayOutput* output, struct PP_CompletionCallback callba
ck))&Pnacl_M25_PPB_FileIO_ReadToArray | 4180 .ReadToArray = (int32_t (*)(PP_Resource file_io, int64_t offset, int32_t max
_read_length, struct PP_ArrayOutput* output, struct PP_CompletionCallback callba
ck))&Pnacl_M25_PPB_FileIO_ReadToArray |
4181 }; | 4181 }; |
4182 | 4182 |
| 4183 static struct PPB_FileMapping_0_1 Pnacl_Wrappers_PPB_FileMapping_0_1 = { |
| 4184 .Map = (int32_t (*)(PP_Instance instance, PP_Resource file_io, int64_t lengt
h, uint32_t map_protection, uint32_t map_flags, int64_t offset, void** address,
struct PP_CompletionCallback callback))&Pnacl_M34_PPB_FileMapping_Map, |
| 4185 .Unmap = (int32_t (*)(PP_Instance instance, const void* address, int64_t len
gth, struct PP_CompletionCallback callback))&Pnacl_M34_PPB_FileMapping_Unmap, |
| 4186 .GetMapPageSize = (int64_t (*)(PP_Instance instance))&Pnacl_M34_PPB_FileMapp
ing_GetMapPageSize |
| 4187 }; |
| 4188 |
4183 static struct PPB_FileRef_1_0 Pnacl_Wrappers_PPB_FileRef_1_0 = { | 4189 static struct PPB_FileRef_1_0 Pnacl_Wrappers_PPB_FileRef_1_0 = { |
4184 .Create = (PP_Resource (*)(PP_Resource file_system, const char* path))&Pnacl
_M14_PPB_FileRef_Create, | 4190 .Create = (PP_Resource (*)(PP_Resource file_system, const char* path))&Pnacl
_M14_PPB_FileRef_Create, |
4185 .IsFileRef = (PP_Bool (*)(PP_Resource resource))&Pnacl_M14_PPB_FileRef_IsFil
eRef, | 4191 .IsFileRef = (PP_Bool (*)(PP_Resource resource))&Pnacl_M14_PPB_FileRef_IsFil
eRef, |
4186 .GetFileSystemType = (PP_FileSystemType (*)(PP_Resource file_ref))&Pnacl_M14
_PPB_FileRef_GetFileSystemType, | 4192 .GetFileSystemType = (PP_FileSystemType (*)(PP_Resource file_ref))&Pnacl_M14
_PPB_FileRef_GetFileSystemType, |
4187 .GetName = (struct PP_Var (*)(PP_Resource file_ref))&Pnacl_M14_PPB_FileRef_G
etName, | 4193 .GetName = (struct PP_Var (*)(PP_Resource file_ref))&Pnacl_M14_PPB_FileRef_G
etName, |
4188 .GetPath = (struct PP_Var (*)(PP_Resource file_ref))&Pnacl_M14_PPB_FileRef_G
etPath, | 4194 .GetPath = (struct PP_Var (*)(PP_Resource file_ref))&Pnacl_M14_PPB_FileRef_G
etPath, |
4189 .GetParent = (PP_Resource (*)(PP_Resource file_ref))&Pnacl_M14_PPB_FileRef_G
etParent, | 4195 .GetParent = (PP_Resource (*)(PP_Resource file_ref))&Pnacl_M14_PPB_FileRef_G
etParent, |
4190 .MakeDirectory = (int32_t (*)(PP_Resource directory_ref, PP_Bool make_ancest
ors, struct PP_CompletionCallback callback))&Pnacl_M14_PPB_FileRef_MakeDirectory
, | 4196 .MakeDirectory = (int32_t (*)(PP_Resource directory_ref, PP_Bool make_ancest
ors, struct PP_CompletionCallback callback))&Pnacl_M14_PPB_FileRef_MakeDirectory
, |
4191 .Touch = (int32_t (*)(PP_Resource file_ref, PP_Time last_access_time, PP_Tim
e last_modified_time, struct PP_CompletionCallback callback))&Pnacl_M14_PPB_File
Ref_Touch, | 4197 .Touch = (int32_t (*)(PP_Resource file_ref, PP_Time last_access_time, PP_Tim
e last_modified_time, struct PP_CompletionCallback callback))&Pnacl_M14_PPB_File
Ref_Touch, |
4192 .Delete = (int32_t (*)(PP_Resource file_ref, struct PP_CompletionCallback ca
llback))&Pnacl_M14_PPB_FileRef_Delete, | 4198 .Delete = (int32_t (*)(PP_Resource file_ref, struct PP_CompletionCallback ca
llback))&Pnacl_M14_PPB_FileRef_Delete, |
(...skipping 424 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4617 .Show = (int32_t (*)(PP_Resource chooser, struct PP_CompletionCallback callb
ack))&Pnacl_M16_PPB_FileChooser_Dev_Show, | 4623 .Show = (int32_t (*)(PP_Resource chooser, struct PP_CompletionCallback callb
ack))&Pnacl_M16_PPB_FileChooser_Dev_Show, |
4618 .GetNextChosenFile = (PP_Resource (*)(PP_Resource chooser))&Pnacl_M16_PPB_Fi
leChooser_Dev_GetNextChosenFile | 4624 .GetNextChosenFile = (PP_Resource (*)(PP_Resource chooser))&Pnacl_M16_PPB_Fi
leChooser_Dev_GetNextChosenFile |
4619 }; | 4625 }; |
4620 | 4626 |
4621 static struct PPB_FileChooser_Dev_0_6 Pnacl_Wrappers_PPB_FileChooser_Dev_0_6 = { | 4627 static struct PPB_FileChooser_Dev_0_6 Pnacl_Wrappers_PPB_FileChooser_Dev_0_6 = { |
4622 .Create = (PP_Resource (*)(PP_Instance instance, PP_FileChooserMode_Dev mode
, struct PP_Var accept_types))&Pnacl_M19_PPB_FileChooser_Dev_Create, | 4628 .Create = (PP_Resource (*)(PP_Instance instance, PP_FileChooserMode_Dev mode
, struct PP_Var accept_types))&Pnacl_M19_PPB_FileChooser_Dev_Create, |
4623 .IsFileChooser = (PP_Bool (*)(PP_Resource resource))&Pnacl_M19_PPB_FileChoos
er_Dev_IsFileChooser, | 4629 .IsFileChooser = (PP_Bool (*)(PP_Resource resource))&Pnacl_M19_PPB_FileChoos
er_Dev_IsFileChooser, |
4624 .Show = (int32_t (*)(PP_Resource chooser, struct PP_ArrayOutput output, stru
ct PP_CompletionCallback callback))&Pnacl_M19_PPB_FileChooser_Dev_Show | 4630 .Show = (int32_t (*)(PP_Resource chooser, struct PP_ArrayOutput output, stru
ct PP_CompletionCallback callback))&Pnacl_M19_PPB_FileChooser_Dev_Show |
4625 }; | 4631 }; |
4626 | 4632 |
4627 static struct PPB_FileIO_Dev_0_1 Pnacl_Wrappers_PPB_FileIO_Dev_0_1 = { | |
4628 .Map = (int32_t (*)(PP_Resource file_io, int64_t length, uint32_t map_protec
tion, uint32_t map_flags, int64_t offset, void** address, struct PP_CompletionCa
llback callback))&Pnacl_M31_PPB_FileIO_Dev_Map, | |
4629 .Unmap = (void (*)(PP_Resource file_io, void* address, int64_t length))&Pnac
l_M31_PPB_FileIO_Dev_Unmap, | |
4630 .GetMapPageSize = (int64_t (*)(PP_Resource file_io))&Pnacl_M31_PPB_FileIO_De
v_GetMapPageSize | |
4631 }; | |
4632 | |
4633 /* Not generating wrapper interface for PPB_Find_Dev_0_3 */ | 4633 /* Not generating wrapper interface for PPB_Find_Dev_0_3 */ |
4634 | 4634 |
4635 static struct PPB_Font_Dev_0_6 Pnacl_Wrappers_PPB_Font_Dev_0_6 = { | 4635 static struct PPB_Font_Dev_0_6 Pnacl_Wrappers_PPB_Font_Dev_0_6 = { |
4636 .GetFontFamilies = (struct PP_Var (*)(PP_Instance instance))&Pnacl_M14_PPB_F
ont_Dev_GetFontFamilies, | 4636 .GetFontFamilies = (struct PP_Var (*)(PP_Instance instance))&Pnacl_M14_PPB_F
ont_Dev_GetFontFamilies, |
4637 .Create = (PP_Resource (*)(PP_Instance instance, const struct PP_FontDescrip
tion_Dev* description))&Pnacl_M14_PPB_Font_Dev_Create, | 4637 .Create = (PP_Resource (*)(PP_Instance instance, const struct PP_FontDescrip
tion_Dev* description))&Pnacl_M14_PPB_Font_Dev_Create, |
4638 .IsFont = (PP_Bool (*)(PP_Resource resource))&Pnacl_M14_PPB_Font_Dev_IsFont, | 4638 .IsFont = (PP_Bool (*)(PP_Resource resource))&Pnacl_M14_PPB_Font_Dev_IsFont, |
4639 .Describe = (PP_Bool (*)(PP_Resource font, struct PP_FontDescription_Dev* de
scription, struct PP_FontMetrics_Dev* metrics))&Pnacl_M14_PPB_Font_Dev_Describe, | 4639 .Describe = (PP_Bool (*)(PP_Resource font, struct PP_FontDescription_Dev* de
scription, struct PP_FontMetrics_Dev* metrics))&Pnacl_M14_PPB_Font_Dev_Describe, |
4640 .DrawTextAt = (PP_Bool (*)(PP_Resource font, PP_Resource image_data, const s
truct PP_TextRun_Dev* text, const struct PP_Point* position, uint32_t color, con
st struct PP_Rect* clip, PP_Bool image_data_is_opaque))&Pnacl_M14_PPB_Font_Dev_D
rawTextAt, | 4640 .DrawTextAt = (PP_Bool (*)(PP_Resource font, PP_Resource image_data, const s
truct PP_TextRun_Dev* text, const struct PP_Point* position, uint32_t color, con
st struct PP_Rect* clip, PP_Bool image_data_is_opaque))&Pnacl_M14_PPB_Font_Dev_D
rawTextAt, |
4641 .MeasureText = (int32_t (*)(PP_Resource font, const struct PP_TextRun_Dev* t
ext))&Pnacl_M14_PPB_Font_Dev_MeasureText, | 4641 .MeasureText = (int32_t (*)(PP_Resource font, const struct PP_TextRun_Dev* t
ext))&Pnacl_M14_PPB_Font_Dev_MeasureText, |
4642 .CharacterOffsetForPixel = (uint32_t (*)(PP_Resource font, const struct PP_T
extRun_Dev* text, int32_t pixel_position))&Pnacl_M14_PPB_Font_Dev_CharacterOffse
tForPixel, | 4642 .CharacterOffsetForPixel = (uint32_t (*)(PP_Resource font, const struct PP_T
extRun_Dev* text, int32_t pixel_position))&Pnacl_M14_PPB_Font_Dev_CharacterOffse
tForPixel, |
(...skipping 593 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5236 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_FileIO_1_0, | 5236 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_FileIO_1_0, |
5237 .real_iface = NULL | 5237 .real_iface = NULL |
5238 }; | 5238 }; |
5239 | 5239 |
5240 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileIO_1_1 = { | 5240 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileIO_1_1 = { |
5241 .iface_macro = PPB_FILEIO_INTERFACE_1_1, | 5241 .iface_macro = PPB_FILEIO_INTERFACE_1_1, |
5242 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_FileIO_1_1, | 5242 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_FileIO_1_1, |
5243 .real_iface = NULL | 5243 .real_iface = NULL |
5244 }; | 5244 }; |
5245 | 5245 |
| 5246 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileMapping_0_1 = { |
| 5247 .iface_macro = PPB_FILEMAPPING_INTERFACE_0_1, |
| 5248 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_FileMapping_0_1, |
| 5249 .real_iface = NULL |
| 5250 }; |
| 5251 |
5246 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileRef_1_0 = { | 5252 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileRef_1_0 = { |
5247 .iface_macro = PPB_FILEREF_INTERFACE_1_0, | 5253 .iface_macro = PPB_FILEREF_INTERFACE_1_0, |
5248 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_FileRef_1_0, | 5254 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_FileRef_1_0, |
5249 .real_iface = NULL | 5255 .real_iface = NULL |
5250 }; | 5256 }; |
5251 | 5257 |
5252 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileRef_1_1 = { | 5258 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileRef_1_1 = { |
5253 .iface_macro = PPB_FILEREF_INTERFACE_1_1, | 5259 .iface_macro = PPB_FILEREF_INTERFACE_1_1, |
5254 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_FileRef_1_1, | 5260 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_FileRef_1_1, |
5255 .real_iface = NULL | 5261 .real_iface = NULL |
(...skipping 238 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5494 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_FileChooser_Dev_0_5, | 5500 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_FileChooser_Dev_0_5, |
5495 .real_iface = NULL | 5501 .real_iface = NULL |
5496 }; | 5502 }; |
5497 | 5503 |
5498 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_6 = { | 5504 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_6 = { |
5499 .iface_macro = PPB_FILECHOOSER_DEV_INTERFACE_0_6, | 5505 .iface_macro = PPB_FILECHOOSER_DEV_INTERFACE_0_6, |
5500 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_FileChooser_Dev_0_6, | 5506 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_FileChooser_Dev_0_6, |
5501 .real_iface = NULL | 5507 .real_iface = NULL |
5502 }; | 5508 }; |
5503 | 5509 |
5504 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileIO_Dev_0_1 = { | |
5505 .iface_macro = PPB_FILEIO_DEV_INTERFACE_0_1, | |
5506 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_FileIO_Dev_0_1, | |
5507 .real_iface = NULL | |
5508 }; | |
5509 | |
5510 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Font_Dev_0_6 = { | 5510 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Font_Dev_0_6 = { |
5511 .iface_macro = PPB_FONT_DEV_INTERFACE_0_6, | 5511 .iface_macro = PPB_FONT_DEV_INTERFACE_0_6, |
5512 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_Font_Dev_0_6, | 5512 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_Font_Dev_0_6, |
5513 .real_iface = NULL | 5513 .real_iface = NULL |
5514 }; | 5514 }; |
5515 | 5515 |
5516 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_1 = { | 5516 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_1 = { |
5517 .iface_macro = PPB_IME_INPUT_EVENT_DEV_INTERFACE_0_1, | 5517 .iface_macro = PPB_IME_INPUT_EVENT_DEV_INTERFACE_0_1, |
5518 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_IMEInputEvent_Dev_0_1, | 5518 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_IMEInputEvent_Dev_0_1, |
5519 .real_iface = NULL | 5519 .real_iface = NULL |
(...skipping 309 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5829 .iface_macro = PPB_EXT_SOCKET_DEV_INTERFACE_0_2, | 5829 .iface_macro = PPB_EXT_SOCKET_DEV_INTERFACE_0_2, |
5830 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_Ext_Socket_Dev_0_2, | 5830 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_Ext_Socket_Dev_0_2, |
5831 .real_iface = NULL | 5831 .real_iface = NULL |
5832 }; | 5832 }; |
5833 | 5833 |
5834 static struct __PnaclWrapperInfo *s_ppb_wrappers[] = { | 5834 static struct __PnaclWrapperInfo *s_ppb_wrappers[] = { |
5835 &Pnacl_WrapperInfo_PPB_Console_1_0, | 5835 &Pnacl_WrapperInfo_PPB_Console_1_0, |
5836 &Pnacl_WrapperInfo_PPB_Core_1_0, | 5836 &Pnacl_WrapperInfo_PPB_Core_1_0, |
5837 &Pnacl_WrapperInfo_PPB_FileIO_1_0, | 5837 &Pnacl_WrapperInfo_PPB_FileIO_1_0, |
5838 &Pnacl_WrapperInfo_PPB_FileIO_1_1, | 5838 &Pnacl_WrapperInfo_PPB_FileIO_1_1, |
| 5839 &Pnacl_WrapperInfo_PPB_FileMapping_0_1, |
5839 &Pnacl_WrapperInfo_PPB_FileRef_1_0, | 5840 &Pnacl_WrapperInfo_PPB_FileRef_1_0, |
5840 &Pnacl_WrapperInfo_PPB_FileRef_1_1, | 5841 &Pnacl_WrapperInfo_PPB_FileRef_1_1, |
5841 &Pnacl_WrapperInfo_PPB_FileRef_1_2, | 5842 &Pnacl_WrapperInfo_PPB_FileRef_1_2, |
5842 &Pnacl_WrapperInfo_PPB_FileSystem_1_0, | 5843 &Pnacl_WrapperInfo_PPB_FileSystem_1_0, |
5843 &Pnacl_WrapperInfo_PPB_Graphics2D_1_0, | 5844 &Pnacl_WrapperInfo_PPB_Graphics2D_1_0, |
5844 &Pnacl_WrapperInfo_PPB_Graphics2D_1_1, | 5845 &Pnacl_WrapperInfo_PPB_Graphics2D_1_1, |
5845 &Pnacl_WrapperInfo_PPB_Graphics3D_1_0, | 5846 &Pnacl_WrapperInfo_PPB_Graphics3D_1_0, |
5846 &Pnacl_WrapperInfo_PPB_HostResolver_1_0, | 5847 &Pnacl_WrapperInfo_PPB_HostResolver_1_0, |
5847 &Pnacl_WrapperInfo_PPB_MouseInputEvent_1_0, | 5848 &Pnacl_WrapperInfo_PPB_MouseInputEvent_1_0, |
5848 &Pnacl_WrapperInfo_PPB_MouseInputEvent_1_1, | 5849 &Pnacl_WrapperInfo_PPB_MouseInputEvent_1_1, |
(...skipping 22 matching lines...) Expand all Loading... |
5871 &Pnacl_WrapperInfo_PPB_VarArray_1_0, | 5872 &Pnacl_WrapperInfo_PPB_VarArray_1_0, |
5872 &Pnacl_WrapperInfo_PPB_VarArrayBuffer_1_0, | 5873 &Pnacl_WrapperInfo_PPB_VarArrayBuffer_1_0, |
5873 &Pnacl_WrapperInfo_PPB_VarDictionary_1_0, | 5874 &Pnacl_WrapperInfo_PPB_VarDictionary_1_0, |
5874 &Pnacl_WrapperInfo_PPB_WebSocket_1_0, | 5875 &Pnacl_WrapperInfo_PPB_WebSocket_1_0, |
5875 &Pnacl_WrapperInfo_PPB_Alarms_Dev_0_1, | 5876 &Pnacl_WrapperInfo_PPB_Alarms_Dev_0_1, |
5876 &Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_3, | 5877 &Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_3, |
5877 &Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_4, | 5878 &Pnacl_WrapperInfo_PPB_AudioInput_Dev_0_4, |
5878 &Pnacl_WrapperInfo_PPB_DeviceRef_Dev_0_1, | 5879 &Pnacl_WrapperInfo_PPB_DeviceRef_Dev_0_1, |
5879 &Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_5, | 5880 &Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_5, |
5880 &Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_6, | 5881 &Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_6, |
5881 &Pnacl_WrapperInfo_PPB_FileIO_Dev_0_1, | |
5882 &Pnacl_WrapperInfo_PPB_Font_Dev_0_6, | 5882 &Pnacl_WrapperInfo_PPB_Font_Dev_0_6, |
5883 &Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_1, | 5883 &Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_1, |
5884 &Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_2, | 5884 &Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_2, |
5885 &Pnacl_WrapperInfo_PPB_KeyboardInputEvent_Dev_0_2, | 5885 &Pnacl_WrapperInfo_PPB_KeyboardInputEvent_Dev_0_2, |
5886 &Pnacl_WrapperInfo_PPB_Printing_Dev_0_7, | 5886 &Pnacl_WrapperInfo_PPB_Printing_Dev_0_7, |
5887 &Pnacl_WrapperInfo_PPB_TrueTypeFont_Dev_0_1, | 5887 &Pnacl_WrapperInfo_PPB_TrueTypeFont_Dev_0_1, |
5888 &Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_6, | 5888 &Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_6, |
5889 &Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_7, | 5889 &Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_7, |
5890 &Pnacl_WrapperInfo_PPB_VarResource_Dev_0_1, | 5890 &Pnacl_WrapperInfo_PPB_VarResource_Dev_0_1, |
5891 &Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_3, | 5891 &Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_3, |
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6010 if (NULL == iface) return NULL; | 6010 if (NULL == iface) return NULL; |
6011 wrapper->real_iface = iface; | 6011 wrapper->real_iface = iface; |
6012 } | 6012 } |
6013 | 6013 |
6014 if (wrapper->wrapped_iface) { | 6014 if (wrapper->wrapped_iface) { |
6015 return wrapper->wrapped_iface; | 6015 return wrapper->wrapped_iface; |
6016 } else { | 6016 } else { |
6017 return wrapper->real_iface; | 6017 return wrapper->real_iface; |
6018 } | 6018 } |
6019 } | 6019 } |
OLD | NEW |