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 | 5 |
6 /* Last generated from IDL: Tue Sep 4 17:22:07 2012. */ | 6 /* Last generated from IDL: Sun Sep 16 10:28:00 2012. */ |
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_audio_input_dev.h" | 10 #include "ppapi/c/dev/ppb_audio_input_dev.h" |
11 #include "ppapi/c/dev/ppb_buffer_dev.h" | 11 #include "ppapi/c/dev/ppb_buffer_dev.h" |
12 #include "ppapi/c/dev/ppb_console_dev.h" | 12 #include "ppapi/c/dev/ppb_console_dev.h" |
13 #include "ppapi/c/dev/ppb_cursor_control_dev.h" | 13 #include "ppapi/c/dev/ppb_cursor_control_dev.h" |
14 #include "ppapi/c/dev/ppb_device_ref_dev.h" | 14 #include "ppapi/c/dev/ppb_device_ref_dev.h" |
15 #include "ppapi/c/dev/ppb_file_chooser_dev.h" | 15 #include "ppapi/c/dev/ppb_file_chooser_dev.h" |
16 #include "ppapi/c/dev/ppb_find_dev.h" | 16 #include "ppapi/c/dev/ppb_find_dev.h" |
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
163 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_6; | 163 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_6; |
164 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Find_Dev_0_3; | 164 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Find_Dev_0_3; |
165 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Font_Dev_0_6; | 165 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Font_Dev_0_6; |
166 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Graphics2D_Dev_0_1; | 166 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Graphics2D_Dev_0_1; |
167 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_1; | 167 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_1; |
168 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_2; | 168 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_2; |
169 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_KeyboardInputEvent_Dev_0_
1; | 169 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_KeyboardInputEvent_Dev_0_
1; |
170 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Memory_Dev_0_1; | 170 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Memory_Dev_0_1; |
171 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MessageLoop_Dev_0_1; | 171 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MessageLoop_Dev_0_1; |
172 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Printing_Dev_0_6; | 172 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Printing_Dev_0_6; |
| 173 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Printing_Dev_0_7; |
173 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_ResourceArray_Dev_0_1; | 174 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_ResourceArray_Dev_0_1; |
174 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Scrollbar_Dev_0_5; | 175 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Scrollbar_Dev_0_5; |
175 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Testing_Dev_0_7; | 176 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Testing_Dev_0_7; |
176 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Testing_Dev_0_8; | 177 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Testing_Dev_0_8; |
177 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Testing_Dev_0_9; | 178 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Testing_Dev_0_9; |
178 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Testing_Dev_0_91; | 179 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Testing_Dev_0_91; |
179 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TextInput_Dev_0_1; | 180 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TextInput_Dev_0_1; |
180 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TextInput_Dev_0_2; | 181 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TextInput_Dev_0_2; |
181 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_6; | 182 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_6; |
182 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_1; | 183 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_1; |
(...skipping 1442 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1625 static __attribute__((pnaclcall)) | 1626 static __attribute__((pnaclcall)) |
1626 int32_t Pnacl_M18_PPB_MessageLoop_Dev_PostQuit(PP_Resource message_loop, PP_Bool
should_destroy) { | 1627 int32_t Pnacl_M18_PPB_MessageLoop_Dev_PostQuit(PP_Resource message_loop, PP_Bool
should_destroy) { |
1627 const struct PPB_MessageLoop_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_MessageLoo
p_Dev_0_1.real_iface; | 1628 const struct PPB_MessageLoop_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_MessageLoo
p_Dev_0_1.real_iface; |
1628 return iface->PostQuit(message_loop, should_destroy); | 1629 return iface->PostQuit(message_loop, should_destroy); |
1629 } | 1630 } |
1630 | 1631 |
1631 /* End wrapper methods for PPB_MessageLoop_Dev_0_1 */ | 1632 /* End wrapper methods for PPB_MessageLoop_Dev_0_1 */ |
1632 | 1633 |
1633 /* Not generating wrapper methods for PPB_Printing_Dev_0_6 */ | 1634 /* Not generating wrapper methods for PPB_Printing_Dev_0_6 */ |
1634 | 1635 |
| 1636 /* Begin wrapper methods for PPB_Printing_Dev_0_7 */ |
| 1637 |
| 1638 static __attribute__((pnaclcall)) |
| 1639 PP_Resource Pnacl_M23_PPB_Printing_Dev_Create(PP_Instance instance) { |
| 1640 const struct PPB_Printing_Dev_0_7 *iface = Pnacl_WrapperInfo_PPB_Printing_Dev_
0_7.real_iface; |
| 1641 return iface->Create(instance); |
| 1642 } |
| 1643 |
| 1644 static __attribute__((pnaclcall)) |
| 1645 int32_t Pnacl_M23_PPB_Printing_Dev_GetDefaultPrintSettings(PP_Resource resource,
struct PP_PrintSettings_Dev* print_settings, struct PP_CompletionCallback callb
ack) { |
| 1646 const struct PPB_Printing_Dev_0_7 *iface = Pnacl_WrapperInfo_PPB_Printing_Dev_
0_7.real_iface; |
| 1647 return iface->GetDefaultPrintSettings(resource, print_settings, callback); |
| 1648 } |
| 1649 |
| 1650 /* End wrapper methods for PPB_Printing_Dev_0_7 */ |
| 1651 |
1635 /* Not generating wrapper methods for PPB_ResourceArray_Dev_0_1 */ | 1652 /* Not generating wrapper methods for PPB_ResourceArray_Dev_0_1 */ |
1636 | 1653 |
1637 /* Not generating wrapper methods for PPB_Scrollbar_Dev_0_5 */ | 1654 /* Not generating wrapper methods for PPB_Scrollbar_Dev_0_5 */ |
1638 | 1655 |
1639 /* Not generating wrapper methods for PPB_Testing_Dev_0_7 */ | 1656 /* Not generating wrapper methods for PPB_Testing_Dev_0_7 */ |
1640 | 1657 |
1641 /* Not generating wrapper methods for PPB_Testing_Dev_0_8 */ | 1658 /* Not generating wrapper methods for PPB_Testing_Dev_0_8 */ |
1642 | 1659 |
1643 /* Begin wrapper methods for PPB_Testing_Dev_0_9 */ | 1660 /* Begin wrapper methods for PPB_Testing_Dev_0_9 */ |
1644 | 1661 |
(...skipping 1628 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3273 static __attribute__((pnaclcall)) | 3290 static __attribute__((pnaclcall)) |
3274 struct PP_Var Pnacl_M19_PPB_X509Certificate_Private_GetField(PP_Resource resourc
e, PP_X509Certificate_Private_Field field) { | 3291 struct PP_Var Pnacl_M19_PPB_X509Certificate_Private_GetField(PP_Resource resourc
e, PP_X509Certificate_Private_Field field) { |
3275 const struct PPB_X509Certificate_Private_0_1 *iface = Pnacl_WrapperInfo_PPB_X5
09Certificate_Private_0_1.real_iface; | 3292 const struct PPB_X509Certificate_Private_0_1 *iface = Pnacl_WrapperInfo_PPB_X5
09Certificate_Private_0_1.real_iface; |
3276 return iface->GetField(resource, field); | 3293 return iface->GetField(resource, field); |
3277 } | 3294 } |
3278 | 3295 |
3279 /* End wrapper methods for PPB_X509Certificate_Private_0_1 */ | 3296 /* End wrapper methods for PPB_X509Certificate_Private_0_1 */ |
3280 | 3297 |
3281 /* Begin wrapper methods for PPP_ContentDecryptor_Private_0_1 */ | 3298 /* Begin wrapper methods for PPP_ContentDecryptor_Private_0_1 */ |
3282 | 3299 |
3283 static PP_Bool Pnacl_M23_PPP_ContentDecryptor_Private_GenerateKeyRequest(PP_Inst
ance instance, struct PP_Var key_system, struct PP_Var init_data) { | 3300 static void Pnacl_M23_PPP_ContentDecryptor_Private_GenerateKeyRequest(PP_Instanc
e instance, struct PP_Var key_system, struct PP_Var init_data) { |
3284 const struct PPP_ContentDecryptor_Private_0_1 *iface = Pnacl_WrapperInfo_PPP_C
ontentDecryptor_Private_0_1.real_iface; | 3301 const struct PPP_ContentDecryptor_Private_0_1 *iface = Pnacl_WrapperInfo_PPP_C
ontentDecryptor_Private_0_1.real_iface; |
3285 PP_Bool (__attribute__((pnaclcall)) *temp_fp)(PP_Instance instance, struct PP_
Var key_system, struct PP_Var init_data) = ((PP_Bool (__attribute__((pnaclcall))
*)(PP_Instance instance, struct PP_Var key_system, struct PP_Var init_data))ifa
ce->GenerateKeyRequest); | 3302 void (__attribute__((pnaclcall)) *temp_fp)(PP_Instance instance, struct PP_Var
key_system, struct PP_Var init_data) = ((void (__attribute__((pnaclcall)) *)(PP
_Instance instance, struct PP_Var key_system, struct PP_Var init_data))iface->Ge
nerateKeyRequest); |
3286 return temp_fp(instance, key_system, init_data); | 3303 temp_fp(instance, key_system, init_data); |
3287 } | 3304 } |
3288 | 3305 |
3289 static PP_Bool Pnacl_M23_PPP_ContentDecryptor_Private_AddKey(PP_Instance instanc
e, struct PP_Var session_id, struct PP_Var key, struct PP_Var init_data) { | 3306 static void Pnacl_M23_PPP_ContentDecryptor_Private_AddKey(PP_Instance instance,
struct PP_Var session_id, struct PP_Var key, struct PP_Var init_data) { |
3290 const struct PPP_ContentDecryptor_Private_0_1 *iface = Pnacl_WrapperInfo_PPP_C
ontentDecryptor_Private_0_1.real_iface; | 3307 const struct PPP_ContentDecryptor_Private_0_1 *iface = Pnacl_WrapperInfo_PPP_C
ontentDecryptor_Private_0_1.real_iface; |
3291 PP_Bool (__attribute__((pnaclcall)) *temp_fp)(PP_Instance instance, struct PP_
Var session_id, struct PP_Var key, struct PP_Var init_data) = ((PP_Bool (__attri
bute__((pnaclcall)) *)(PP_Instance instance, struct PP_Var session_id, struct PP
_Var key, struct PP_Var init_data))iface->AddKey); | 3308 void (__attribute__((pnaclcall)) *temp_fp)(PP_Instance instance, struct PP_Var
session_id, struct PP_Var key, struct PP_Var init_data) = ((void (__attribute__
((pnaclcall)) *)(PP_Instance instance, struct PP_Var session_id, struct PP_Var k
ey, struct PP_Var init_data))iface->AddKey); |
3292 return temp_fp(instance, session_id, key, init_data); | 3309 temp_fp(instance, session_id, key, init_data); |
3293 } | 3310 } |
3294 | 3311 |
3295 static PP_Bool Pnacl_M23_PPP_ContentDecryptor_Private_CancelKeyRequest(PP_Instan
ce instance, struct PP_Var session_id) { | 3312 static void Pnacl_M23_PPP_ContentDecryptor_Private_CancelKeyRequest(PP_Instance
instance, struct PP_Var session_id) { |
3296 const struct PPP_ContentDecryptor_Private_0_1 *iface = Pnacl_WrapperInfo_PPP_C
ontentDecryptor_Private_0_1.real_iface; | 3313 const struct PPP_ContentDecryptor_Private_0_1 *iface = Pnacl_WrapperInfo_PPP_C
ontentDecryptor_Private_0_1.real_iface; |
3297 PP_Bool (__attribute__((pnaclcall)) *temp_fp)(PP_Instance instance, struct PP_
Var session_id) = ((PP_Bool (__attribute__((pnaclcall)) *)(PP_Instance instance,
struct PP_Var session_id))iface->CancelKeyRequest); | 3314 void (__attribute__((pnaclcall)) *temp_fp)(PP_Instance instance, struct PP_Var
session_id) = ((void (__attribute__((pnaclcall)) *)(PP_Instance instance, struc
t PP_Var session_id))iface->CancelKeyRequest); |
3298 return temp_fp(instance, session_id); | 3315 temp_fp(instance, session_id); |
3299 } | 3316 } |
3300 | 3317 |
3301 static PP_Bool Pnacl_M23_PPP_ContentDecryptor_Private_Decrypt(PP_Instance instan
ce, PP_Resource encrypted_block, const struct PP_EncryptedBlockInfo* encrypted_b
lock_info) { | 3318 static void Pnacl_M23_PPP_ContentDecryptor_Private_Decrypt(PP_Instance instance,
PP_Resource encrypted_block, const struct PP_EncryptedBlockInfo* encrypted_bloc
k_info) { |
3302 const struct PPP_ContentDecryptor_Private_0_1 *iface = Pnacl_WrapperInfo_PPP_C
ontentDecryptor_Private_0_1.real_iface; | 3319 const struct PPP_ContentDecryptor_Private_0_1 *iface = Pnacl_WrapperInfo_PPP_C
ontentDecryptor_Private_0_1.real_iface; |
3303 PP_Bool (__attribute__((pnaclcall)) *temp_fp)(PP_Instance instance, PP_Resourc
e encrypted_block, const struct PP_EncryptedBlockInfo* encrypted_block_info) = (
(PP_Bool (__attribute__((pnaclcall)) *)(PP_Instance instance, PP_Resource encryp
ted_block, const struct PP_EncryptedBlockInfo* encrypted_block_info))iface->Decr
ypt); | 3320 void (__attribute__((pnaclcall)) *temp_fp)(PP_Instance instance, PP_Resource e
ncrypted_block, const struct PP_EncryptedBlockInfo* encrypted_block_info) = ((vo
id (__attribute__((pnaclcall)) *)(PP_Instance instance, PP_Resource encrypted_bl
ock, const struct PP_EncryptedBlockInfo* encrypted_block_info))iface->Decrypt); |
3304 return temp_fp(instance, encrypted_block, encrypted_block_info); | 3321 temp_fp(instance, encrypted_block, encrypted_block_info); |
3305 } | 3322 } |
3306 | 3323 |
3307 static PP_Bool Pnacl_M23_PPP_ContentDecryptor_Private_DecryptAndDecode(PP_Instan
ce instance, PP_Resource encrypted_block, const struct PP_EncryptedBlockInfo* en
crypted_block_info) { | 3324 static void Pnacl_M23_PPP_ContentDecryptor_Private_DecryptAndDecode(PP_Instance
instance, PP_Resource encrypted_block, const struct PP_EncryptedBlockInfo* encry
pted_block_info) { |
3308 const struct PPP_ContentDecryptor_Private_0_1 *iface = Pnacl_WrapperInfo_PPP_C
ontentDecryptor_Private_0_1.real_iface; | 3325 const struct PPP_ContentDecryptor_Private_0_1 *iface = Pnacl_WrapperInfo_PPP_C
ontentDecryptor_Private_0_1.real_iface; |
3309 PP_Bool (__attribute__((pnaclcall)) *temp_fp)(PP_Instance instance, PP_Resourc
e encrypted_block, const struct PP_EncryptedBlockInfo* encrypted_block_info) = (
(PP_Bool (__attribute__((pnaclcall)) *)(PP_Instance instance, PP_Resource encryp
ted_block, const struct PP_EncryptedBlockInfo* encrypted_block_info))iface->Decr
yptAndDecode); | 3326 void (__attribute__((pnaclcall)) *temp_fp)(PP_Instance instance, PP_Resource e
ncrypted_block, const struct PP_EncryptedBlockInfo* encrypted_block_info) = ((vo
id (__attribute__((pnaclcall)) *)(PP_Instance instance, PP_Resource encrypted_bl
ock, const struct PP_EncryptedBlockInfo* encrypted_block_info))iface->DecryptAnd
Decode); |
3310 return temp_fp(instance, encrypted_block, encrypted_block_info); | 3327 temp_fp(instance, encrypted_block, encrypted_block_info); |
3311 } | 3328 } |
3312 | 3329 |
3313 /* End wrapper methods for PPP_ContentDecryptor_Private_0_1 */ | 3330 /* End wrapper methods for PPP_ContentDecryptor_Private_0_1 */ |
3314 | 3331 |
3315 /* Not generating wrapper methods for PPP_Flash_BrowserOperations_1_0 */ | 3332 /* Not generating wrapper methods for PPP_Flash_BrowserOperations_1_0 */ |
3316 | 3333 |
3317 /* Not generating wrapper methods for PPP_Flash_BrowserOperations_1_2 */ | 3334 /* Not generating wrapper methods for PPP_Flash_BrowserOperations_1_2 */ |
3318 | 3335 |
3319 /* Not generating wrapper methods for PPP_Flash_BrowserOperations_1_3 */ | 3336 /* Not generating wrapper methods for PPP_Flash_BrowserOperations_1_3 */ |
3320 | 3337 |
(...skipping 358 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3679 .GetForMainThread = (PP_Resource (*)())&Pnacl_M18_PPB_MessageLoop_Dev_GetFor
MainThread, | 3696 .GetForMainThread = (PP_Resource (*)())&Pnacl_M18_PPB_MessageLoop_Dev_GetFor
MainThread, |
3680 .GetCurrent = (PP_Resource (*)())&Pnacl_M18_PPB_MessageLoop_Dev_GetCurrent, | 3697 .GetCurrent = (PP_Resource (*)())&Pnacl_M18_PPB_MessageLoop_Dev_GetCurrent, |
3681 .AttachToCurrentThread = (int32_t (*)(PP_Resource message_loop))&Pnacl_M18_P
PB_MessageLoop_Dev_AttachToCurrentThread, | 3698 .AttachToCurrentThread = (int32_t (*)(PP_Resource message_loop))&Pnacl_M18_P
PB_MessageLoop_Dev_AttachToCurrentThread, |
3682 .Run = (int32_t (*)(PP_Resource message_loop))&Pnacl_M18_PPB_MessageLoop_Dev
_Run, | 3699 .Run = (int32_t (*)(PP_Resource message_loop))&Pnacl_M18_PPB_MessageLoop_Dev
_Run, |
3683 .PostWork = (int32_t (*)(PP_Resource message_loop, struct PP_CompletionCallb
ack callback, int64_t delay_ms))&Pnacl_M18_PPB_MessageLoop_Dev_PostWork, | 3700 .PostWork = (int32_t (*)(PP_Resource message_loop, struct PP_CompletionCallb
ack callback, int64_t delay_ms))&Pnacl_M18_PPB_MessageLoop_Dev_PostWork, |
3684 .PostQuit = (int32_t (*)(PP_Resource message_loop, PP_Bool should_destroy))&
Pnacl_M18_PPB_MessageLoop_Dev_PostQuit | 3701 .PostQuit = (int32_t (*)(PP_Resource message_loop, PP_Bool should_destroy))&
Pnacl_M18_PPB_MessageLoop_Dev_PostQuit |
3685 }; | 3702 }; |
3686 | 3703 |
3687 /* Not generating wrapper interface for PPB_Printing_Dev_0_6 */ | 3704 /* Not generating wrapper interface for PPB_Printing_Dev_0_6 */ |
3688 | 3705 |
| 3706 struct PPB_Printing_Dev_0_7 Pnacl_Wrappers_PPB_Printing_Dev_0_7 = { |
| 3707 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M23_PPB_Printing_Dev
_Create, |
| 3708 .GetDefaultPrintSettings = (int32_t (*)(PP_Resource resource, struct PP_Prin
tSettings_Dev* print_settings, struct PP_CompletionCallback callback))&Pnacl_M23
_PPB_Printing_Dev_GetDefaultPrintSettings |
| 3709 }; |
| 3710 |
3689 /* Not generating wrapper interface for PPB_ResourceArray_Dev_0_1 */ | 3711 /* Not generating wrapper interface for PPB_ResourceArray_Dev_0_1 */ |
3690 | 3712 |
3691 /* Not generating wrapper interface for PPB_Scrollbar_Dev_0_5 */ | 3713 /* Not generating wrapper interface for PPB_Scrollbar_Dev_0_5 */ |
3692 | 3714 |
3693 /* Not generating wrapper interface for PPB_Testing_Dev_0_7 */ | 3715 /* Not generating wrapper interface for PPB_Testing_Dev_0_7 */ |
3694 | 3716 |
3695 /* Not generating wrapper interface for PPB_Testing_Dev_0_8 */ | 3717 /* Not generating wrapper interface for PPB_Testing_Dev_0_8 */ |
3696 | 3718 |
3697 struct PPB_Testing_Dev_0_9 Pnacl_Wrappers_PPB_Testing_Dev_0_9 = { | 3719 struct PPB_Testing_Dev_0_9 Pnacl_Wrappers_PPB_Testing_Dev_0_9 = { |
3698 .ReadImageData = (PP_Bool (*)(PP_Resource device_context_2d, PP_Resource ima
ge, const struct PP_Point* top_left))&Pnacl_M17_PPB_Testing_Dev_ReadImageData, | 3720 .ReadImageData = (PP_Bool (*)(PP_Resource device_context_2d, PP_Resource ima
ge, const struct PP_Point* top_left))&Pnacl_M17_PPB_Testing_Dev_ReadImageData, |
(...skipping 366 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4065 }; | 4087 }; |
4066 | 4088 |
4067 struct PPB_X509Certificate_Private_0_1 Pnacl_Wrappers_PPB_X509Certificate_Privat
e_0_1 = { | 4089 struct PPB_X509Certificate_Private_0_1 Pnacl_Wrappers_PPB_X509Certificate_Privat
e_0_1 = { |
4068 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M19_PPB_X509Certific
ate_Private_Create, | 4090 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M19_PPB_X509Certific
ate_Private_Create, |
4069 .IsX509CertificatePrivate = (PP_Bool (*)(PP_Resource resource))&Pnacl_M19_PP
B_X509Certificate_Private_IsX509CertificatePrivate, | 4091 .IsX509CertificatePrivate = (PP_Bool (*)(PP_Resource resource))&Pnacl_M19_PP
B_X509Certificate_Private_IsX509CertificatePrivate, |
4070 .Initialize = (PP_Bool (*)(PP_Resource resource, const char* bytes, uint32_t
length))&Pnacl_M19_PPB_X509Certificate_Private_Initialize, | 4092 .Initialize = (PP_Bool (*)(PP_Resource resource, const char* bytes, uint32_t
length))&Pnacl_M19_PPB_X509Certificate_Private_Initialize, |
4071 .GetField = (struct PP_Var (*)(PP_Resource resource, PP_X509Certificate_Priv
ate_Field field))&Pnacl_M19_PPB_X509Certificate_Private_GetField | 4093 .GetField = (struct PP_Var (*)(PP_Resource resource, PP_X509Certificate_Priv
ate_Field field))&Pnacl_M19_PPB_X509Certificate_Private_GetField |
4072 }; | 4094 }; |
4073 | 4095 |
4074 struct PPP_ContentDecryptor_Private_0_1 Pnacl_Wrappers_PPP_ContentDecryptor_Priv
ate_0_1 = { | 4096 struct PPP_ContentDecryptor_Private_0_1 Pnacl_Wrappers_PPP_ContentDecryptor_Priv
ate_0_1 = { |
4075 .GenerateKeyRequest = (PP_Bool (*)(PP_Instance instance, struct PP_Var key_s
ystem, struct PP_Var init_data))&Pnacl_M23_PPP_ContentDecryptor_Private_Generate
KeyRequest, | 4097 .GenerateKeyRequest = (void (*)(PP_Instance instance, struct PP_Var key_syst
em, struct PP_Var init_data))&Pnacl_M23_PPP_ContentDecryptor_Private_GenerateKey
Request, |
4076 .AddKey = (PP_Bool (*)(PP_Instance instance, struct PP_Var session_id, struc
t PP_Var key, struct PP_Var init_data))&Pnacl_M23_PPP_ContentDecryptor_Private_A
ddKey, | 4098 .AddKey = (void (*)(PP_Instance instance, struct PP_Var session_id, struct P
P_Var key, struct PP_Var init_data))&Pnacl_M23_PPP_ContentDecryptor_Private_AddK
ey, |
4077 .CancelKeyRequest = (PP_Bool (*)(PP_Instance instance, struct PP_Var session
_id))&Pnacl_M23_PPP_ContentDecryptor_Private_CancelKeyRequest, | 4099 .CancelKeyRequest = (void (*)(PP_Instance instance, struct PP_Var session_id
))&Pnacl_M23_PPP_ContentDecryptor_Private_CancelKeyRequest, |
4078 .Decrypt = (PP_Bool (*)(PP_Instance instance, PP_Resource encrypted_block, c
onst struct PP_EncryptedBlockInfo* encrypted_block_info))&Pnacl_M23_PPP_ContentD
ecryptor_Private_Decrypt, | 4100 .Decrypt = (void (*)(PP_Instance instance, PP_Resource encrypted_block, cons
t struct PP_EncryptedBlockInfo* encrypted_block_info))&Pnacl_M23_PPP_ContentDecr
yptor_Private_Decrypt, |
4079 .DecryptAndDecode = (PP_Bool (*)(PP_Instance instance, PP_Resource encrypted
_block, const struct PP_EncryptedBlockInfo* encrypted_block_info))&Pnacl_M23_PPP
_ContentDecryptor_Private_DecryptAndDecode | 4101 .DecryptAndDecode = (void (*)(PP_Instance instance, PP_Resource encrypted_bl
ock, const struct PP_EncryptedBlockInfo* encrypted_block_info))&Pnacl_M23_PPP_Co
ntentDecryptor_Private_DecryptAndDecode |
4080 }; | 4102 }; |
4081 | 4103 |
4082 /* Not generating wrapper interface for PPP_Flash_BrowserOperations_1_0 */ | 4104 /* Not generating wrapper interface for PPP_Flash_BrowserOperations_1_0 */ |
4083 | 4105 |
4084 /* Not generating wrapper interface for PPP_Flash_BrowserOperations_1_2 */ | 4106 /* Not generating wrapper interface for PPP_Flash_BrowserOperations_1_2 */ |
4085 | 4107 |
4086 /* Not generating wrapper interface for PPP_Flash_BrowserOperations_1_3 */ | 4108 /* Not generating wrapper interface for PPP_Flash_BrowserOperations_1_3 */ |
4087 | 4109 |
4088 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Audio_1_0 = { | 4110 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Audio_1_0 = { |
4089 .iface_macro = PPB_AUDIO_INTERFACE_1_0, | 4111 .iface_macro = PPB_AUDIO_INTERFACE_1_0, |
(...skipping 378 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4468 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_MessageLoop_Dev_0_1, | 4490 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_MessageLoop_Dev_0_1, |
4469 .real_iface = NULL | 4491 .real_iface = NULL |
4470 }; | 4492 }; |
4471 | 4493 |
4472 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Printing_Dev_0_6 = { | 4494 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Printing_Dev_0_6 = { |
4473 .iface_macro = PPB_PRINTING_DEV_INTERFACE_0_6, | 4495 .iface_macro = PPB_PRINTING_DEV_INTERFACE_0_6, |
4474 .wrapped_iface = NULL /* Still need slot for real_iface */, | 4496 .wrapped_iface = NULL /* Still need slot for real_iface */, |
4475 .real_iface = NULL | 4497 .real_iface = NULL |
4476 }; | 4498 }; |
4477 | 4499 |
| 4500 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Printing_Dev_0_7 = { |
| 4501 .iface_macro = PPB_PRINTING_DEV_INTERFACE_0_7, |
| 4502 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_Printing_Dev_0_7, |
| 4503 .real_iface = NULL |
| 4504 }; |
| 4505 |
4478 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_ResourceArray_Dev_0_1 = { | 4506 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_ResourceArray_Dev_0_1 = { |
4479 .iface_macro = PPB_RESOURCEARRAY_DEV_INTERFACE_0_1, | 4507 .iface_macro = PPB_RESOURCEARRAY_DEV_INTERFACE_0_1, |
4480 .wrapped_iface = NULL /* Still need slot for real_iface */, | 4508 .wrapped_iface = NULL /* Still need slot for real_iface */, |
4481 .real_iface = NULL | 4509 .real_iface = NULL |
4482 }; | 4510 }; |
4483 | 4511 |
4484 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Scrollbar_Dev_0_5 = { | 4512 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Scrollbar_Dev_0_5 = { |
4485 .iface_macro = PPB_SCROLLBAR_DEV_INTERFACE_0_5, | 4513 .iface_macro = PPB_SCROLLBAR_DEV_INTERFACE_0_5, |
4486 .wrapped_iface = NULL /* Still need slot for real_iface */, | 4514 .wrapped_iface = NULL /* Still need slot for real_iface */, |
4487 .real_iface = NULL | 4515 .real_iface = NULL |
(...skipping 388 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4876 &Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_6, | 4904 &Pnacl_WrapperInfo_PPB_FileChooser_Dev_0_6, |
4877 &Pnacl_WrapperInfo_PPB_Find_Dev_0_3, | 4905 &Pnacl_WrapperInfo_PPB_Find_Dev_0_3, |
4878 &Pnacl_WrapperInfo_PPB_Font_Dev_0_6, | 4906 &Pnacl_WrapperInfo_PPB_Font_Dev_0_6, |
4879 &Pnacl_WrapperInfo_PPB_Graphics2D_Dev_0_1, | 4907 &Pnacl_WrapperInfo_PPB_Graphics2D_Dev_0_1, |
4880 &Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_1, | 4908 &Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_1, |
4881 &Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_2, | 4909 &Pnacl_WrapperInfo_PPB_IMEInputEvent_Dev_0_2, |
4882 &Pnacl_WrapperInfo_PPB_KeyboardInputEvent_Dev_0_1, | 4910 &Pnacl_WrapperInfo_PPB_KeyboardInputEvent_Dev_0_1, |
4883 &Pnacl_WrapperInfo_PPB_Memory_Dev_0_1, | 4911 &Pnacl_WrapperInfo_PPB_Memory_Dev_0_1, |
4884 &Pnacl_WrapperInfo_PPB_MessageLoop_Dev_0_1, | 4912 &Pnacl_WrapperInfo_PPB_MessageLoop_Dev_0_1, |
4885 &Pnacl_WrapperInfo_PPB_Printing_Dev_0_6, | 4913 &Pnacl_WrapperInfo_PPB_Printing_Dev_0_6, |
| 4914 &Pnacl_WrapperInfo_PPB_Printing_Dev_0_7, |
4886 &Pnacl_WrapperInfo_PPB_ResourceArray_Dev_0_1, | 4915 &Pnacl_WrapperInfo_PPB_ResourceArray_Dev_0_1, |
4887 &Pnacl_WrapperInfo_PPB_Scrollbar_Dev_0_5, | 4916 &Pnacl_WrapperInfo_PPB_Scrollbar_Dev_0_5, |
4888 &Pnacl_WrapperInfo_PPB_Testing_Dev_0_7, | 4917 &Pnacl_WrapperInfo_PPB_Testing_Dev_0_7, |
4889 &Pnacl_WrapperInfo_PPB_Testing_Dev_0_8, | 4918 &Pnacl_WrapperInfo_PPB_Testing_Dev_0_8, |
4890 &Pnacl_WrapperInfo_PPB_Testing_Dev_0_9, | 4919 &Pnacl_WrapperInfo_PPB_Testing_Dev_0_9, |
4891 &Pnacl_WrapperInfo_PPB_Testing_Dev_0_91, | 4920 &Pnacl_WrapperInfo_PPB_Testing_Dev_0_91, |
4892 &Pnacl_WrapperInfo_PPB_TextInput_Dev_0_1, | 4921 &Pnacl_WrapperInfo_PPB_TextInput_Dev_0_1, |
4893 &Pnacl_WrapperInfo_PPB_TextInput_Dev_0_2, | 4922 &Pnacl_WrapperInfo_PPB_TextInput_Dev_0_2, |
4894 &Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_6, | 4923 &Pnacl_WrapperInfo_PPB_URLUtil_Dev_0_6, |
4895 &Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_1, | 4924 &Pnacl_WrapperInfo_PPB_VideoCapture_Dev_0_1, |
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5023 if (NULL == iface) return NULL; | 5052 if (NULL == iface) return NULL; |
5024 wrapper->real_iface = iface; | 5053 wrapper->real_iface = iface; |
5025 } | 5054 } |
5026 | 5055 |
5027 if (wrapper->wrapped_iface) { | 5056 if (wrapper->wrapped_iface) { |
5028 return wrapper->wrapped_iface; | 5057 return wrapper->wrapped_iface; |
5029 } else { | 5058 } else { |
5030 return wrapper->real_iface; | 5059 return wrapper->real_iface; |
5031 } | 5060 } |
5032 } | 5061 } |
OLD | NEW |