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

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

Issue 12817009: Add Query() support to FileRef (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 9 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
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_audio_input_dev.h" 10 #include "ppapi/c/dev/ppb_audio_input_dev.h"
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 /* BEGIN Declarations for all Wrapper Infos */ 130 /* BEGIN Declarations for all Wrapper Infos */
131 131
132 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Audio_1_0; 132 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Audio_1_0;
133 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_AudioConfig_1_0; 133 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_AudioConfig_1_0;
134 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_AudioConfig_1_1; 134 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_AudioConfig_1_1;
135 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Console_1_0; 135 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Console_1_0;
136 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Core_1_0; 136 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Core_1_0;
137 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileIO_1_0; 137 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileIO_1_0;
138 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileIO_1_1; 138 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileIO_1_1;
139 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileRef_1_0; 139 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileRef_1_0;
140 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileRef_1_1;
140 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileSystem_1_0; 141 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileSystem_1_0;
141 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Fullscreen_1_0; 142 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Fullscreen_1_0;
142 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Gamepad_1_0; 143 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Gamepad_1_0;
143 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Graphics2D_1_0; 144 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Graphics2D_1_0;
144 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Graphics3D_1_0; 145 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Graphics3D_1_0;
145 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_ImageData_1_0; 146 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_ImageData_1_0;
146 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_InputEvent_1_0; 147 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_InputEvent_1_0;
147 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MouseInputEvent_1_0; 148 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MouseInputEvent_1_0;
148 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MouseInputEvent_1_1; 149 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MouseInputEvent_1_1;
149 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_WheelInputEvent_1_0; 150 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_WheelInputEvent_1_0;
(...skipping 374 matching lines...) Expand 10 before | Expand all | Expand 10 after
524 } 525 }
525 526
526 static __attribute__((pnaclcall)) 527 static __attribute__((pnaclcall))
527 int32_t Pnacl_M14_PPB_FileRef_Rename(PP_Resource file_ref, PP_Resource new_file_ ref, struct PP_CompletionCallback callback) { 528 int32_t Pnacl_M14_PPB_FileRef_Rename(PP_Resource file_ref, PP_Resource new_file_ ref, struct PP_CompletionCallback callback) {
528 const struct PPB_FileRef_1_0 *iface = Pnacl_WrapperInfo_PPB_FileRef_1_0.real_i face; 529 const struct PPB_FileRef_1_0 *iface = Pnacl_WrapperInfo_PPB_FileRef_1_0.real_i face;
529 return iface->Rename(file_ref, new_file_ref, callback); 530 return iface->Rename(file_ref, new_file_ref, callback);
530 } 531 }
531 532
532 /* End wrapper methods for PPB_FileRef_1_0 */ 533 /* End wrapper methods for PPB_FileRef_1_0 */
533 534
535 /* Begin wrapper methods for PPB_FileRef_1_1 */
536
537 static __attribute__((pnaclcall))
538 PP_Resource Pnacl_M27_PPB_FileRef_Create(PP_Resource file_system, const char* pa th) {
539 const struct PPB_FileRef_1_1 *iface = Pnacl_WrapperInfo_PPB_FileRef_1_1.real_i face;
540 return iface->Create(file_system, path);
541 }
542
543 static __attribute__((pnaclcall))
544 PP_Bool Pnacl_M27_PPB_FileRef_IsFileRef(PP_Resource resource) {
545 const struct PPB_FileRef_1_1 *iface = Pnacl_WrapperInfo_PPB_FileRef_1_1.real_i face;
546 return iface->IsFileRef(resource);
547 }
548
549 static __attribute__((pnaclcall))
550 PP_FileSystemType Pnacl_M27_PPB_FileRef_GetFileSystemType(PP_Resource file_ref) {
551 const struct PPB_FileRef_1_1 *iface = Pnacl_WrapperInfo_PPB_FileRef_1_1.real_i face;
552 return iface->GetFileSystemType(file_ref);
553 }
554
555 static __attribute__((pnaclcall))
556 struct PP_Var Pnacl_M27_PPB_FileRef_GetName(PP_Resource file_ref) {
557 const struct PPB_FileRef_1_1 *iface = Pnacl_WrapperInfo_PPB_FileRef_1_1.real_i face;
558 return iface->GetName(file_ref);
559 }
560
561 static __attribute__((pnaclcall))
562 struct PP_Var Pnacl_M27_PPB_FileRef_GetPath(PP_Resource file_ref) {
563 const struct PPB_FileRef_1_1 *iface = Pnacl_WrapperInfo_PPB_FileRef_1_1.real_i face;
564 return iface->GetPath(file_ref);
565 }
566
567 static __attribute__((pnaclcall))
568 PP_Resource Pnacl_M27_PPB_FileRef_GetParent(PP_Resource file_ref) {
569 const struct PPB_FileRef_1_1 *iface = Pnacl_WrapperInfo_PPB_FileRef_1_1.real_i face;
570 return iface->GetParent(file_ref);
571 }
572
573 static __attribute__((pnaclcall))
574 int32_t Pnacl_M27_PPB_FileRef_MakeDirectory(PP_Resource directory_ref, PP_Bool m ake_ancestors, struct PP_CompletionCallback callback) {
575 const struct PPB_FileRef_1_1 *iface = Pnacl_WrapperInfo_PPB_FileRef_1_1.real_i face;
576 return iface->MakeDirectory(directory_ref, make_ancestors, callback);
577 }
578
579 static __attribute__((pnaclcall))
580 int32_t Pnacl_M27_PPB_FileRef_Touch(PP_Resource file_ref, PP_Time last_access_ti me, PP_Time last_modified_time, struct PP_CompletionCallback callback) {
581 const struct PPB_FileRef_1_1 *iface = Pnacl_WrapperInfo_PPB_FileRef_1_1.real_i face;
582 return iface->Touch(file_ref, last_access_time, last_modified_time, callback);
583 }
584
585 static __attribute__((pnaclcall))
586 int32_t Pnacl_M27_PPB_FileRef_Delete(PP_Resource file_ref, struct PP_CompletionC allback callback) {
587 const struct PPB_FileRef_1_1 *iface = Pnacl_WrapperInfo_PPB_FileRef_1_1.real_i face;
588 return iface->Delete(file_ref, callback);
589 }
590
591 static __attribute__((pnaclcall))
592 int32_t Pnacl_M27_PPB_FileRef_Rename(PP_Resource file_ref, PP_Resource new_file_ ref, struct PP_CompletionCallback callback) {
593 const struct PPB_FileRef_1_1 *iface = Pnacl_WrapperInfo_PPB_FileRef_1_1.real_i face;
594 return iface->Rename(file_ref, new_file_ref, callback);
595 }
596
597 static __attribute__((pnaclcall))
598 int32_t Pnacl_M27_PPB_FileRef_Query(PP_Resource file_ref, struct PP_FileInfo* in fo, struct PP_CompletionCallback callback) {
599 const struct PPB_FileRef_1_1 *iface = Pnacl_WrapperInfo_PPB_FileRef_1_1.real_i face;
600 return iface->Query(file_ref, info, callback);
601 }
602
603 /* End wrapper methods for PPB_FileRef_1_1 */
604
534 /* Begin wrapper methods for PPB_FileSystem_1_0 */ 605 /* Begin wrapper methods for PPB_FileSystem_1_0 */
535 606
536 static __attribute__((pnaclcall)) 607 static __attribute__((pnaclcall))
537 PP_Resource Pnacl_M14_PPB_FileSystem_Create(PP_Instance instance, PP_FileSystemT ype type) { 608 PP_Resource Pnacl_M14_PPB_FileSystem_Create(PP_Instance instance, PP_FileSystemT ype type) {
538 const struct PPB_FileSystem_1_0 *iface = Pnacl_WrapperInfo_PPB_FileSystem_1_0. real_iface; 609 const struct PPB_FileSystem_1_0 *iface = Pnacl_WrapperInfo_PPB_FileSystem_1_0. real_iface;
539 return iface->Create(instance, type); 610 return iface->Create(instance, type);
540 } 611 }
541 612
542 static __attribute__((pnaclcall)) 613 static __attribute__((pnaclcall))
543 PP_Bool Pnacl_M14_PPB_FileSystem_IsFileSystem(PP_Resource resource) { 614 PP_Bool Pnacl_M14_PPB_FileSystem_IsFileSystem(PP_Resource resource) {
(...skipping 3222 matching lines...) Expand 10 before | Expand all | Expand 10 after
3766 .GetFileSystemType = (PP_FileSystemType (*)(PP_Resource file_ref))&Pnacl_M14 _PPB_FileRef_GetFileSystemType, 3837 .GetFileSystemType = (PP_FileSystemType (*)(PP_Resource file_ref))&Pnacl_M14 _PPB_FileRef_GetFileSystemType,
3767 .GetName = (struct PP_Var (*)(PP_Resource file_ref))&Pnacl_M14_PPB_FileRef_G etName, 3838 .GetName = (struct PP_Var (*)(PP_Resource file_ref))&Pnacl_M14_PPB_FileRef_G etName,
3768 .GetPath = (struct PP_Var (*)(PP_Resource file_ref))&Pnacl_M14_PPB_FileRef_G etPath, 3839 .GetPath = (struct PP_Var (*)(PP_Resource file_ref))&Pnacl_M14_PPB_FileRef_G etPath,
3769 .GetParent = (PP_Resource (*)(PP_Resource file_ref))&Pnacl_M14_PPB_FileRef_G etParent, 3840 .GetParent = (PP_Resource (*)(PP_Resource file_ref))&Pnacl_M14_PPB_FileRef_G etParent,
3770 .MakeDirectory = (int32_t (*)(PP_Resource directory_ref, PP_Bool make_ancest ors, struct PP_CompletionCallback callback))&Pnacl_M14_PPB_FileRef_MakeDirectory , 3841 .MakeDirectory = (int32_t (*)(PP_Resource directory_ref, PP_Bool make_ancest ors, struct PP_CompletionCallback callback))&Pnacl_M14_PPB_FileRef_MakeDirectory ,
3771 .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, 3842 .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,
3772 .Delete = (int32_t (*)(PP_Resource file_ref, struct PP_CompletionCallback ca llback))&Pnacl_M14_PPB_FileRef_Delete, 3843 .Delete = (int32_t (*)(PP_Resource file_ref, struct PP_CompletionCallback ca llback))&Pnacl_M14_PPB_FileRef_Delete,
3773 .Rename = (int32_t (*)(PP_Resource file_ref, PP_Resource new_file_ref, struc t PP_CompletionCallback callback))&Pnacl_M14_PPB_FileRef_Rename 3844 .Rename = (int32_t (*)(PP_Resource file_ref, PP_Resource new_file_ref, struc t PP_CompletionCallback callback))&Pnacl_M14_PPB_FileRef_Rename
3774 }; 3845 };
3775 3846
3847 struct PPB_FileRef_1_1 Pnacl_Wrappers_PPB_FileRef_1_1 = {
3848 .Create = (PP_Resource (*)(PP_Resource file_system, const char* path))&Pnacl _M27_PPB_FileRef_Create,
3849 .IsFileRef = (PP_Bool (*)(PP_Resource resource))&Pnacl_M27_PPB_FileRef_IsFil eRef,
3850 .GetFileSystemType = (PP_FileSystemType (*)(PP_Resource file_ref))&Pnacl_M27 _PPB_FileRef_GetFileSystemType,
3851 .GetName = (struct PP_Var (*)(PP_Resource file_ref))&Pnacl_M27_PPB_FileRef_G etName,
3852 .GetPath = (struct PP_Var (*)(PP_Resource file_ref))&Pnacl_M27_PPB_FileRef_G etPath,
3853 .GetParent = (PP_Resource (*)(PP_Resource file_ref))&Pnacl_M27_PPB_FileRef_G etParent,
3854 .MakeDirectory = (int32_t (*)(PP_Resource directory_ref, PP_Bool make_ancest ors, struct PP_CompletionCallback callback))&Pnacl_M27_PPB_FileRef_MakeDirectory ,
3855 .Touch = (int32_t (*)(PP_Resource file_ref, PP_Time last_access_time, PP_Tim e last_modified_time, struct PP_CompletionCallback callback))&Pnacl_M27_PPB_File Ref_Touch,
3856 .Delete = (int32_t (*)(PP_Resource file_ref, struct PP_CompletionCallback ca llback))&Pnacl_M27_PPB_FileRef_Delete,
3857 .Rename = (int32_t (*)(PP_Resource file_ref, PP_Resource new_file_ref, struc t PP_CompletionCallback callback))&Pnacl_M27_PPB_FileRef_Rename,
3858 .Query = (int32_t (*)(PP_Resource file_ref, struct PP_FileInfo* info, struct PP_CompletionCallback callback))&Pnacl_M27_PPB_FileRef_Query
3859 };
3860
3776 struct PPB_FileSystem_1_0 Pnacl_Wrappers_PPB_FileSystem_1_0 = { 3861 struct PPB_FileSystem_1_0 Pnacl_Wrappers_PPB_FileSystem_1_0 = {
3777 .Create = (PP_Resource (*)(PP_Instance instance, PP_FileSystemType type))&Pn acl_M14_PPB_FileSystem_Create, 3862 .Create = (PP_Resource (*)(PP_Instance instance, PP_FileSystemType type))&Pn acl_M14_PPB_FileSystem_Create,
3778 .IsFileSystem = (PP_Bool (*)(PP_Resource resource))&Pnacl_M14_PPB_FileSystem _IsFileSystem, 3863 .IsFileSystem = (PP_Bool (*)(PP_Resource resource))&Pnacl_M14_PPB_FileSystem _IsFileSystem,
3779 .Open = (int32_t (*)(PP_Resource file_system, int64_t expected_size, struct PP_CompletionCallback callback))&Pnacl_M14_PPB_FileSystem_Open, 3864 .Open = (int32_t (*)(PP_Resource file_system, int64_t expected_size, struct PP_CompletionCallback callback))&Pnacl_M14_PPB_FileSystem_Open,
3780 .GetType = (PP_FileSystemType (*)(PP_Resource file_system))&Pnacl_M14_PPB_Fi leSystem_GetType 3865 .GetType = (PP_FileSystemType (*)(PP_Resource file_system))&Pnacl_M14_PPB_Fi leSystem_GetType
3781 }; 3866 };
3782 3867
3783 /* Not generating wrapper interface for PPB_Fullscreen_1_0 */ 3868 /* Not generating wrapper interface for PPB_Fullscreen_1_0 */
3784 3869
3785 /* Not generating wrapper interface for PPB_Gamepad_1_0 */ 3870 /* Not generating wrapper interface for PPB_Gamepad_1_0 */
(...skipping 829 matching lines...) Expand 10 before | Expand all | Expand 10 after
4615 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_FileIO_1_1, 4700 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_FileIO_1_1,
4616 .real_iface = NULL 4701 .real_iface = NULL
4617 }; 4702 };
4618 4703
4619 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileRef_1_0 = { 4704 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileRef_1_0 = {
4620 .iface_macro = PPB_FILEREF_INTERFACE_1_0, 4705 .iface_macro = PPB_FILEREF_INTERFACE_1_0,
4621 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_FileRef_1_0, 4706 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_FileRef_1_0,
4622 .real_iface = NULL 4707 .real_iface = NULL
4623 }; 4708 };
4624 4709
4710 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileRef_1_1 = {
4711 .iface_macro = PPB_FILEREF_INTERFACE_1_1,
4712 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_FileRef_1_1,
4713 .real_iface = NULL
4714 };
4715
4625 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileSystem_1_0 = { 4716 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileSystem_1_0 = {
4626 .iface_macro = PPB_FILESYSTEM_INTERFACE_1_0, 4717 .iface_macro = PPB_FILESYSTEM_INTERFACE_1_0,
4627 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_FileSystem_1_0, 4718 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_FileSystem_1_0,
4628 .real_iface = NULL 4719 .real_iface = NULL
4629 }; 4720 };
4630 4721
4631 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Fullscreen_1_0 = { 4722 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Fullscreen_1_0 = {
4632 .iface_macro = PPB_FULLSCREEN_INTERFACE_1_0, 4723 .iface_macro = PPB_FULLSCREEN_INTERFACE_1_0,
4633 .wrapped_iface = NULL /* Still need slot for real_iface */, 4724 .wrapped_iface = NULL /* Still need slot for real_iface */,
4634 .real_iface = NULL 4725 .real_iface = NULL
(...skipping 781 matching lines...) Expand 10 before | Expand all | Expand 10 after
5416 5507
5417 static struct __PnaclWrapperInfo *s_ppb_wrappers[] = { 5508 static struct __PnaclWrapperInfo *s_ppb_wrappers[] = {
5418 &Pnacl_WrapperInfo_PPB_Audio_1_0, 5509 &Pnacl_WrapperInfo_PPB_Audio_1_0,
5419 &Pnacl_WrapperInfo_PPB_AudioConfig_1_0, 5510 &Pnacl_WrapperInfo_PPB_AudioConfig_1_0,
5420 &Pnacl_WrapperInfo_PPB_AudioConfig_1_1, 5511 &Pnacl_WrapperInfo_PPB_AudioConfig_1_1,
5421 &Pnacl_WrapperInfo_PPB_Console_1_0, 5512 &Pnacl_WrapperInfo_PPB_Console_1_0,
5422 &Pnacl_WrapperInfo_PPB_Core_1_0, 5513 &Pnacl_WrapperInfo_PPB_Core_1_0,
5423 &Pnacl_WrapperInfo_PPB_FileIO_1_0, 5514 &Pnacl_WrapperInfo_PPB_FileIO_1_0,
5424 &Pnacl_WrapperInfo_PPB_FileIO_1_1, 5515 &Pnacl_WrapperInfo_PPB_FileIO_1_1,
5425 &Pnacl_WrapperInfo_PPB_FileRef_1_0, 5516 &Pnacl_WrapperInfo_PPB_FileRef_1_0,
5517 &Pnacl_WrapperInfo_PPB_FileRef_1_1,
5426 &Pnacl_WrapperInfo_PPB_FileSystem_1_0, 5518 &Pnacl_WrapperInfo_PPB_FileSystem_1_0,
5427 &Pnacl_WrapperInfo_PPB_Fullscreen_1_0, 5519 &Pnacl_WrapperInfo_PPB_Fullscreen_1_0,
5428 &Pnacl_WrapperInfo_PPB_Gamepad_1_0, 5520 &Pnacl_WrapperInfo_PPB_Gamepad_1_0,
5429 &Pnacl_WrapperInfo_PPB_Graphics2D_1_0, 5521 &Pnacl_WrapperInfo_PPB_Graphics2D_1_0,
5430 &Pnacl_WrapperInfo_PPB_Graphics3D_1_0, 5522 &Pnacl_WrapperInfo_PPB_Graphics3D_1_0,
5431 &Pnacl_WrapperInfo_PPB_ImageData_1_0, 5523 &Pnacl_WrapperInfo_PPB_ImageData_1_0,
5432 &Pnacl_WrapperInfo_PPB_InputEvent_1_0, 5524 &Pnacl_WrapperInfo_PPB_InputEvent_1_0,
5433 &Pnacl_WrapperInfo_PPB_MouseInputEvent_1_0, 5525 &Pnacl_WrapperInfo_PPB_MouseInputEvent_1_0,
5434 &Pnacl_WrapperInfo_PPB_MouseInputEvent_1_1, 5526 &Pnacl_WrapperInfo_PPB_MouseInputEvent_1_1,
5435 &Pnacl_WrapperInfo_PPB_WheelInputEvent_1_0, 5527 &Pnacl_WrapperInfo_PPB_WheelInputEvent_1_0,
(...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after
5633 } 5725 }
5634 5726
5635 if (wrapper->wrapped_iface) { 5727 if (wrapper->wrapped_iface) {
5636 return wrapper->wrapped_iface; 5728 return wrapper->wrapped_iface;
5637 } else { 5729 } else {
5638 return wrapper->real_iface; 5730 return wrapper->real_iface;
5639 } 5731 }
5640 } 5732 }
5641 5733
5642 #endif 5734 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698