OLD | NEW |
1 /* Copyright (c) 2016 The Chromium Authors. All rights reserved. | 1 /* Copyright (c) 2016 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/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.h" | 7 #include "ppapi/native_client/src/untrusted/pnacl_irt_shim/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 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
100 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Console_1_0; | 100 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Console_1_0; |
101 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Core_1_0; | 101 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Core_1_0; |
102 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileIO_1_0; | 102 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileIO_1_0; |
103 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileIO_1_1; | 103 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileIO_1_1; |
104 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileRef_1_0; | 104 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileRef_1_0; |
105 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileRef_1_1; | 105 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileRef_1_1; |
106 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileRef_1_2; | 106 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileRef_1_2; |
107 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileSystem_1_0; | 107 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_FileSystem_1_0; |
108 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Graphics2D_1_0; | 108 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Graphics2D_1_0; |
109 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Graphics2D_1_1; | 109 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Graphics2D_1_1; |
| 110 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Graphics2D_1_2; |
110 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Graphics3D_1_0; | 111 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Graphics3D_1_0; |
111 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_HostResolver_1_0; | 112 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_HostResolver_1_0; |
112 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MouseInputEvent_1_0; | 113 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MouseInputEvent_1_0; |
113 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MouseInputEvent_1_1; | 114 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MouseInputEvent_1_1; |
114 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_WheelInputEvent_1_0; | 115 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_WheelInputEvent_1_0; |
115 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_KeyboardInputEvent_1_0; | 116 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_KeyboardInputEvent_1_0; |
116 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_KeyboardInputEvent_1_2; | 117 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_KeyboardInputEvent_1_2; |
117 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TouchInputEvent_1_0; | 118 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TouchInputEvent_1_0; |
118 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_IMEInputEvent_1_0; | 119 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_IMEInputEvent_1_0; |
119 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MediaStreamAudioTrack_0_1
; | 120 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MediaStreamAudioTrack_0_1
; |
(...skipping 744 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
864 return iface->SetScale(resource, scale); | 865 return iface->SetScale(resource, scale); |
865 } | 866 } |
866 | 867 |
867 static float Pnacl_M27_PPB_Graphics2D_GetScale(PP_Resource resource) { | 868 static float Pnacl_M27_PPB_Graphics2D_GetScale(PP_Resource resource) { |
868 const struct PPB_Graphics2D_1_1 *iface = Pnacl_WrapperInfo_PPB_Graphics2D_1_1.
real_iface; | 869 const struct PPB_Graphics2D_1_1 *iface = Pnacl_WrapperInfo_PPB_Graphics2D_1_1.
real_iface; |
869 return iface->GetScale(resource); | 870 return iface->GetScale(resource); |
870 } | 871 } |
871 | 872 |
872 /* End wrapper methods for PPB_Graphics2D_1_1 */ | 873 /* End wrapper methods for PPB_Graphics2D_1_1 */ |
873 | 874 |
| 875 /* Begin wrapper methods for PPB_Graphics2D_1_2 */ |
| 876 |
| 877 static PP_Resource Pnacl_M52_PPB_Graphics2D_Create(PP_Instance instance, const s
truct PP_Size* size, PP_Bool is_always_opaque) { |
| 878 const struct PPB_Graphics2D_1_2 *iface = Pnacl_WrapperInfo_PPB_Graphics2D_1_2.
real_iface; |
| 879 return iface->Create(instance, size, is_always_opaque); |
| 880 } |
| 881 |
| 882 static PP_Bool Pnacl_M52_PPB_Graphics2D_IsGraphics2D(PP_Resource resource) { |
| 883 const struct PPB_Graphics2D_1_2 *iface = Pnacl_WrapperInfo_PPB_Graphics2D_1_2.
real_iface; |
| 884 return iface->IsGraphics2D(resource); |
| 885 } |
| 886 |
| 887 static PP_Bool Pnacl_M52_PPB_Graphics2D_Describe(PP_Resource graphics_2d, struct
PP_Size* size, PP_Bool* is_always_opaque) { |
| 888 const struct PPB_Graphics2D_1_2 *iface = Pnacl_WrapperInfo_PPB_Graphics2D_1_2.
real_iface; |
| 889 return iface->Describe(graphics_2d, size, is_always_opaque); |
| 890 } |
| 891 |
| 892 static void Pnacl_M52_PPB_Graphics2D_PaintImageData(PP_Resource graphics_2d, PP_
Resource image_data, const struct PP_Point* top_left, const struct PP_Rect* src_
rect) { |
| 893 const struct PPB_Graphics2D_1_2 *iface = Pnacl_WrapperInfo_PPB_Graphics2D_1_2.
real_iface; |
| 894 iface->PaintImageData(graphics_2d, image_data, top_left, src_rect); |
| 895 } |
| 896 |
| 897 static void Pnacl_M52_PPB_Graphics2D_Scroll(PP_Resource graphics_2d, const struc
t PP_Rect* clip_rect, const struct PP_Point* amount) { |
| 898 const struct PPB_Graphics2D_1_2 *iface = Pnacl_WrapperInfo_PPB_Graphics2D_1_2.
real_iface; |
| 899 iface->Scroll(graphics_2d, clip_rect, amount); |
| 900 } |
| 901 |
| 902 static void Pnacl_M52_PPB_Graphics2D_ReplaceContents(PP_Resource graphics_2d, PP
_Resource image_data) { |
| 903 const struct PPB_Graphics2D_1_2 *iface = Pnacl_WrapperInfo_PPB_Graphics2D_1_2.
real_iface; |
| 904 iface->ReplaceContents(graphics_2d, image_data); |
| 905 } |
| 906 |
| 907 static int32_t Pnacl_M52_PPB_Graphics2D_Flush(PP_Resource graphics_2d, struct PP
_CompletionCallback* callback) { |
| 908 const struct PPB_Graphics2D_1_2 *iface = Pnacl_WrapperInfo_PPB_Graphics2D_1_2.
real_iface; |
| 909 return iface->Flush(graphics_2d, *callback); |
| 910 } |
| 911 |
| 912 static PP_Bool Pnacl_M52_PPB_Graphics2D_SetScale(PP_Resource resource, float sca
le) { |
| 913 const struct PPB_Graphics2D_1_2 *iface = Pnacl_WrapperInfo_PPB_Graphics2D_1_2.
real_iface; |
| 914 return iface->SetScale(resource, scale); |
| 915 } |
| 916 |
| 917 static float Pnacl_M52_PPB_Graphics2D_GetScale(PP_Resource resource) { |
| 918 const struct PPB_Graphics2D_1_2 *iface = Pnacl_WrapperInfo_PPB_Graphics2D_1_2.
real_iface; |
| 919 return iface->GetScale(resource); |
| 920 } |
| 921 |
| 922 static PP_Bool Pnacl_M52_PPB_Graphics2D_SetLayerTransform(PP_Resource resource,
float scale, const struct PP_Point* origin, const struct PP_Point* translate) { |
| 923 const struct PPB_Graphics2D_1_2 *iface = Pnacl_WrapperInfo_PPB_Graphics2D_1_2.
real_iface; |
| 924 return iface->SetLayerTransform(resource, scale, origin, translate); |
| 925 } |
| 926 |
| 927 /* End wrapper methods for PPB_Graphics2D_1_2 */ |
| 928 |
874 /* Begin wrapper methods for PPB_Graphics3D_1_0 */ | 929 /* Begin wrapper methods for PPB_Graphics3D_1_0 */ |
875 | 930 |
876 static int32_t Pnacl_M15_PPB_Graphics3D_GetAttribMaxValue(PP_Resource instance,
int32_t attribute, int32_t* value) { | 931 static int32_t Pnacl_M15_PPB_Graphics3D_GetAttribMaxValue(PP_Resource instance,
int32_t attribute, int32_t* value) { |
877 const struct PPB_Graphics3D_1_0 *iface = Pnacl_WrapperInfo_PPB_Graphics3D_1_0.
real_iface; | 932 const struct PPB_Graphics3D_1_0 *iface = Pnacl_WrapperInfo_PPB_Graphics3D_1_0.
real_iface; |
878 return iface->GetAttribMaxValue(instance, attribute, value); | 933 return iface->GetAttribMaxValue(instance, attribute, value); |
879 } | 934 } |
880 | 935 |
881 static PP_Resource Pnacl_M15_PPB_Graphics3D_Create(PP_Instance instance, PP_Reso
urce share_context, const int32_t attrib_list[]) { | 936 static PP_Resource Pnacl_M15_PPB_Graphics3D_Create(PP_Instance instance, PP_Reso
urce share_context, const int32_t attrib_list[]) { |
882 const struct PPB_Graphics3D_1_0 *iface = Pnacl_WrapperInfo_PPB_Graphics3D_1_0.
real_iface; | 937 const struct PPB_Graphics3D_1_0 *iface = Pnacl_WrapperInfo_PPB_Graphics3D_1_0.
real_iface; |
883 return iface->Create(instance, share_context, attrib_list); | 938 return iface->Create(instance, share_context, attrib_list); |
(...skipping 3904 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4788 .IsGraphics2D = (PP_Bool (*)(PP_Resource resource))&Pnacl_M27_PPB_Graphics2D
_IsGraphics2D, | 4843 .IsGraphics2D = (PP_Bool (*)(PP_Resource resource))&Pnacl_M27_PPB_Graphics2D
_IsGraphics2D, |
4789 .Describe = (PP_Bool (*)(PP_Resource graphics_2d, struct PP_Size* size, PP_B
ool* is_always_opaque))&Pnacl_M27_PPB_Graphics2D_Describe, | 4844 .Describe = (PP_Bool (*)(PP_Resource graphics_2d, struct PP_Size* size, PP_B
ool* is_always_opaque))&Pnacl_M27_PPB_Graphics2D_Describe, |
4790 .PaintImageData = (void (*)(PP_Resource graphics_2d, PP_Resource image_data,
const struct PP_Point* top_left, const struct PP_Rect* src_rect))&Pnacl_M27_PPB
_Graphics2D_PaintImageData, | 4845 .PaintImageData = (void (*)(PP_Resource graphics_2d, PP_Resource image_data,
const struct PP_Point* top_left, const struct PP_Rect* src_rect))&Pnacl_M27_PPB
_Graphics2D_PaintImageData, |
4791 .Scroll = (void (*)(PP_Resource graphics_2d, const struct PP_Rect* clip_rect
, const struct PP_Point* amount))&Pnacl_M27_PPB_Graphics2D_Scroll, | 4846 .Scroll = (void (*)(PP_Resource graphics_2d, const struct PP_Rect* clip_rect
, const struct PP_Point* amount))&Pnacl_M27_PPB_Graphics2D_Scroll, |
4792 .ReplaceContents = (void (*)(PP_Resource graphics_2d, PP_Resource image_data
))&Pnacl_M27_PPB_Graphics2D_ReplaceContents, | 4847 .ReplaceContents = (void (*)(PP_Resource graphics_2d, PP_Resource image_data
))&Pnacl_M27_PPB_Graphics2D_ReplaceContents, |
4793 .Flush = (int32_t (*)(PP_Resource graphics_2d, struct PP_CompletionCallback
callback))&Pnacl_M27_PPB_Graphics2D_Flush, | 4848 .Flush = (int32_t (*)(PP_Resource graphics_2d, struct PP_CompletionCallback
callback))&Pnacl_M27_PPB_Graphics2D_Flush, |
4794 .SetScale = (PP_Bool (*)(PP_Resource resource, float scale))&Pnacl_M27_PPB_G
raphics2D_SetScale, | 4849 .SetScale = (PP_Bool (*)(PP_Resource resource, float scale))&Pnacl_M27_PPB_G
raphics2D_SetScale, |
4795 .GetScale = (float (*)(PP_Resource resource))&Pnacl_M27_PPB_Graphics2D_GetSc
ale | 4850 .GetScale = (float (*)(PP_Resource resource))&Pnacl_M27_PPB_Graphics2D_GetSc
ale |
4796 }; | 4851 }; |
4797 | 4852 |
| 4853 static const struct PPB_Graphics2D_1_2 Pnacl_Wrappers_PPB_Graphics2D_1_2 = { |
| 4854 .Create = (PP_Resource (*)(PP_Instance instance, const struct PP_Size* size,
PP_Bool is_always_opaque))&Pnacl_M52_PPB_Graphics2D_Create, |
| 4855 .IsGraphics2D = (PP_Bool (*)(PP_Resource resource))&Pnacl_M52_PPB_Graphics2D
_IsGraphics2D, |
| 4856 .Describe = (PP_Bool (*)(PP_Resource graphics_2d, struct PP_Size* size, PP_B
ool* is_always_opaque))&Pnacl_M52_PPB_Graphics2D_Describe, |
| 4857 .PaintImageData = (void (*)(PP_Resource graphics_2d, PP_Resource image_data,
const struct PP_Point* top_left, const struct PP_Rect* src_rect))&Pnacl_M52_PPB
_Graphics2D_PaintImageData, |
| 4858 .Scroll = (void (*)(PP_Resource graphics_2d, const struct PP_Rect* clip_rect
, const struct PP_Point* amount))&Pnacl_M52_PPB_Graphics2D_Scroll, |
| 4859 .ReplaceContents = (void (*)(PP_Resource graphics_2d, PP_Resource image_data
))&Pnacl_M52_PPB_Graphics2D_ReplaceContents, |
| 4860 .Flush = (int32_t (*)(PP_Resource graphics_2d, struct PP_CompletionCallback
callback))&Pnacl_M52_PPB_Graphics2D_Flush, |
| 4861 .SetScale = (PP_Bool (*)(PP_Resource resource, float scale))&Pnacl_M52_PPB_G
raphics2D_SetScale, |
| 4862 .GetScale = (float (*)(PP_Resource resource))&Pnacl_M52_PPB_Graphics2D_GetSc
ale, |
| 4863 .SetLayerTransform = (PP_Bool (*)(PP_Resource resource, float scale, const s
truct PP_Point* origin, const struct PP_Point* translate))&Pnacl_M52_PPB_Graphic
s2D_SetLayerTransform |
| 4864 }; |
| 4865 |
4798 static const struct PPB_Graphics3D_1_0 Pnacl_Wrappers_PPB_Graphics3D_1_0 = { | 4866 static const struct PPB_Graphics3D_1_0 Pnacl_Wrappers_PPB_Graphics3D_1_0 = { |
4799 .GetAttribMaxValue = (int32_t (*)(PP_Resource instance, int32_t attribute, i
nt32_t* value))&Pnacl_M15_PPB_Graphics3D_GetAttribMaxValue, | 4867 .GetAttribMaxValue = (int32_t (*)(PP_Resource instance, int32_t attribute, i
nt32_t* value))&Pnacl_M15_PPB_Graphics3D_GetAttribMaxValue, |
4800 .Create = (PP_Resource (*)(PP_Instance instance, PP_Resource share_context,
const int32_t attrib_list[]))&Pnacl_M15_PPB_Graphics3D_Create, | 4868 .Create = (PP_Resource (*)(PP_Instance instance, PP_Resource share_context,
const int32_t attrib_list[]))&Pnacl_M15_PPB_Graphics3D_Create, |
4801 .IsGraphics3D = (PP_Bool (*)(PP_Resource resource))&Pnacl_M15_PPB_Graphics3D
_IsGraphics3D, | 4869 .IsGraphics3D = (PP_Bool (*)(PP_Resource resource))&Pnacl_M15_PPB_Graphics3D
_IsGraphics3D, |
4802 .GetAttribs = (int32_t (*)(PP_Resource context, int32_t attrib_list[]))&Pnac
l_M15_PPB_Graphics3D_GetAttribs, | 4870 .GetAttribs = (int32_t (*)(PP_Resource context, int32_t attrib_list[]))&Pnac
l_M15_PPB_Graphics3D_GetAttribs, |
4803 .SetAttribs = (int32_t (*)(PP_Resource context, const int32_t attrib_list[])
)&Pnacl_M15_PPB_Graphics3D_SetAttribs, | 4871 .SetAttribs = (int32_t (*)(PP_Resource context, const int32_t attrib_list[])
)&Pnacl_M15_PPB_Graphics3D_SetAttribs, |
4804 .GetError = (int32_t (*)(PP_Resource context))&Pnacl_M15_PPB_Graphics3D_GetE
rror, | 4872 .GetError = (int32_t (*)(PP_Resource context))&Pnacl_M15_PPB_Graphics3D_GetE
rror, |
4805 .ResizeBuffers = (int32_t (*)(PP_Resource context, int32_t width, int32_t he
ight))&Pnacl_M15_PPB_Graphics3D_ResizeBuffers, | 4873 .ResizeBuffers = (int32_t (*)(PP_Resource context, int32_t width, int32_t he
ight))&Pnacl_M15_PPB_Graphics3D_ResizeBuffers, |
4806 .SwapBuffers = (int32_t (*)(PP_Resource context, struct PP_CompletionCallbac
k callback))&Pnacl_M15_PPB_Graphics3D_SwapBuffers | 4874 .SwapBuffers = (int32_t (*)(PP_Resource context, struct PP_CompletionCallbac
k callback))&Pnacl_M15_PPB_Graphics3D_SwapBuffers |
4807 }; | 4875 }; |
(...skipping 1112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5920 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_Graphics2D_1_0, | 5988 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_Graphics2D_1_0, |
5921 .real_iface = NULL | 5989 .real_iface = NULL |
5922 }; | 5990 }; |
5923 | 5991 |
5924 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Graphics2D_1_1 = { | 5992 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Graphics2D_1_1 = { |
5925 .iface_macro = PPB_GRAPHICS_2D_INTERFACE_1_1, | 5993 .iface_macro = PPB_GRAPHICS_2D_INTERFACE_1_1, |
5926 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_Graphics2D_1_1, | 5994 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_Graphics2D_1_1, |
5927 .real_iface = NULL | 5995 .real_iface = NULL |
5928 }; | 5996 }; |
5929 | 5997 |
| 5998 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Graphics2D_1_2 = { |
| 5999 .iface_macro = PPB_GRAPHICS_2D_INTERFACE_1_2, |
| 6000 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_Graphics2D_1_2, |
| 6001 .real_iface = NULL |
| 6002 }; |
| 6003 |
5930 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Graphics3D_1_0 = { | 6004 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Graphics3D_1_0 = { |
5931 .iface_macro = PPB_GRAPHICS_3D_INTERFACE_1_0, | 6005 .iface_macro = PPB_GRAPHICS_3D_INTERFACE_1_0, |
5932 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_Graphics3D_1_0, | 6006 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_Graphics3D_1_0, |
5933 .real_iface = NULL | 6007 .real_iface = NULL |
5934 }; | 6008 }; |
5935 | 6009 |
5936 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_HostResolver_1_0 = { | 6010 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_HostResolver_1_0 = { |
5937 .iface_macro = PPB_HOSTRESOLVER_INTERFACE_1_0, | 6011 .iface_macro = PPB_HOSTRESOLVER_INTERFACE_1_0, |
5938 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_HostResolver_1_0, | 6012 .wrapped_iface = (const void *) &Pnacl_Wrappers_PPB_HostResolver_1_0, |
5939 .real_iface = NULL | 6013 .real_iface = NULL |
(...skipping 577 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6517 &Pnacl_WrapperInfo_PPB_Console_1_0, | 6591 &Pnacl_WrapperInfo_PPB_Console_1_0, |
6518 &Pnacl_WrapperInfo_PPB_Core_1_0, | 6592 &Pnacl_WrapperInfo_PPB_Core_1_0, |
6519 &Pnacl_WrapperInfo_PPB_FileIO_1_0, | 6593 &Pnacl_WrapperInfo_PPB_FileIO_1_0, |
6520 &Pnacl_WrapperInfo_PPB_FileIO_1_1, | 6594 &Pnacl_WrapperInfo_PPB_FileIO_1_1, |
6521 &Pnacl_WrapperInfo_PPB_FileRef_1_0, | 6595 &Pnacl_WrapperInfo_PPB_FileRef_1_0, |
6522 &Pnacl_WrapperInfo_PPB_FileRef_1_1, | 6596 &Pnacl_WrapperInfo_PPB_FileRef_1_1, |
6523 &Pnacl_WrapperInfo_PPB_FileRef_1_2, | 6597 &Pnacl_WrapperInfo_PPB_FileRef_1_2, |
6524 &Pnacl_WrapperInfo_PPB_FileSystem_1_0, | 6598 &Pnacl_WrapperInfo_PPB_FileSystem_1_0, |
6525 &Pnacl_WrapperInfo_PPB_Graphics2D_1_0, | 6599 &Pnacl_WrapperInfo_PPB_Graphics2D_1_0, |
6526 &Pnacl_WrapperInfo_PPB_Graphics2D_1_1, | 6600 &Pnacl_WrapperInfo_PPB_Graphics2D_1_1, |
| 6601 &Pnacl_WrapperInfo_PPB_Graphics2D_1_2, |
6527 &Pnacl_WrapperInfo_PPB_Graphics3D_1_0, | 6602 &Pnacl_WrapperInfo_PPB_Graphics3D_1_0, |
6528 &Pnacl_WrapperInfo_PPB_HostResolver_1_0, | 6603 &Pnacl_WrapperInfo_PPB_HostResolver_1_0, |
6529 &Pnacl_WrapperInfo_PPB_MouseInputEvent_1_0, | 6604 &Pnacl_WrapperInfo_PPB_MouseInputEvent_1_0, |
6530 &Pnacl_WrapperInfo_PPB_MouseInputEvent_1_1, | 6605 &Pnacl_WrapperInfo_PPB_MouseInputEvent_1_1, |
6531 &Pnacl_WrapperInfo_PPB_WheelInputEvent_1_0, | 6606 &Pnacl_WrapperInfo_PPB_WheelInputEvent_1_0, |
6532 &Pnacl_WrapperInfo_PPB_KeyboardInputEvent_1_0, | 6607 &Pnacl_WrapperInfo_PPB_KeyboardInputEvent_1_0, |
6533 &Pnacl_WrapperInfo_PPB_KeyboardInputEvent_1_2, | 6608 &Pnacl_WrapperInfo_PPB_KeyboardInputEvent_1_2, |
6534 &Pnacl_WrapperInfo_PPB_TouchInputEvent_1_0, | 6609 &Pnacl_WrapperInfo_PPB_TouchInputEvent_1_0, |
6535 &Pnacl_WrapperInfo_PPB_IMEInputEvent_1_0, | 6610 &Pnacl_WrapperInfo_PPB_IMEInputEvent_1_0, |
6536 &Pnacl_WrapperInfo_PPB_MediaStreamAudioTrack_0_1, | 6611 &Pnacl_WrapperInfo_PPB_MediaStreamAudioTrack_0_1, |
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6689 | 6764 |
6690 /* Initialize the real_iface if it hasn't been. The wrapper depends on it. */ | 6765 /* Initialize the real_iface if it hasn't been. The wrapper depends on it. */ |
6691 if (wrapper->real_iface == NULL) { | 6766 if (wrapper->real_iface == NULL) { |
6692 const void *iface = (*__real_PPPGetInterface)(name); | 6767 const void *iface = (*__real_PPPGetInterface)(name); |
6693 if (NULL == iface) return NULL; | 6768 if (NULL == iface) return NULL; |
6694 wrapper->real_iface = iface; | 6769 wrapper->real_iface = iface; |
6695 } | 6770 } |
6696 | 6771 |
6697 return wrapper->wrapped_iface; | 6772 return wrapper->wrapped_iface; |
6698 } | 6773 } |
OLD | NEW |