OLD | NEW |
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 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
135 } | 135 } |
136 | 136 |
137 /* BEGIN Declarations for all Wrapper Infos */ | 137 /* BEGIN Declarations for all Wrapper Infos */ |
138 | 138 |
139 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Console_1_0; | 139 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Console_1_0; |
140 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Core_1_0; | 140 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Core_1_0; |
141 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileIO_1_0; | 141 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileIO_1_0; |
142 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileIO_1_1; | 142 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileIO_1_1; |
143 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileRef_1_0; | 143 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileRef_1_0; |
144 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileRef_1_1; | 144 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileRef_1_1; |
| 145 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileRef_1_2; |
145 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileSystem_1_0; | 146 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileSystem_1_0; |
146 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Graphics2D_1_0; | 147 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Graphics2D_1_0; |
147 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Graphics2D_1_1; | 148 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Graphics2D_1_1; |
148 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Graphics3D_1_0; | 149 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Graphics3D_1_0; |
149 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_HostResolver_1_0; | 150 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_HostResolver_1_0; |
150 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MouseInputEvent_1_0; | 151 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MouseInputEvent_1_0; |
151 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MouseInputEvent_1_1; | 152 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MouseInputEvent_1_1; |
152 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_WheelInputEvent_1_0; | 153 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_WheelInputEvent_1_0; |
153 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_KeyboardInputEvent_1_0; | 154 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_KeyboardInputEvent_1_0; |
154 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TouchInputEvent_1_0; | 155 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TouchInputEvent_1_0; |
(...skipping 364 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
519 return iface->Query(file_ref, info, *callback); | 520 return iface->Query(file_ref, info, *callback); |
520 } | 521 } |
521 | 522 |
522 static int32_t Pnacl_M28_PPB_FileRef_ReadDirectoryEntries(PP_Resource file_ref,
struct PP_ArrayOutput* output, struct PP_CompletionCallback* callback) { | 523 static int32_t Pnacl_M28_PPB_FileRef_ReadDirectoryEntries(PP_Resource file_ref,
struct PP_ArrayOutput* output, struct PP_CompletionCallback* callback) { |
523 const struct PPB_FileRef_1_1 *iface = Pnacl_WrapperInfo_PPB_FileRef_1_1.real_i
face; | 524 const struct PPB_FileRef_1_1 *iface = Pnacl_WrapperInfo_PPB_FileRef_1_1.real_i
face; |
524 return iface->ReadDirectoryEntries(file_ref, *output, *callback); | 525 return iface->ReadDirectoryEntries(file_ref, *output, *callback); |
525 } | 526 } |
526 | 527 |
527 /* End wrapper methods for PPB_FileRef_1_1 */ | 528 /* End wrapper methods for PPB_FileRef_1_1 */ |
528 | 529 |
| 530 /* Begin wrapper methods for PPB_FileRef_1_2 */ |
| 531 |
| 532 static PP_Resource Pnacl_M34_PPB_FileRef_Create(PP_Resource file_system, const c
har* path) { |
| 533 const struct PPB_FileRef_1_2 *iface = Pnacl_WrapperInfo_PPB_FileRef_1_2.real_i
face; |
| 534 return iface->Create(file_system, path); |
| 535 } |
| 536 |
| 537 static PP_Bool Pnacl_M34_PPB_FileRef_IsFileRef(PP_Resource resource) { |
| 538 const struct PPB_FileRef_1_2 *iface = Pnacl_WrapperInfo_PPB_FileRef_1_2.real_i
face; |
| 539 return iface->IsFileRef(resource); |
| 540 } |
| 541 |
| 542 static PP_FileSystemType Pnacl_M34_PPB_FileRef_GetFileSystemType(PP_Resource fil
e_ref) { |
| 543 const struct PPB_FileRef_1_2 *iface = Pnacl_WrapperInfo_PPB_FileRef_1_2.real_i
face; |
| 544 return iface->GetFileSystemType(file_ref); |
| 545 } |
| 546 |
| 547 static void Pnacl_M34_PPB_FileRef_GetName(struct PP_Var* _struct_result, PP_Reso
urce file_ref) { |
| 548 const struct PPB_FileRef_1_2 *iface = Pnacl_WrapperInfo_PPB_FileRef_1_2.real_i
face; |
| 549 *_struct_result = iface->GetName(file_ref); |
| 550 } |
| 551 |
| 552 static void Pnacl_M34_PPB_FileRef_GetPath(struct PP_Var* _struct_result, PP_Reso
urce file_ref) { |
| 553 const struct PPB_FileRef_1_2 *iface = Pnacl_WrapperInfo_PPB_FileRef_1_2.real_i
face; |
| 554 *_struct_result = iface->GetPath(file_ref); |
| 555 } |
| 556 |
| 557 static PP_Resource Pnacl_M34_PPB_FileRef_GetParent(PP_Resource file_ref) { |
| 558 const struct PPB_FileRef_1_2 *iface = Pnacl_WrapperInfo_PPB_FileRef_1_2.real_i
face; |
| 559 return iface->GetParent(file_ref); |
| 560 } |
| 561 |
| 562 static int32_t Pnacl_M34_PPB_FileRef_MakeDirectory(PP_Resource directory_ref, PP
_Bool exclusive, PP_Bool make_ancestors, struct PP_CompletionCallback* callback)
{ |
| 563 const struct PPB_FileRef_1_2 *iface = Pnacl_WrapperInfo_PPB_FileRef_1_2.real_i
face; |
| 564 return iface->MakeDirectory(directory_ref, exclusive, make_ancestors, *callbac
k); |
| 565 } |
| 566 |
| 567 static int32_t Pnacl_M34_PPB_FileRef_Touch(PP_Resource file_ref, PP_Time last_ac
cess_time, PP_Time last_modified_time, struct PP_CompletionCallback* callback) { |
| 568 const struct PPB_FileRef_1_2 *iface = Pnacl_WrapperInfo_PPB_FileRef_1_2.real_i
face; |
| 569 return iface->Touch(file_ref, last_access_time, last_modified_time, *callback)
; |
| 570 } |
| 571 |
| 572 static int32_t Pnacl_M34_PPB_FileRef_Delete(PP_Resource file_ref, struct PP_Comp
letionCallback* callback) { |
| 573 const struct PPB_FileRef_1_2 *iface = Pnacl_WrapperInfo_PPB_FileRef_1_2.real_i
face; |
| 574 return iface->Delete(file_ref, *callback); |
| 575 } |
| 576 |
| 577 static int32_t Pnacl_M34_PPB_FileRef_Rename(PP_Resource file_ref, PP_Resource ne
w_file_ref, struct PP_CompletionCallback* callback) { |
| 578 const struct PPB_FileRef_1_2 *iface = Pnacl_WrapperInfo_PPB_FileRef_1_2.real_i
face; |
| 579 return iface->Rename(file_ref, new_file_ref, *callback); |
| 580 } |
| 581 |
| 582 static int32_t Pnacl_M34_PPB_FileRef_Query(PP_Resource file_ref, struct PP_FileI
nfo* info, struct PP_CompletionCallback* callback) { |
| 583 const struct PPB_FileRef_1_2 *iface = Pnacl_WrapperInfo_PPB_FileRef_1_2.real_i
face; |
| 584 return iface->Query(file_ref, info, *callback); |
| 585 } |
| 586 |
| 587 static int32_t Pnacl_M34_PPB_FileRef_ReadDirectoryEntries(PP_Resource file_ref,
struct PP_ArrayOutput* output, struct PP_CompletionCallback* callback) { |
| 588 const struct PPB_FileRef_1_2 *iface = Pnacl_WrapperInfo_PPB_FileRef_1_2.real_i
face; |
| 589 return iface->ReadDirectoryEntries(file_ref, *output, *callback); |
| 590 } |
| 591 |
| 592 /* End wrapper methods for PPB_FileRef_1_2 */ |
| 593 |
529 /* Begin wrapper methods for PPB_FileSystem_1_0 */ | 594 /* Begin wrapper methods for PPB_FileSystem_1_0 */ |
530 | 595 |
531 static PP_Resource Pnacl_M14_PPB_FileSystem_Create(PP_Instance instance, PP_File
SystemType type) { | 596 static PP_Resource Pnacl_M14_PPB_FileSystem_Create(PP_Instance instance, PP_File
SystemType type) { |
532 const struct PPB_FileSystem_1_0 *iface = Pnacl_WrapperInfo_PPB_FileSystem_1_0.
real_iface; | 597 const struct PPB_FileSystem_1_0 *iface = Pnacl_WrapperInfo_PPB_FileSystem_1_0.
real_iface; |
533 return iface->Create(instance, type); | 598 return iface->Create(instance, type); |
534 } | 599 } |
535 | 600 |
536 static PP_Bool Pnacl_M14_PPB_FileSystem_IsFileSystem(PP_Resource resource) { | 601 static PP_Bool Pnacl_M14_PPB_FileSystem_IsFileSystem(PP_Resource resource) { |
537 const struct PPB_FileSystem_1_0 *iface = Pnacl_WrapperInfo_PPB_FileSystem_1_0.
real_iface; | 602 const struct PPB_FileSystem_1_0 *iface = Pnacl_WrapperInfo_PPB_FileSystem_1_0.
real_iface; |
538 return iface->IsFileSystem(resource); | 603 return iface->IsFileSystem(resource); |
(...skipping 3600 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4139 .GetPath = (struct PP_Var (*)(PP_Resource file_ref))&Pnacl_M28_PPB_FileRef_G
etPath, | 4204 .GetPath = (struct PP_Var (*)(PP_Resource file_ref))&Pnacl_M28_PPB_FileRef_G
etPath, |
4140 .GetParent = (PP_Resource (*)(PP_Resource file_ref))&Pnacl_M28_PPB_FileRef_G
etParent, | 4205 .GetParent = (PP_Resource (*)(PP_Resource file_ref))&Pnacl_M28_PPB_FileRef_G
etParent, |
4141 .MakeDirectory = (int32_t (*)(PP_Resource directory_ref, PP_Bool make_ancest
ors, struct PP_CompletionCallback callback))&Pnacl_M28_PPB_FileRef_MakeDirectory
, | 4206 .MakeDirectory = (int32_t (*)(PP_Resource directory_ref, PP_Bool make_ancest
ors, struct PP_CompletionCallback callback))&Pnacl_M28_PPB_FileRef_MakeDirectory
, |
4142 .Touch = (int32_t (*)(PP_Resource file_ref, PP_Time last_access_time, PP_Tim
e last_modified_time, struct PP_CompletionCallback callback))&Pnacl_M28_PPB_File
Ref_Touch, | 4207 .Touch = (int32_t (*)(PP_Resource file_ref, PP_Time last_access_time, PP_Tim
e last_modified_time, struct PP_CompletionCallback callback))&Pnacl_M28_PPB_File
Ref_Touch, |
4143 .Delete = (int32_t (*)(PP_Resource file_ref, struct PP_CompletionCallback ca
llback))&Pnacl_M28_PPB_FileRef_Delete, | 4208 .Delete = (int32_t (*)(PP_Resource file_ref, struct PP_CompletionCallback ca
llback))&Pnacl_M28_PPB_FileRef_Delete, |
4144 .Rename = (int32_t (*)(PP_Resource file_ref, PP_Resource new_file_ref, struc
t PP_CompletionCallback callback))&Pnacl_M28_PPB_FileRef_Rename, | 4209 .Rename = (int32_t (*)(PP_Resource file_ref, PP_Resource new_file_ref, struc
t PP_CompletionCallback callback))&Pnacl_M28_PPB_FileRef_Rename, |
4145 .Query = (int32_t (*)(PP_Resource file_ref, struct PP_FileInfo* info, struct
PP_CompletionCallback callback))&Pnacl_M28_PPB_FileRef_Query, | 4210 .Query = (int32_t (*)(PP_Resource file_ref, struct PP_FileInfo* info, struct
PP_CompletionCallback callback))&Pnacl_M28_PPB_FileRef_Query, |
4146 .ReadDirectoryEntries = (int32_t (*)(PP_Resource file_ref, struct PP_ArrayOu
tput output, struct PP_CompletionCallback callback))&Pnacl_M28_PPB_FileRef_ReadD
irectoryEntries | 4211 .ReadDirectoryEntries = (int32_t (*)(PP_Resource file_ref, struct PP_ArrayOu
tput output, struct PP_CompletionCallback callback))&Pnacl_M28_PPB_FileRef_ReadD
irectoryEntries |
4147 }; | 4212 }; |
4148 | 4213 |
| 4214 struct PPB_FileRef_1_2 Pnacl_Wrappers_PPB_FileRef_1_2 = { |
| 4215 .Create = (PP_Resource (*)(PP_Resource file_system, const char* path))&Pnacl
_M34_PPB_FileRef_Create, |
| 4216 .IsFileRef = (PP_Bool (*)(PP_Resource resource))&Pnacl_M34_PPB_FileRef_IsFil
eRef, |
| 4217 .GetFileSystemType = (PP_FileSystemType (*)(PP_Resource file_ref))&Pnacl_M34
_PPB_FileRef_GetFileSystemType, |
| 4218 .GetName = (struct PP_Var (*)(PP_Resource file_ref))&Pnacl_M34_PPB_FileRef_G
etName, |
| 4219 .GetPath = (struct PP_Var (*)(PP_Resource file_ref))&Pnacl_M34_PPB_FileRef_G
etPath, |
| 4220 .GetParent = (PP_Resource (*)(PP_Resource file_ref))&Pnacl_M34_PPB_FileRef_G
etParent, |
| 4221 .MakeDirectory = (int32_t (*)(PP_Resource directory_ref, PP_Bool exclusive,
PP_Bool make_ancestors, struct PP_CompletionCallback callback))&Pnacl_M34_PPB_Fi
leRef_MakeDirectory, |
| 4222 .Touch = (int32_t (*)(PP_Resource file_ref, PP_Time last_access_time, PP_Tim
e last_modified_time, struct PP_CompletionCallback callback))&Pnacl_M34_PPB_File
Ref_Touch, |
| 4223 .Delete = (int32_t (*)(PP_Resource file_ref, struct PP_CompletionCallback ca
llback))&Pnacl_M34_PPB_FileRef_Delete, |
| 4224 .Rename = (int32_t (*)(PP_Resource file_ref, PP_Resource new_file_ref, struc
t PP_CompletionCallback callback))&Pnacl_M34_PPB_FileRef_Rename, |
| 4225 .Query = (int32_t (*)(PP_Resource file_ref, struct PP_FileInfo* info, struct
PP_CompletionCallback callback))&Pnacl_M34_PPB_FileRef_Query, |
| 4226 .ReadDirectoryEntries = (int32_t (*)(PP_Resource file_ref, struct PP_ArrayOu
tput output, struct PP_CompletionCallback callback))&Pnacl_M34_PPB_FileRef_ReadD
irectoryEntries |
| 4227 }; |
| 4228 |
4149 struct PPB_FileSystem_1_0 Pnacl_Wrappers_PPB_FileSystem_1_0 = { | 4229 struct PPB_FileSystem_1_0 Pnacl_Wrappers_PPB_FileSystem_1_0 = { |
4150 .Create = (PP_Resource (*)(PP_Instance instance, PP_FileSystemType type))&Pn
acl_M14_PPB_FileSystem_Create, | 4230 .Create = (PP_Resource (*)(PP_Instance instance, PP_FileSystemType type))&Pn
acl_M14_PPB_FileSystem_Create, |
4151 .IsFileSystem = (PP_Bool (*)(PP_Resource resource))&Pnacl_M14_PPB_FileSystem
_IsFileSystem, | 4231 .IsFileSystem = (PP_Bool (*)(PP_Resource resource))&Pnacl_M14_PPB_FileSystem
_IsFileSystem, |
4152 .Open = (int32_t (*)(PP_Resource file_system, int64_t expected_size, struct
PP_CompletionCallback callback))&Pnacl_M14_PPB_FileSystem_Open, | 4232 .Open = (int32_t (*)(PP_Resource file_system, int64_t expected_size, struct
PP_CompletionCallback callback))&Pnacl_M14_PPB_FileSystem_Open, |
4153 .GetType = (PP_FileSystemType (*)(PP_Resource file_system))&Pnacl_M14_PPB_Fi
leSystem_GetType | 4233 .GetType = (PP_FileSystemType (*)(PP_Resource file_system))&Pnacl_M14_PPB_Fi
leSystem_GetType |
4154 }; | 4234 }; |
4155 | 4235 |
4156 /* Not generating wrapper interface for PPB_Fullscreen_1_0 */ | 4236 /* Not generating wrapper interface for PPB_Fullscreen_1_0 */ |
4157 | 4237 |
4158 /* Not generating wrapper interface for PPB_Gamepad_1_0 */ | 4238 /* Not generating wrapper interface for PPB_Gamepad_1_0 */ |
(...skipping 1014 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5173 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_FileRef_1_0, | 5253 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_FileRef_1_0, |
5174 .real_iface = NULL | 5254 .real_iface = NULL |
5175 }; | 5255 }; |
5176 | 5256 |
5177 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileRef_1_1 = { | 5257 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileRef_1_1 = { |
5178 .iface_macro = PPB_FILEREF_INTERFACE_1_1, | 5258 .iface_macro = PPB_FILEREF_INTERFACE_1_1, |
5179 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_FileRef_1_1, | 5259 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_FileRef_1_1, |
5180 .real_iface = NULL | 5260 .real_iface = NULL |
5181 }; | 5261 }; |
5182 | 5262 |
| 5263 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileRef_1_2 = { |
| 5264 .iface_macro = PPB_FILEREF_INTERFACE_1_2, |
| 5265 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_FileRef_1_2, |
| 5266 .real_iface = NULL |
| 5267 }; |
| 5268 |
5183 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileSystem_1_0 = { | 5269 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileSystem_1_0 = { |
5184 .iface_macro = PPB_FILESYSTEM_INTERFACE_1_0, | 5270 .iface_macro = PPB_FILESYSTEM_INTERFACE_1_0, |
5185 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_FileSystem_1_0, | 5271 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_FileSystem_1_0, |
5186 .real_iface = NULL | 5272 .real_iface = NULL |
5187 }; | 5273 }; |
5188 | 5274 |
5189 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Graphics2D_1_0 = { | 5275 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Graphics2D_1_0 = { |
5190 .iface_macro = PPB_GRAPHICS_2D_INTERFACE_1_0, | 5276 .iface_macro = PPB_GRAPHICS_2D_INTERFACE_1_0, |
5191 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_Graphics2D_1_0, | 5277 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_Graphics2D_1_0, |
5192 .real_iface = NULL | 5278 .real_iface = NULL |
(...skipping 557 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5750 .real_iface = NULL | 5836 .real_iface = NULL |
5751 }; | 5837 }; |
5752 | 5838 |
5753 static struct __PnaclWrapperInfo *s_ppb_wrappers[] = { | 5839 static struct __PnaclWrapperInfo *s_ppb_wrappers[] = { |
5754 &Pnacl_WrapperInfo_PPB_Console_1_0, | 5840 &Pnacl_WrapperInfo_PPB_Console_1_0, |
5755 &Pnacl_WrapperInfo_PPB_Core_1_0, | 5841 &Pnacl_WrapperInfo_PPB_Core_1_0, |
5756 &Pnacl_WrapperInfo_PPB_FileIO_1_0, | 5842 &Pnacl_WrapperInfo_PPB_FileIO_1_0, |
5757 &Pnacl_WrapperInfo_PPB_FileIO_1_1, | 5843 &Pnacl_WrapperInfo_PPB_FileIO_1_1, |
5758 &Pnacl_WrapperInfo_PPB_FileRef_1_0, | 5844 &Pnacl_WrapperInfo_PPB_FileRef_1_0, |
5759 &Pnacl_WrapperInfo_PPB_FileRef_1_1, | 5845 &Pnacl_WrapperInfo_PPB_FileRef_1_1, |
| 5846 &Pnacl_WrapperInfo_PPB_FileRef_1_2, |
5760 &Pnacl_WrapperInfo_PPB_FileSystem_1_0, | 5847 &Pnacl_WrapperInfo_PPB_FileSystem_1_0, |
5761 &Pnacl_WrapperInfo_PPB_Graphics2D_1_0, | 5848 &Pnacl_WrapperInfo_PPB_Graphics2D_1_0, |
5762 &Pnacl_WrapperInfo_PPB_Graphics2D_1_1, | 5849 &Pnacl_WrapperInfo_PPB_Graphics2D_1_1, |
5763 &Pnacl_WrapperInfo_PPB_Graphics3D_1_0, | 5850 &Pnacl_WrapperInfo_PPB_Graphics3D_1_0, |
5764 &Pnacl_WrapperInfo_PPB_HostResolver_1_0, | 5851 &Pnacl_WrapperInfo_PPB_HostResolver_1_0, |
5765 &Pnacl_WrapperInfo_PPB_MouseInputEvent_1_0, | 5852 &Pnacl_WrapperInfo_PPB_MouseInputEvent_1_0, |
5766 &Pnacl_WrapperInfo_PPB_MouseInputEvent_1_1, | 5853 &Pnacl_WrapperInfo_PPB_MouseInputEvent_1_1, |
5767 &Pnacl_WrapperInfo_PPB_WheelInputEvent_1_0, | 5854 &Pnacl_WrapperInfo_PPB_WheelInputEvent_1_0, |
5768 &Pnacl_WrapperInfo_PPB_KeyboardInputEvent_1_0, | 5855 &Pnacl_WrapperInfo_PPB_KeyboardInputEvent_1_0, |
5769 &Pnacl_WrapperInfo_PPB_TouchInputEvent_1_0, | 5856 &Pnacl_WrapperInfo_PPB_TouchInputEvent_1_0, |
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5928 if (NULL == iface) return NULL; | 6015 if (NULL == iface) return NULL; |
5929 wrapper->real_iface = iface; | 6016 wrapper->real_iface = iface; |
5930 } | 6017 } |
5931 | 6018 |
5932 if (wrapper->wrapped_iface) { | 6019 if (wrapper->wrapped_iface) { |
5933 return wrapper->wrapped_iface; | 6020 return wrapper->wrapped_iface; |
5934 } else { | 6021 } else { |
5935 return wrapper->real_iface; | 6022 return wrapper->real_iface; |
5936 } | 6023 } |
5937 } | 6024 } |
OLD | NEW |