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

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 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 /* BEGIN Declarations for all Wrapper Infos */ 132 /* BEGIN Declarations for all Wrapper Infos */
133 133
134 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Audio_1_0; 134 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Audio_1_0;
135 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_AudioConfig_1_0; 135 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_AudioConfig_1_0;
136 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_AudioConfig_1_1; 136 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_AudioConfig_1_1;
137 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Console_1_0; 137 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Console_1_0;
138 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Core_1_0; 138 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Core_1_0;
139 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileIO_1_0; 139 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileIO_1_0;
140 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileIO_1_1; 140 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileIO_1_1;
141 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileRef_1_0; 141 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileRef_1_0;
142 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileRef_1_1;
142 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileSystem_1_0; 143 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileSystem_1_0;
143 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Fullscreen_1_0; 144 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Fullscreen_1_0;
144 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Gamepad_1_0; 145 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Gamepad_1_0;
145 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Graphics2D_1_0; 146 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Graphics2D_1_0;
146 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Graphics3D_1_0; 147 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Graphics3D_1_0;
147 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_ImageData_1_0; 148 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_ImageData_1_0;
148 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_InputEvent_1_0; 149 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_InputEvent_1_0;
149 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MouseInputEvent_1_0; 150 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MouseInputEvent_1_0;
150 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MouseInputEvent_1_1; 151 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MouseInputEvent_1_1;
151 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_WheelInputEvent_1_0; 152 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_WheelInputEvent_1_0;
(...skipping 376 matching lines...) Expand 10 before | Expand all | Expand 10 after
528 } 529 }
529 530
530 static __attribute__((pnaclcall)) 531 static __attribute__((pnaclcall))
531 int32_t Pnacl_M14_PPB_FileRef_Rename(PP_Resource file_ref, PP_Resource new_file_ ref, struct PP_CompletionCallback callback) { 532 int32_t Pnacl_M14_PPB_FileRef_Rename(PP_Resource file_ref, PP_Resource new_file_ ref, struct PP_CompletionCallback callback) {
532 const struct PPB_FileRef_1_0 *iface = Pnacl_WrapperInfo_PPB_FileRef_1_0.real_i face; 533 const struct PPB_FileRef_1_0 *iface = Pnacl_WrapperInfo_PPB_FileRef_1_0.real_i face;
533 return iface->Rename(file_ref, new_file_ref, callback); 534 return iface->Rename(file_ref, new_file_ref, callback);
534 } 535 }
535 536
536 /* End wrapper methods for PPB_FileRef_1_0 */ 537 /* End wrapper methods for PPB_FileRef_1_0 */
537 538
539 /* Begin wrapper methods for PPB_FileRef_1_1 */
540
541 static __attribute__((pnaclcall))
542 PP_Resource Pnacl_M27_PPB_FileRef_Create(PP_Resource file_system, const char* pa th) {
543 const struct PPB_FileRef_1_1 *iface = Pnacl_WrapperInfo_PPB_FileRef_1_1.real_i face;
544 return iface->Create(file_system, path);
545 }
546
547 static __attribute__((pnaclcall))
548 PP_Bool Pnacl_M27_PPB_FileRef_IsFileRef(PP_Resource resource) {
549 const struct PPB_FileRef_1_1 *iface = Pnacl_WrapperInfo_PPB_FileRef_1_1.real_i face;
550 return iface->IsFileRef(resource);
551 }
552
553 static __attribute__((pnaclcall))
554 PP_FileSystemType Pnacl_M27_PPB_FileRef_GetFileSystemType(PP_Resource file_ref) {
555 const struct PPB_FileRef_1_1 *iface = Pnacl_WrapperInfo_PPB_FileRef_1_1.real_i face;
556 return iface->GetFileSystemType(file_ref);
557 }
558
559 static __attribute__((pnaclcall))
560 struct PP_Var Pnacl_M27_PPB_FileRef_GetName(PP_Resource file_ref) {
561 const struct PPB_FileRef_1_1 *iface = Pnacl_WrapperInfo_PPB_FileRef_1_1.real_i face;
562 return iface->GetName(file_ref);
563 }
564
565 static __attribute__((pnaclcall))
566 struct PP_Var Pnacl_M27_PPB_FileRef_GetPath(PP_Resource file_ref) {
567 const struct PPB_FileRef_1_1 *iface = Pnacl_WrapperInfo_PPB_FileRef_1_1.real_i face;
568 return iface->GetPath(file_ref);
569 }
570
571 static __attribute__((pnaclcall))
572 PP_Resource Pnacl_M27_PPB_FileRef_GetParent(PP_Resource file_ref) {
573 const struct PPB_FileRef_1_1 *iface = Pnacl_WrapperInfo_PPB_FileRef_1_1.real_i face;
574 return iface->GetParent(file_ref);
575 }
576
577 static __attribute__((pnaclcall))
578 int32_t Pnacl_M27_PPB_FileRef_MakeDirectory(PP_Resource directory_ref, PP_Bool m ake_ancestors, struct PP_CompletionCallback callback) {
579 const struct PPB_FileRef_1_1 *iface = Pnacl_WrapperInfo_PPB_FileRef_1_1.real_i face;
580 return iface->MakeDirectory(directory_ref, make_ancestors, callback);
581 }
582
583 static __attribute__((pnaclcall))
584 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) {
585 const struct PPB_FileRef_1_1 *iface = Pnacl_WrapperInfo_PPB_FileRef_1_1.real_i face;
586 return iface->Touch(file_ref, last_access_time, last_modified_time, callback);
587 }
588
589 static __attribute__((pnaclcall))
590 int32_t Pnacl_M27_PPB_FileRef_Delete(PP_Resource file_ref, struct PP_CompletionC allback callback) {
591 const struct PPB_FileRef_1_1 *iface = Pnacl_WrapperInfo_PPB_FileRef_1_1.real_i face;
592 return iface->Delete(file_ref, callback);
593 }
594
595 static __attribute__((pnaclcall))
596 int32_t Pnacl_M27_PPB_FileRef_Rename(PP_Resource file_ref, PP_Resource new_file_ ref, struct PP_CompletionCallback callback) {
597 const struct PPB_FileRef_1_1 *iface = Pnacl_WrapperInfo_PPB_FileRef_1_1.real_i face;
598 return iface->Rename(file_ref, new_file_ref, callback);
599 }
600
601 static __attribute__((pnaclcall))
602 int32_t Pnacl_M27_PPB_FileRef_Query(PP_Resource file_ref, struct PP_FileInfo* in fo, struct PP_CompletionCallback callback) {
603 const struct PPB_FileRef_1_1 *iface = Pnacl_WrapperInfo_PPB_FileRef_1_1.real_i face;
604 return iface->Query(file_ref, info, callback);
605 }
606
607 /* End wrapper methods for PPB_FileRef_1_1 */
608
538 /* Begin wrapper methods for PPB_FileSystem_1_0 */ 609 /* Begin wrapper methods for PPB_FileSystem_1_0 */
539 610
540 static __attribute__((pnaclcall)) 611 static __attribute__((pnaclcall))
541 PP_Resource Pnacl_M14_PPB_FileSystem_Create(PP_Instance instance, PP_FileSystemT ype type) { 612 PP_Resource Pnacl_M14_PPB_FileSystem_Create(PP_Instance instance, PP_FileSystemT ype type) {
542 const struct PPB_FileSystem_1_0 *iface = Pnacl_WrapperInfo_PPB_FileSystem_1_0. real_iface; 613 const struct PPB_FileSystem_1_0 *iface = Pnacl_WrapperInfo_PPB_FileSystem_1_0. real_iface;
543 return iface->Create(instance, type); 614 return iface->Create(instance, type);
544 } 615 }
545 616
546 static __attribute__((pnaclcall)) 617 static __attribute__((pnaclcall))
547 PP_Bool Pnacl_M14_PPB_FileSystem_IsFileSystem(PP_Resource resource) { 618 PP_Bool Pnacl_M14_PPB_FileSystem_IsFileSystem(PP_Resource resource) {
(...skipping 3296 matching lines...) Expand 10 before | Expand all | Expand 10 after
3844 .GetFileSystemType = (PP_FileSystemType (*)(PP_Resource file_ref))&Pnacl_M14 _PPB_FileRef_GetFileSystemType, 3915 .GetFileSystemType = (PP_FileSystemType (*)(PP_Resource file_ref))&Pnacl_M14 _PPB_FileRef_GetFileSystemType,
3845 .GetName = (struct PP_Var (*)(PP_Resource file_ref))&Pnacl_M14_PPB_FileRef_G etName, 3916 .GetName = (struct PP_Var (*)(PP_Resource file_ref))&Pnacl_M14_PPB_FileRef_G etName,
3846 .GetPath = (struct PP_Var (*)(PP_Resource file_ref))&Pnacl_M14_PPB_FileRef_G etPath, 3917 .GetPath = (struct PP_Var (*)(PP_Resource file_ref))&Pnacl_M14_PPB_FileRef_G etPath,
3847 .GetParent = (PP_Resource (*)(PP_Resource file_ref))&Pnacl_M14_PPB_FileRef_G etParent, 3918 .GetParent = (PP_Resource (*)(PP_Resource file_ref))&Pnacl_M14_PPB_FileRef_G etParent,
3848 .MakeDirectory = (int32_t (*)(PP_Resource directory_ref, PP_Bool make_ancest ors, struct PP_CompletionCallback callback))&Pnacl_M14_PPB_FileRef_MakeDirectory , 3919 .MakeDirectory = (int32_t (*)(PP_Resource directory_ref, PP_Bool make_ancest ors, struct PP_CompletionCallback callback))&Pnacl_M14_PPB_FileRef_MakeDirectory ,
3849 .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, 3920 .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,
3850 .Delete = (int32_t (*)(PP_Resource file_ref, struct PP_CompletionCallback ca llback))&Pnacl_M14_PPB_FileRef_Delete, 3921 .Delete = (int32_t (*)(PP_Resource file_ref, struct PP_CompletionCallback ca llback))&Pnacl_M14_PPB_FileRef_Delete,
3851 .Rename = (int32_t (*)(PP_Resource file_ref, PP_Resource new_file_ref, struc t PP_CompletionCallback callback))&Pnacl_M14_PPB_FileRef_Rename 3922 .Rename = (int32_t (*)(PP_Resource file_ref, PP_Resource new_file_ref, struc t PP_CompletionCallback callback))&Pnacl_M14_PPB_FileRef_Rename
3852 }; 3923 };
3853 3924
3925 struct PPB_FileRef_1_1 Pnacl_Wrappers_PPB_FileRef_1_1 = {
3926 .Create = (PP_Resource (*)(PP_Resource file_system, const char* path))&Pnacl _M27_PPB_FileRef_Create,
3927 .IsFileRef = (PP_Bool (*)(PP_Resource resource))&Pnacl_M27_PPB_FileRef_IsFil eRef,
3928 .GetFileSystemType = (PP_FileSystemType (*)(PP_Resource file_ref))&Pnacl_M27 _PPB_FileRef_GetFileSystemType,
3929 .GetName = (struct PP_Var (*)(PP_Resource file_ref))&Pnacl_M27_PPB_FileRef_G etName,
3930 .GetPath = (struct PP_Var (*)(PP_Resource file_ref))&Pnacl_M27_PPB_FileRef_G etPath,
3931 .GetParent = (PP_Resource (*)(PP_Resource file_ref))&Pnacl_M27_PPB_FileRef_G etParent,
3932 .MakeDirectory = (int32_t (*)(PP_Resource directory_ref, PP_Bool make_ancest ors, struct PP_CompletionCallback callback))&Pnacl_M27_PPB_FileRef_MakeDirectory ,
3933 .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,
3934 .Delete = (int32_t (*)(PP_Resource file_ref, struct PP_CompletionCallback ca llback))&Pnacl_M27_PPB_FileRef_Delete,
3935 .Rename = (int32_t (*)(PP_Resource file_ref, PP_Resource new_file_ref, struc t PP_CompletionCallback callback))&Pnacl_M27_PPB_FileRef_Rename,
3936 .Query = (int32_t (*)(PP_Resource file_ref, struct PP_FileInfo* info, struct PP_CompletionCallback callback))&Pnacl_M27_PPB_FileRef_Query
3937 };
3938
3854 struct PPB_FileSystem_1_0 Pnacl_Wrappers_PPB_FileSystem_1_0 = { 3939 struct PPB_FileSystem_1_0 Pnacl_Wrappers_PPB_FileSystem_1_0 = {
3855 .Create = (PP_Resource (*)(PP_Instance instance, PP_FileSystemType type))&Pn acl_M14_PPB_FileSystem_Create, 3940 .Create = (PP_Resource (*)(PP_Instance instance, PP_FileSystemType type))&Pn acl_M14_PPB_FileSystem_Create,
3856 .IsFileSystem = (PP_Bool (*)(PP_Resource resource))&Pnacl_M14_PPB_FileSystem _IsFileSystem, 3941 .IsFileSystem = (PP_Bool (*)(PP_Resource resource))&Pnacl_M14_PPB_FileSystem _IsFileSystem,
3857 .Open = (int32_t (*)(PP_Resource file_system, int64_t expected_size, struct PP_CompletionCallback callback))&Pnacl_M14_PPB_FileSystem_Open, 3942 .Open = (int32_t (*)(PP_Resource file_system, int64_t expected_size, struct PP_CompletionCallback callback))&Pnacl_M14_PPB_FileSystem_Open,
3858 .GetType = (PP_FileSystemType (*)(PP_Resource file_system))&Pnacl_M14_PPB_Fi leSystem_GetType 3943 .GetType = (PP_FileSystemType (*)(PP_Resource file_system))&Pnacl_M14_PPB_Fi leSystem_GetType
3859 }; 3944 };
3860 3945
3861 /* Not generating wrapper interface for PPB_Fullscreen_1_0 */ 3946 /* Not generating wrapper interface for PPB_Fullscreen_1_0 */
3862 3947
3863 /* Not generating wrapper interface for PPB_Gamepad_1_0 */ 3948 /* Not generating wrapper interface for PPB_Gamepad_1_0 */
(...skipping 846 matching lines...) Expand 10 before | Expand all | Expand 10 after
4710 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_FileIO_1_1, 4795 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_FileIO_1_1,
4711 .real_iface = NULL 4796 .real_iface = NULL
4712 }; 4797 };
4713 4798
4714 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileRef_1_0 = { 4799 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileRef_1_0 = {
4715 .iface_macro = PPB_FILEREF_INTERFACE_1_0, 4800 .iface_macro = PPB_FILEREF_INTERFACE_1_0,
4716 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_FileRef_1_0, 4801 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_FileRef_1_0,
4717 .real_iface = NULL 4802 .real_iface = NULL
4718 }; 4803 };
4719 4804
4805 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileRef_1_1 = {
4806 .iface_macro = PPB_FILEREF_INTERFACE_1_1,
4807 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_FileRef_1_1,
4808 .real_iface = NULL
4809 };
4810
4720 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileSystem_1_0 = { 4811 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileSystem_1_0 = {
4721 .iface_macro = PPB_FILESYSTEM_INTERFACE_1_0, 4812 .iface_macro = PPB_FILESYSTEM_INTERFACE_1_0,
4722 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_FileSystem_1_0, 4813 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_FileSystem_1_0,
4723 .real_iface = NULL 4814 .real_iface = NULL
4724 }; 4815 };
4725 4816
4726 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Fullscreen_1_0 = { 4817 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Fullscreen_1_0 = {
4727 .iface_macro = PPB_FULLSCREEN_INTERFACE_1_0, 4818 .iface_macro = PPB_FULLSCREEN_INTERFACE_1_0,
4728 .wrapped_iface = NULL /* Still need slot for real_iface */, 4819 .wrapped_iface = NULL /* Still need slot for real_iface */,
4729 .real_iface = NULL 4820 .real_iface = NULL
(...skipping 793 matching lines...) Expand 10 before | Expand all | Expand 10 after
5523 5614
5524 static struct __PnaclWrapperInfo *s_ppb_wrappers[] = { 5615 static struct __PnaclWrapperInfo *s_ppb_wrappers[] = {
5525 &Pnacl_WrapperInfo_PPB_Audio_1_0, 5616 &Pnacl_WrapperInfo_PPB_Audio_1_0,
5526 &Pnacl_WrapperInfo_PPB_AudioConfig_1_0, 5617 &Pnacl_WrapperInfo_PPB_AudioConfig_1_0,
5527 &Pnacl_WrapperInfo_PPB_AudioConfig_1_1, 5618 &Pnacl_WrapperInfo_PPB_AudioConfig_1_1,
5528 &Pnacl_WrapperInfo_PPB_Console_1_0, 5619 &Pnacl_WrapperInfo_PPB_Console_1_0,
5529 &Pnacl_WrapperInfo_PPB_Core_1_0, 5620 &Pnacl_WrapperInfo_PPB_Core_1_0,
5530 &Pnacl_WrapperInfo_PPB_FileIO_1_0, 5621 &Pnacl_WrapperInfo_PPB_FileIO_1_0,
5531 &Pnacl_WrapperInfo_PPB_FileIO_1_1, 5622 &Pnacl_WrapperInfo_PPB_FileIO_1_1,
5532 &Pnacl_WrapperInfo_PPB_FileRef_1_0, 5623 &Pnacl_WrapperInfo_PPB_FileRef_1_0,
5624 &Pnacl_WrapperInfo_PPB_FileRef_1_1,
5533 &Pnacl_WrapperInfo_PPB_FileSystem_1_0, 5625 &Pnacl_WrapperInfo_PPB_FileSystem_1_0,
5534 &Pnacl_WrapperInfo_PPB_Fullscreen_1_0, 5626 &Pnacl_WrapperInfo_PPB_Fullscreen_1_0,
5535 &Pnacl_WrapperInfo_PPB_Gamepad_1_0, 5627 &Pnacl_WrapperInfo_PPB_Gamepad_1_0,
5536 &Pnacl_WrapperInfo_PPB_Graphics2D_1_0, 5628 &Pnacl_WrapperInfo_PPB_Graphics2D_1_0,
5537 &Pnacl_WrapperInfo_PPB_Graphics3D_1_0, 5629 &Pnacl_WrapperInfo_PPB_Graphics3D_1_0,
5538 &Pnacl_WrapperInfo_PPB_ImageData_1_0, 5630 &Pnacl_WrapperInfo_PPB_ImageData_1_0,
5539 &Pnacl_WrapperInfo_PPB_InputEvent_1_0, 5631 &Pnacl_WrapperInfo_PPB_InputEvent_1_0,
5540 &Pnacl_WrapperInfo_PPB_MouseInputEvent_1_0, 5632 &Pnacl_WrapperInfo_PPB_MouseInputEvent_1_0,
5541 &Pnacl_WrapperInfo_PPB_MouseInputEvent_1_1, 5633 &Pnacl_WrapperInfo_PPB_MouseInputEvent_1_1,
5542 &Pnacl_WrapperInfo_PPB_WheelInputEvent_1_0, 5634 &Pnacl_WrapperInfo_PPB_WheelInputEvent_1_0,
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after
5742 } 5834 }
5743 5835
5744 if (wrapper->wrapped_iface) { 5836 if (wrapper->wrapped_iface) {
5745 return wrapper->wrapped_iface; 5837 return wrapper->wrapped_iface;
5746 } else { 5838 } else {
5747 return wrapper->real_iface; 5839 return wrapper->real_iface;
5748 } 5840 }
5749 } 5841 }
5750 5842
5751 #endif 5843 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698