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

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

Issue 18671004: PPAPI: Move IMEInputEvent and TextInput to stable. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address comments Created 7 years, 5 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 | Annotate | Revision Log
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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 #include "ppapi/c/ppb_image_data.h" 59 #include "ppapi/c/ppb_image_data.h"
60 #include "ppapi/c/ppb_input_event.h" 60 #include "ppapi/c/ppb_input_event.h"
61 #include "ppapi/c/ppb_instance.h" 61 #include "ppapi/c/ppb_instance.h"
62 #include "ppapi/c/ppb_message_loop.h" 62 #include "ppapi/c/ppb_message_loop.h"
63 #include "ppapi/c/ppb_messaging.h" 63 #include "ppapi/c/ppb_messaging.h"
64 #include "ppapi/c/ppb_mouse_cursor.h" 64 #include "ppapi/c/ppb_mouse_cursor.h"
65 #include "ppapi/c/ppb_mouse_lock.h" 65 #include "ppapi/c/ppb_mouse_lock.h"
66 #include "ppapi/c/ppb_net_address.h" 66 #include "ppapi/c/ppb_net_address.h"
67 #include "ppapi/c/ppb_network_proxy.h" 67 #include "ppapi/c/ppb_network_proxy.h"
68 #include "ppapi/c/ppb_tcp_socket.h" 68 #include "ppapi/c/ppb_tcp_socket.h"
69 #include "ppapi/c/ppb_text_input_controller.h"
69 #include "ppapi/c/ppb_udp_socket.h" 70 #include "ppapi/c/ppb_udp_socket.h"
70 #include "ppapi/c/ppb_url_loader.h" 71 #include "ppapi/c/ppb_url_loader.h"
71 #include "ppapi/c/ppb_url_request_info.h" 72 #include "ppapi/c/ppb_url_request_info.h"
72 #include "ppapi/c/ppb_url_response_info.h" 73 #include "ppapi/c/ppb_url_response_info.h"
73 #include "ppapi/c/ppb_var.h" 74 #include "ppapi/c/ppb_var.h"
74 #include "ppapi/c/ppb_var_array.h" 75 #include "ppapi/c/ppb_var_array.h"
75 #include "ppapi/c/ppb_var_array_buffer.h" 76 #include "ppapi/c/ppb_var_array_buffer.h"
76 #include "ppapi/c/ppb_var_dictionary.h" 77 #include "ppapi/c/ppb_var_dictionary.h"
77 #include "ppapi/c/ppb_view.h" 78 #include "ppapi/c/ppb_view.h"
78 #include "ppapi/c/ppb_websocket.h" 79 #include "ppapi/c/ppb_websocket.h"
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
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_Graphics2D_1_0; 144 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Graphics2D_1_0;
144 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Graphics2D_1_1; 145 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Graphics2D_1_1;
145 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Graphics3D_1_0; 146 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Graphics3D_1_0;
146 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_HostResolver_1_0; 147 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_HostResolver_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;
150 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_KeyboardInputEvent_1_0; 151 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_KeyboardInputEvent_1_0;
151 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TouchInputEvent_1_0; 152 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TouchInputEvent_1_0;
153 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_IMEInputEvent_1_0;
152 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MessageLoop_1_0; 154 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MessageLoop_1_0;
153 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Messaging_1_0; 155 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Messaging_1_0;
154 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MouseLock_1_0; 156 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MouseLock_1_0;
155 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_NetAddress_1_0; 157 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_NetAddress_1_0;
156 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_NetworkProxy_1_0; 158 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_NetworkProxy_1_0;
157 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TCPSocket_1_0; 159 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TCPSocket_1_0;
158 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_UDPSocket_1_0; 160 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_UDPSocket_1_0;
159 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLLoader_1_0; 161 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLLoader_1_0;
160 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLRequestInfo_1_0; 162 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLRequestInfo_1_0;
161 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLResponseInfo_1_0; 163 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_URLResponseInfo_1_0;
(...skipping 691 matching lines...) Expand 10 before | Expand all | Expand 10 after
853 *_struct_result = iface->GetTouchByIndex(resource, list, index); 855 *_struct_result = iface->GetTouchByIndex(resource, list, index);
854 } 856 }
855 857
856 static void Pnacl_M13_PPB_TouchInputEvent_GetTouchById(struct PP_TouchPoint* _st ruct_result, PP_Resource resource, PP_TouchListType list, uint32_t touch_id) { 858 static void Pnacl_M13_PPB_TouchInputEvent_GetTouchById(struct PP_TouchPoint* _st ruct_result, PP_Resource resource, PP_TouchListType list, uint32_t touch_id) {
857 const struct PPB_TouchInputEvent_1_0 *iface = Pnacl_WrapperInfo_PPB_TouchInput Event_1_0.real_iface; 859 const struct PPB_TouchInputEvent_1_0 *iface = Pnacl_WrapperInfo_PPB_TouchInput Event_1_0.real_iface;
858 *_struct_result = iface->GetTouchById(resource, list, touch_id); 860 *_struct_result = iface->GetTouchById(resource, list, touch_id);
859 } 861 }
860 862
861 /* End wrapper methods for PPB_TouchInputEvent_1_0 */ 863 /* End wrapper methods for PPB_TouchInputEvent_1_0 */
862 864
865 /* Begin wrapper methods for PPB_IMEInputEvent_1_0 */
866
867 static PP_Resource Pnacl_M13_PPB_IMEInputEvent_Create(PP_Instance instance, PP_I nputEvent_Type type, PP_TimeTicks time_stamp, struct PP_Var* text, uint32_t segm ent_number, const uint32_t segment_offsets[], int32_t target_segment, uint32_t s election_start, uint32_t selection_end) {
868 const struct PPB_IMEInputEvent_1_0 *iface = Pnacl_WrapperInfo_PPB_IMEInputEven t_1_0.real_iface;
869 return iface->Create(instance, type, time_stamp, *text, segment_number, segmen t_offsets, target_segment, selection_start, selection_end);
870 }
871
872 static PP_Bool Pnacl_M13_PPB_IMEInputEvent_IsIMEInputEvent(PP_Resource resource) {
873 const struct PPB_IMEInputEvent_1_0 *iface = Pnacl_WrapperInfo_PPB_IMEInputEven t_1_0.real_iface;
874 return iface->IsIMEInputEvent(resource);
875 }
876
877 static void Pnacl_M13_PPB_IMEInputEvent_GetText(struct PP_Var* _struct_result, P P_Resource ime_event) {
878 const struct PPB_IMEInputEvent_1_0 *iface = Pnacl_WrapperInfo_PPB_IMEInputEven t_1_0.real_iface;
879 *_struct_result = iface->GetText(ime_event);
880 }
881
882 static uint32_t Pnacl_M13_PPB_IMEInputEvent_GetSegmentNumber(PP_Resource ime_eve nt) {
883 const struct PPB_IMEInputEvent_1_0 *iface = Pnacl_WrapperInfo_PPB_IMEInputEven t_1_0.real_iface;
884 return iface->GetSegmentNumber(ime_event);
885 }
886
887 static uint32_t Pnacl_M13_PPB_IMEInputEvent_GetSegmentOffset(PP_Resource ime_eve nt, uint32_t index) {
888 const struct PPB_IMEInputEvent_1_0 *iface = Pnacl_WrapperInfo_PPB_IMEInputEven t_1_0.real_iface;
889 return iface->GetSegmentOffset(ime_event, index);
890 }
891
892 static int32_t Pnacl_M13_PPB_IMEInputEvent_GetTargetSegment(PP_Resource ime_even t) {
893 const struct PPB_IMEInputEvent_1_0 *iface = Pnacl_WrapperInfo_PPB_IMEInputEven t_1_0.real_iface;
894 return iface->GetTargetSegment(ime_event);
895 }
896
897 static void Pnacl_M13_PPB_IMEInputEvent_GetSelection(PP_Resource ime_event, uint 32_t* start, uint32_t* end) {
898 const struct PPB_IMEInputEvent_1_0 *iface = Pnacl_WrapperInfo_PPB_IMEInputEven t_1_0.real_iface;
899 iface->GetSelection(ime_event, start, end);
900 }
901
902 /* End wrapper methods for PPB_IMEInputEvent_1_0 */
903
863 /* Not generating wrapper methods for PPB_Instance_1_0 */ 904 /* Not generating wrapper methods for PPB_Instance_1_0 */
864 905
865 /* Begin wrapper methods for PPB_MessageLoop_1_0 */ 906 /* Begin wrapper methods for PPB_MessageLoop_1_0 */
866 907
867 static PP_Resource Pnacl_M25_PPB_MessageLoop_Create(PP_Instance instance) { 908 static PP_Resource Pnacl_M25_PPB_MessageLoop_Create(PP_Instance instance) {
868 const struct PPB_MessageLoop_1_0 *iface = Pnacl_WrapperInfo_PPB_MessageLoop_1_ 0.real_iface; 909 const struct PPB_MessageLoop_1_0 *iface = Pnacl_WrapperInfo_PPB_MessageLoop_1_ 0.real_iface;
869 return iface->Create(instance); 910 return iface->Create(instance);
870 } 911 }
871 912
872 static PP_Resource Pnacl_M25_PPB_MessageLoop_GetForMainThread(void) { 913 static PP_Resource Pnacl_M25_PPB_MessageLoop_GetForMainThread(void) {
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
1016 iface->Close(tcp_socket); 1057 iface->Close(tcp_socket);
1017 } 1058 }
1018 1059
1019 static int32_t Pnacl_M29_PPB_TCPSocket_SetOption(PP_Resource tcp_socket, PP_TCPS ocket_Option name, struct PP_Var* value, struct PP_CompletionCallback* callback) { 1060 static int32_t Pnacl_M29_PPB_TCPSocket_SetOption(PP_Resource tcp_socket, PP_TCPS ocket_Option name, struct PP_Var* value, struct PP_CompletionCallback* callback) {
1020 const struct PPB_TCPSocket_1_0 *iface = Pnacl_WrapperInfo_PPB_TCPSocket_1_0.re al_iface; 1061 const struct PPB_TCPSocket_1_0 *iface = Pnacl_WrapperInfo_PPB_TCPSocket_1_0.re al_iface;
1021 return iface->SetOption(tcp_socket, name, *value, *callback); 1062 return iface->SetOption(tcp_socket, name, *value, *callback);
1022 } 1063 }
1023 1064
1024 /* End wrapper methods for PPB_TCPSocket_1_0 */ 1065 /* End wrapper methods for PPB_TCPSocket_1_0 */
1025 1066
1067 /* Not generating wrapper methods for PPB_TextInputController_1_0 */
1068
1026 /* Begin wrapper methods for PPB_UDPSocket_1_0 */ 1069 /* Begin wrapper methods for PPB_UDPSocket_1_0 */
1027 1070
1028 static PP_Resource Pnacl_M29_PPB_UDPSocket_Create(PP_Instance instance) { 1071 static PP_Resource Pnacl_M29_PPB_UDPSocket_Create(PP_Instance instance) {
1029 const struct PPB_UDPSocket_1_0 *iface = Pnacl_WrapperInfo_PPB_UDPSocket_1_0.re al_iface; 1072 const struct PPB_UDPSocket_1_0 *iface = Pnacl_WrapperInfo_PPB_UDPSocket_1_0.re al_iface;
1030 return iface->Create(instance); 1073 return iface->Create(instance);
1031 } 1074 }
1032 1075
1033 static PP_Bool Pnacl_M29_PPB_UDPSocket_IsUDPSocket(PP_Resource resource) { 1076 static PP_Bool Pnacl_M29_PPB_UDPSocket_IsUDPSocket(PP_Resource resource) {
1034 const struct PPB_UDPSocket_1_0 *iface = Pnacl_WrapperInfo_PPB_UDPSocket_1_0.re al_iface; 1077 const struct PPB_UDPSocket_1_0 *iface = Pnacl_WrapperInfo_PPB_UDPSocket_1_0.re al_iface;
1035 return iface->IsUDPSocket(resource); 1078 return iface->IsUDPSocket(resource);
(...skipping 869 matching lines...) Expand 10 before | Expand all | Expand 10 after
1905 const struct PPB_Testing_Dev_0_92 *iface = Pnacl_WrapperInfo_PPB_Testing_Dev_0 _92.real_iface; 1948 const struct PPB_Testing_Dev_0_92 *iface = Pnacl_WrapperInfo_PPB_Testing_Dev_0 _92.real_iface;
1906 iface->SetMinimumArrayBufferSizeForShmem(instance, threshold); 1949 iface->SetMinimumArrayBufferSizeForShmem(instance, threshold);
1907 } 1950 }
1908 1951
1909 /* End wrapper methods for PPB_Testing_Dev_0_92 */ 1952 /* End wrapper methods for PPB_Testing_Dev_0_92 */
1910 1953
1911 /* Not generating wrapper methods for PPB_TextInput_Dev_0_1 */ 1954 /* Not generating wrapper methods for PPB_TextInput_Dev_0_1 */
1912 1955
1913 /* Not generating wrapper methods for PPB_TextInput_Dev_0_2 */ 1956 /* Not generating wrapper methods for PPB_TextInput_Dev_0_2 */
1914 1957
1958 /* Not generating wrapper methods for PPB_TextInput_Dev_None */
1959
1915 /* Not generating wrapper methods for PPB_Trace_Event_Dev_0_1 */ 1960 /* Not generating wrapper methods for PPB_Trace_Event_Dev_0_1 */
1916 1961
1917 /* Not generating wrapper methods for PPB_Trace_Event_Dev_0_2 */ 1962 /* Not generating wrapper methods for PPB_Trace_Event_Dev_0_2 */
1918 1963
1919 /* Begin wrapper methods for PPB_TrueTypeFont_Dev_0_1 */ 1964 /* Begin wrapper methods for PPB_TrueTypeFont_Dev_0_1 */
1920 1965
1921 static int32_t Pnacl_M26_PPB_TrueTypeFont_Dev_GetFontFamilies(PP_Instance instan ce, struct PP_ArrayOutput* output, struct PP_CompletionCallback* callback) { 1966 static int32_t Pnacl_M26_PPB_TrueTypeFont_Dev_GetFontFamilies(PP_Instance instan ce, struct PP_ArrayOutput* output, struct PP_CompletionCallback* callback) {
1922 const struct PPB_TrueTypeFont_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_TrueTypeF ont_Dev_0_1.real_iface; 1967 const struct PPB_TrueTypeFont_Dev_0_1 *iface = Pnacl_WrapperInfo_PPB_TrueTypeF ont_Dev_0_1.real_iface;
1923 return iface->GetFontFamilies(instance, *output, *callback); 1968 return iface->GetFontFamilies(instance, *output, *callback);
1924 } 1969 }
(...skipping 2062 matching lines...) Expand 10 before | Expand all | Expand 10 after
3987 4032
3988 struct PPB_TouchInputEvent_1_0 Pnacl_Wrappers_PPB_TouchInputEvent_1_0 = { 4033 struct PPB_TouchInputEvent_1_0 Pnacl_Wrappers_PPB_TouchInputEvent_1_0 = {
3989 .Create = (PP_Resource (*)(PP_Instance instance, PP_InputEvent_Type type, PP _TimeTicks time_stamp, uint32_t modifiers))&Pnacl_M13_PPB_TouchInputEvent_Create , 4034 .Create = (PP_Resource (*)(PP_Instance instance, PP_InputEvent_Type type, PP _TimeTicks time_stamp, uint32_t modifiers))&Pnacl_M13_PPB_TouchInputEvent_Create ,
3990 .AddTouchPoint = (void (*)(PP_Resource touch_event, PP_TouchListType list, c onst struct PP_TouchPoint* point))&Pnacl_M13_PPB_TouchInputEvent_AddTouchPoint, 4035 .AddTouchPoint = (void (*)(PP_Resource touch_event, PP_TouchListType list, c onst struct PP_TouchPoint* point))&Pnacl_M13_PPB_TouchInputEvent_AddTouchPoint,
3991 .IsTouchInputEvent = (PP_Bool (*)(PP_Resource resource))&Pnacl_M13_PPB_Touch InputEvent_IsTouchInputEvent, 4036 .IsTouchInputEvent = (PP_Bool (*)(PP_Resource resource))&Pnacl_M13_PPB_Touch InputEvent_IsTouchInputEvent,
3992 .GetTouchCount = (uint32_t (*)(PP_Resource resource, PP_TouchListType list)) &Pnacl_M13_PPB_TouchInputEvent_GetTouchCount, 4037 .GetTouchCount = (uint32_t (*)(PP_Resource resource, PP_TouchListType list)) &Pnacl_M13_PPB_TouchInputEvent_GetTouchCount,
3993 .GetTouchByIndex = (struct PP_TouchPoint (*)(PP_Resource resource, PP_TouchL istType list, uint32_t index))&Pnacl_M13_PPB_TouchInputEvent_GetTouchByIndex, 4038 .GetTouchByIndex = (struct PP_TouchPoint (*)(PP_Resource resource, PP_TouchL istType list, uint32_t index))&Pnacl_M13_PPB_TouchInputEvent_GetTouchByIndex,
3994 .GetTouchById = (struct PP_TouchPoint (*)(PP_Resource resource, PP_TouchList Type list, uint32_t touch_id))&Pnacl_M13_PPB_TouchInputEvent_GetTouchById 4039 .GetTouchById = (struct PP_TouchPoint (*)(PP_Resource resource, PP_TouchList Type list, uint32_t touch_id))&Pnacl_M13_PPB_TouchInputEvent_GetTouchById
3995 }; 4040 };
3996 4041
4042 struct PPB_IMEInputEvent_1_0 Pnacl_Wrappers_PPB_IMEInputEvent_1_0 = {
4043 .Create = (PP_Resource (*)(PP_Instance instance, PP_InputEvent_Type type, PP _TimeTicks time_stamp, struct PP_Var text, uint32_t segment_number, const uint32 _t segment_offsets[], int32_t target_segment, uint32_t selection_start, uint32_t selection_end))&Pnacl_M13_PPB_IMEInputEvent_Create,
4044 .IsIMEInputEvent = (PP_Bool (*)(PP_Resource resource))&Pnacl_M13_PPB_IMEInpu tEvent_IsIMEInputEvent,
4045 .GetText = (struct PP_Var (*)(PP_Resource ime_event))&Pnacl_M13_PPB_IMEInput Event_GetText,
4046 .GetSegmentNumber = (uint32_t (*)(PP_Resource ime_event))&Pnacl_M13_PPB_IMEI nputEvent_GetSegmentNumber,
4047 .GetSegmentOffset = (uint32_t (*)(PP_Resource ime_event, uint32_t index))&Pn acl_M13_PPB_IMEInputEvent_GetSegmentOffset,
4048 .GetTargetSegment = (int32_t (*)(PP_Resource ime_event))&Pnacl_M13_PPB_IMEIn putEvent_GetTargetSegment,
4049 .GetSelection = (void (*)(PP_Resource ime_event, uint32_t* start, uint32_t* end))&Pnacl_M13_PPB_IMEInputEvent_GetSelection
4050 };
4051
3997 /* Not generating wrapper interface for PPB_Instance_1_0 */ 4052 /* Not generating wrapper interface for PPB_Instance_1_0 */
3998 4053
3999 struct PPB_MessageLoop_1_0 Pnacl_Wrappers_PPB_MessageLoop_1_0 = { 4054 struct PPB_MessageLoop_1_0 Pnacl_Wrappers_PPB_MessageLoop_1_0 = {
4000 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M25_PPB_MessageLoop_ Create, 4055 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M25_PPB_MessageLoop_ Create,
4001 .GetForMainThread = (PP_Resource (*)(void))&Pnacl_M25_PPB_MessageLoop_GetFor MainThread, 4056 .GetForMainThread = (PP_Resource (*)(void))&Pnacl_M25_PPB_MessageLoop_GetFor MainThread,
4002 .GetCurrent = (PP_Resource (*)(void))&Pnacl_M25_PPB_MessageLoop_GetCurrent, 4057 .GetCurrent = (PP_Resource (*)(void))&Pnacl_M25_PPB_MessageLoop_GetCurrent,
4003 .AttachToCurrentThread = (int32_t (*)(PP_Resource message_loop))&Pnacl_M25_P PB_MessageLoop_AttachToCurrentThread, 4058 .AttachToCurrentThread = (int32_t (*)(PP_Resource message_loop))&Pnacl_M25_P PB_MessageLoop_AttachToCurrentThread,
4004 .Run = (int32_t (*)(PP_Resource message_loop))&Pnacl_M25_PPB_MessageLoop_Run , 4059 .Run = (int32_t (*)(PP_Resource message_loop))&Pnacl_M25_PPB_MessageLoop_Run ,
4005 .PostWork = (int32_t (*)(PP_Resource message_loop, struct PP_CompletionCallb ack callback, int64_t delay_ms))&Pnacl_M25_PPB_MessageLoop_PostWork, 4060 .PostWork = (int32_t (*)(PP_Resource message_loop, struct PP_CompletionCallb ack callback, int64_t delay_ms))&Pnacl_M25_PPB_MessageLoop_PostWork,
4006 .PostQuit = (int32_t (*)(PP_Resource message_loop, PP_Bool should_destroy))& Pnacl_M25_PPB_MessageLoop_PostQuit 4061 .PostQuit = (int32_t (*)(PP_Resource message_loop, PP_Bool should_destroy))& Pnacl_M25_PPB_MessageLoop_PostQuit
(...skipping 29 matching lines...) Expand all
4036 .IsTCPSocket = (PP_Bool (*)(PP_Resource resource))&Pnacl_M29_PPB_TCPSocket_I sTCPSocket, 4091 .IsTCPSocket = (PP_Bool (*)(PP_Resource resource))&Pnacl_M29_PPB_TCPSocket_I sTCPSocket,
4037 .Connect = (int32_t (*)(PP_Resource tcp_socket, PP_Resource addr, struct PP_ CompletionCallback callback))&Pnacl_M29_PPB_TCPSocket_Connect, 4092 .Connect = (int32_t (*)(PP_Resource tcp_socket, PP_Resource addr, struct PP_ CompletionCallback callback))&Pnacl_M29_PPB_TCPSocket_Connect,
4038 .GetLocalAddress = (PP_Resource (*)(PP_Resource tcp_socket))&Pnacl_M29_PPB_T CPSocket_GetLocalAddress, 4093 .GetLocalAddress = (PP_Resource (*)(PP_Resource tcp_socket))&Pnacl_M29_PPB_T CPSocket_GetLocalAddress,
4039 .GetRemoteAddress = (PP_Resource (*)(PP_Resource tcp_socket))&Pnacl_M29_PPB_ TCPSocket_GetRemoteAddress, 4094 .GetRemoteAddress = (PP_Resource (*)(PP_Resource tcp_socket))&Pnacl_M29_PPB_ TCPSocket_GetRemoteAddress,
4040 .Read = (int32_t (*)(PP_Resource tcp_socket, char* buffer, int32_t bytes_to_ read, struct PP_CompletionCallback callback))&Pnacl_M29_PPB_TCPSocket_Read, 4095 .Read = (int32_t (*)(PP_Resource tcp_socket, char* buffer, int32_t bytes_to_ read, struct PP_CompletionCallback callback))&Pnacl_M29_PPB_TCPSocket_Read,
4041 .Write = (int32_t (*)(PP_Resource tcp_socket, const char* buffer, int32_t by tes_to_write, struct PP_CompletionCallback callback))&Pnacl_M29_PPB_TCPSocket_Wr ite, 4096 .Write = (int32_t (*)(PP_Resource tcp_socket, const char* buffer, int32_t by tes_to_write, struct PP_CompletionCallback callback))&Pnacl_M29_PPB_TCPSocket_Wr ite,
4042 .Close = (void (*)(PP_Resource tcp_socket))&Pnacl_M29_PPB_TCPSocket_Close, 4097 .Close = (void (*)(PP_Resource tcp_socket))&Pnacl_M29_PPB_TCPSocket_Close,
4043 .SetOption = (int32_t (*)(PP_Resource tcp_socket, PP_TCPSocket_Option name, struct PP_Var value, struct PP_CompletionCallback callback))&Pnacl_M29_PPB_TCPSo cket_SetOption 4098 .SetOption = (int32_t (*)(PP_Resource tcp_socket, PP_TCPSocket_Option name, struct PP_Var value, struct PP_CompletionCallback callback))&Pnacl_M29_PPB_TCPSo cket_SetOption
4044 }; 4099 };
4045 4100
4101 /* Not generating wrapper interface for PPB_TextInputController_1_0 */
4102
4046 struct PPB_UDPSocket_1_0 Pnacl_Wrappers_PPB_UDPSocket_1_0 = { 4103 struct PPB_UDPSocket_1_0 Pnacl_Wrappers_PPB_UDPSocket_1_0 = {
4047 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M29_PPB_UDPSocket_Cr eate, 4104 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M29_PPB_UDPSocket_Cr eate,
4048 .IsUDPSocket = (PP_Bool (*)(PP_Resource resource))&Pnacl_M29_PPB_UDPSocket_I sUDPSocket, 4105 .IsUDPSocket = (PP_Bool (*)(PP_Resource resource))&Pnacl_M29_PPB_UDPSocket_I sUDPSocket,
4049 .Bind = (int32_t (*)(PP_Resource udp_socket, PP_Resource addr, struct PP_Com pletionCallback callback))&Pnacl_M29_PPB_UDPSocket_Bind, 4106 .Bind = (int32_t (*)(PP_Resource udp_socket, PP_Resource addr, struct PP_Com pletionCallback callback))&Pnacl_M29_PPB_UDPSocket_Bind,
4050 .GetBoundAddress = (PP_Resource (*)(PP_Resource udp_socket))&Pnacl_M29_PPB_U DPSocket_GetBoundAddress, 4107 .GetBoundAddress = (PP_Resource (*)(PP_Resource udp_socket))&Pnacl_M29_PPB_U DPSocket_GetBoundAddress,
4051 .RecvFrom = (int32_t (*)(PP_Resource udp_socket, char* buffer, int32_t num_b ytes, PP_Resource* addr, struct PP_CompletionCallback callback))&Pnacl_M29_PPB_U DPSocket_RecvFrom, 4108 .RecvFrom = (int32_t (*)(PP_Resource udp_socket, char* buffer, int32_t num_b ytes, PP_Resource* addr, struct PP_CompletionCallback callback))&Pnacl_M29_PPB_U DPSocket_RecvFrom,
4052 .SendTo = (int32_t (*)(PP_Resource udp_socket, const char* buffer, int32_t n um_bytes, PP_Resource addr, struct PP_CompletionCallback callback))&Pnacl_M29_PP B_UDPSocket_SendTo, 4109 .SendTo = (int32_t (*)(PP_Resource udp_socket, const char* buffer, int32_t n um_bytes, PP_Resource addr, struct PP_CompletionCallback callback))&Pnacl_M29_PP B_UDPSocket_SendTo,
4053 .Close = (void (*)(PP_Resource udp_socket))&Pnacl_M29_PPB_UDPSocket_Close, 4110 .Close = (void (*)(PP_Resource udp_socket))&Pnacl_M29_PPB_UDPSocket_Close,
4054 .SetOption = (int32_t (*)(PP_Resource udp_socket, PP_UDPSocket_Option name, struct PP_Var value, struct PP_CompletionCallback callback))&Pnacl_M29_PPB_UDPSo cket_SetOption 4111 .SetOption = (int32_t (*)(PP_Resource udp_socket, PP_UDPSocket_Option name, struct PP_Var value, struct PP_CompletionCallback callback))&Pnacl_M29_PPB_UDPSo cket_SetOption
4055 }; 4112 };
(...skipping 255 matching lines...) Expand 10 before | Expand all | Expand 10 after
4311 .SimulateInputEvent = (void (*)(PP_Instance instance, PP_Resource input_even t))&Pnacl_M28_PPB_Testing_Dev_SimulateInputEvent, 4368 .SimulateInputEvent = (void (*)(PP_Instance instance, PP_Resource input_even t))&Pnacl_M28_PPB_Testing_Dev_SimulateInputEvent,
4312 .GetDocumentURL = (struct PP_Var (*)(PP_Instance instance, struct PP_URLComp onents_Dev* components))&Pnacl_M28_PPB_Testing_Dev_GetDocumentURL, 4369 .GetDocumentURL = (struct PP_Var (*)(PP_Instance instance, struct PP_URLComp onents_Dev* components))&Pnacl_M28_PPB_Testing_Dev_GetDocumentURL,
4313 .GetLiveVars = (uint32_t (*)(struct PP_Var live_vars[], uint32_t array_size) )&Pnacl_M28_PPB_Testing_Dev_GetLiveVars, 4370 .GetLiveVars = (uint32_t (*)(struct PP_Var live_vars[], uint32_t array_size) )&Pnacl_M28_PPB_Testing_Dev_GetLiveVars,
4314 .SetMinimumArrayBufferSizeForShmem = (void (*)(PP_Instance instance, uint32_ t threshold))&Pnacl_M28_PPB_Testing_Dev_SetMinimumArrayBufferSizeForShmem 4371 .SetMinimumArrayBufferSizeForShmem = (void (*)(PP_Instance instance, uint32_ t threshold))&Pnacl_M28_PPB_Testing_Dev_SetMinimumArrayBufferSizeForShmem
4315 }; 4372 };
4316 4373
4317 /* Not generating wrapper interface for PPB_TextInput_Dev_0_1 */ 4374 /* Not generating wrapper interface for PPB_TextInput_Dev_0_1 */
4318 4375
4319 /* Not generating wrapper interface for PPB_TextInput_Dev_0_2 */ 4376 /* Not generating wrapper interface for PPB_TextInput_Dev_0_2 */
4320 4377
4378 /* Not generating wrapper interface for PPB_TextInput_Dev_None */
4379
4321 /* Not generating wrapper interface for PPB_Trace_Event_Dev_0_1 */ 4380 /* Not generating wrapper interface for PPB_Trace_Event_Dev_0_1 */
4322 4381
4323 /* Not generating wrapper interface for PPB_Trace_Event_Dev_0_2 */ 4382 /* Not generating wrapper interface for PPB_Trace_Event_Dev_0_2 */
4324 4383
4325 struct PPB_TrueTypeFont_Dev_0_1 Pnacl_Wrappers_PPB_TrueTypeFont_Dev_0_1 = { 4384 struct PPB_TrueTypeFont_Dev_0_1 Pnacl_Wrappers_PPB_TrueTypeFont_Dev_0_1 = {
4326 .GetFontFamilies = (int32_t (*)(PP_Instance instance, struct PP_ArrayOutput output, struct PP_CompletionCallback callback))&Pnacl_M26_PPB_TrueTypeFont_Dev_G etFontFamilies, 4385 .GetFontFamilies = (int32_t (*)(PP_Instance instance, struct PP_ArrayOutput output, struct PP_CompletionCallback callback))&Pnacl_M26_PPB_TrueTypeFont_Dev_G etFontFamilies,
4327 .GetFontsInFamily = (int32_t (*)(PP_Instance instance, struct PP_Var family, struct PP_ArrayOutput output, struct PP_CompletionCallback callback))&Pnacl_M26 _PPB_TrueTypeFont_Dev_GetFontsInFamily, 4386 .GetFontsInFamily = (int32_t (*)(PP_Instance instance, struct PP_Var family, struct PP_ArrayOutput output, struct PP_CompletionCallback callback))&Pnacl_M26 _PPB_TrueTypeFont_Dev_GetFontsInFamily,
4328 .Create = (PP_Resource (*)(PP_Instance instance, const struct PP_TrueTypeFon tDesc_Dev* desc))&Pnacl_M26_PPB_TrueTypeFont_Dev_Create, 4387 .Create = (PP_Resource (*)(PP_Instance instance, const struct PP_TrueTypeFon tDesc_Dev* desc))&Pnacl_M26_PPB_TrueTypeFont_Dev_Create,
4329 .IsTrueTypeFont = (PP_Bool (*)(PP_Resource resource))&Pnacl_M26_PPB_TrueType Font_Dev_IsTrueTypeFont, 4388 .IsTrueTypeFont = (PP_Bool (*)(PP_Resource resource))&Pnacl_M26_PPB_TrueType Font_Dev_IsTrueTypeFont,
4330 .Describe = (int32_t (*)(PP_Resource font, struct PP_TrueTypeFontDesc_Dev* d esc, struct PP_CompletionCallback callback))&Pnacl_M26_PPB_TrueTypeFont_Dev_Desc ribe, 4389 .Describe = (int32_t (*)(PP_Resource font, struct PP_TrueTypeFontDesc_Dev* d esc, struct PP_CompletionCallback callback))&Pnacl_M26_PPB_TrueTypeFont_Dev_Desc ribe,
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after
4519 .IsFormatAvailable = (PP_Bool (*)(PP_Instance instance_id, PP_Flash_Clipboar d_Type clipboard_type, uint32_t format))&Pnacl_M24_PPB_Flash_Clipboard_IsFormatA vailable, 4578 .IsFormatAvailable = (PP_Bool (*)(PP_Instance instance_id, PP_Flash_Clipboar d_Type clipboard_type, uint32_t format))&Pnacl_M24_PPB_Flash_Clipboard_IsFormatA vailable,
4520 .ReadData = (struct PP_Var (*)(PP_Instance instance_id, PP_Flash_Clipboard_T ype clipboard_type, uint32_t format))&Pnacl_M24_PPB_Flash_Clipboard_ReadData, 4579 .ReadData = (struct PP_Var (*)(PP_Instance instance_id, PP_Flash_Clipboard_T ype clipboard_type, uint32_t format))&Pnacl_M24_PPB_Flash_Clipboard_ReadData,
4521 .WriteData = (int32_t (*)(PP_Instance instance_id, PP_Flash_Clipboard_Type c lipboard_type, uint32_t data_item_count, const uint32_t formats[], const struct PP_Var data_items[]))&Pnacl_M24_PPB_Flash_Clipboard_WriteData 4580 .WriteData = (int32_t (*)(PP_Instance instance_id, PP_Flash_Clipboard_Type c lipboard_type, uint32_t data_item_count, const uint32_t formats[], const struct PP_Var data_items[]))&Pnacl_M24_PPB_Flash_Clipboard_WriteData
4522 }; 4581 };
4523 4582
4524 struct PPB_Flash_DeviceID_1_0 Pnacl_Wrappers_PPB_Flash_DeviceID_1_0 = { 4583 struct PPB_Flash_DeviceID_1_0 Pnacl_Wrappers_PPB_Flash_DeviceID_1_0 = {
4525 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M21_PPB_Flash_Device ID_Create, 4584 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M21_PPB_Flash_Device ID_Create,
4526 .GetDeviceID = (int32_t (*)(PP_Resource device_id, struct PP_Var* id, struct PP_CompletionCallback callback))&Pnacl_M21_PPB_Flash_DeviceID_GetDeviceID 4585 .GetDeviceID = (int32_t (*)(PP_Resource device_id, struct PP_Var* id, struct PP_CompletionCallback callback))&Pnacl_M21_PPB_Flash_DeviceID_GetDeviceID
4527 }; 4586 };
4528 4587
4588 /* Not generating wrapper interface for PPB_Flash_DeviceID_1_1 */
4589
4529 struct PPB_Flash_DRM_1_0 Pnacl_Wrappers_PPB_Flash_DRM_1_0 = { 4590 struct PPB_Flash_DRM_1_0 Pnacl_Wrappers_PPB_Flash_DRM_1_0 = {
4530 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M29_PPB_Flash_DRM_Cr eate, 4591 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M29_PPB_Flash_DRM_Cr eate,
4531 .GetDeviceID = (int32_t (*)(PP_Resource drm, struct PP_Var* id, struct PP_Co mpletionCallback callback))&Pnacl_M29_PPB_Flash_DRM_GetDeviceID, 4592 .GetDeviceID = (int32_t (*)(PP_Resource drm, struct PP_Var* id, struct PP_Co mpletionCallback callback))&Pnacl_M29_PPB_Flash_DRM_GetDeviceID,
4532 .GetHmonitor = (PP_Bool (*)(PP_Resource drm, int64_t* hmonitor))&Pnacl_M29_P PB_Flash_DRM_GetHmonitor, 4593 .GetHmonitor = (PP_Bool (*)(PP_Resource drm, int64_t* hmonitor))&Pnacl_M29_P PB_Flash_DRM_GetHmonitor,
4533 .GetVoucherFile = (int32_t (*)(PP_Resource drm, PP_Resource* file_ref, struc t PP_CompletionCallback callback))&Pnacl_M29_PPB_Flash_DRM_GetVoucherFile 4594 .GetVoucherFile = (int32_t (*)(PP_Resource drm, PP_Resource* file_ref, struc t PP_CompletionCallback callback))&Pnacl_M29_PPB_Flash_DRM_GetVoucherFile
4534 }; 4595 };
4535 4596
4536 /* Not generating wrapper interface for PPB_Flash_FontFile_0_1 */ 4597 /* Not generating wrapper interface for PPB_Flash_FontFile_0_1 */
4537 4598
4538 /* Not generating wrapper interface for PPB_FlashFullscreen_0_1 */ 4599 /* Not generating wrapper interface for PPB_FlashFullscreen_0_1 */
(...skipping 389 matching lines...) Expand 10 before | Expand all | Expand 10 after
4928 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_KeyboardInputEvent_1_0, 4989 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_KeyboardInputEvent_1_0,
4929 .real_iface = NULL 4990 .real_iface = NULL
4930 }; 4991 };
4931 4992
4932 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TouchInputEvent_1_0 = { 4993 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_TouchInputEvent_1_0 = {
4933 .iface_macro = PPB_TOUCH_INPUT_EVENT_INTERFACE_1_0, 4994 .iface_macro = PPB_TOUCH_INPUT_EVENT_INTERFACE_1_0,
4934 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_TouchInputEvent_1_0, 4995 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_TouchInputEvent_1_0,
4935 .real_iface = NULL 4996 .real_iface = NULL
4936 }; 4997 };
4937 4998
4999 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_IMEInputEvent_1_0 = {
5000 .iface_macro = PPB_IME_INPUT_EVENT_INTERFACE_1_0,
5001 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_IMEInputEvent_1_0,
5002 .real_iface = NULL
5003 };
5004
4938 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MessageLoop_1_0 = { 5005 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_MessageLoop_1_0 = {
4939 .iface_macro = PPB_MESSAGELOOP_INTERFACE_1_0, 5006 .iface_macro = PPB_MESSAGELOOP_INTERFACE_1_0,
4940 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_MessageLoop_1_0, 5007 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_MessageLoop_1_0,
4941 .real_iface = NULL 5008 .real_iface = NULL
4942 }; 5009 };
4943 5010
4944 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Messaging_1_0 = { 5011 static struct __PnaclWrapperInfo Pnacl_WrapperInfo_PPB_Messaging_1_0 = {
4945 .iface_macro = PPB_MESSAGING_INTERFACE_1_0, 5012 .iface_macro = PPB_MESSAGING_INTERFACE_1_0,
4946 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_Messaging_1_0, 5013 .wrapped_iface = (void *) &Pnacl_Wrappers_PPB_Messaging_1_0,
4947 .real_iface = NULL 5014 .real_iface = NULL
(...skipping 453 matching lines...) Expand 10 before | Expand all | Expand 10 after
5401 &Pnacl_WrapperInfo_PPB_FileSystem_1_0, 5468 &Pnacl_WrapperInfo_PPB_FileSystem_1_0,
5402 &Pnacl_WrapperInfo_PPB_Graphics2D_1_0, 5469 &Pnacl_WrapperInfo_PPB_Graphics2D_1_0,
5403 &Pnacl_WrapperInfo_PPB_Graphics2D_1_1, 5470 &Pnacl_WrapperInfo_PPB_Graphics2D_1_1,
5404 &Pnacl_WrapperInfo_PPB_Graphics3D_1_0, 5471 &Pnacl_WrapperInfo_PPB_Graphics3D_1_0,
5405 &Pnacl_WrapperInfo_PPB_HostResolver_1_0, 5472 &Pnacl_WrapperInfo_PPB_HostResolver_1_0,
5406 &Pnacl_WrapperInfo_PPB_MouseInputEvent_1_0, 5473 &Pnacl_WrapperInfo_PPB_MouseInputEvent_1_0,
5407 &Pnacl_WrapperInfo_PPB_MouseInputEvent_1_1, 5474 &Pnacl_WrapperInfo_PPB_MouseInputEvent_1_1,
5408 &Pnacl_WrapperInfo_PPB_WheelInputEvent_1_0, 5475 &Pnacl_WrapperInfo_PPB_WheelInputEvent_1_0,
5409 &Pnacl_WrapperInfo_PPB_KeyboardInputEvent_1_0, 5476 &Pnacl_WrapperInfo_PPB_KeyboardInputEvent_1_0,
5410 &Pnacl_WrapperInfo_PPB_TouchInputEvent_1_0, 5477 &Pnacl_WrapperInfo_PPB_TouchInputEvent_1_0,
5478 &Pnacl_WrapperInfo_PPB_IMEInputEvent_1_0,
5411 &Pnacl_WrapperInfo_PPB_MessageLoop_1_0, 5479 &Pnacl_WrapperInfo_PPB_MessageLoop_1_0,
5412 &Pnacl_WrapperInfo_PPB_Messaging_1_0, 5480 &Pnacl_WrapperInfo_PPB_Messaging_1_0,
5413 &Pnacl_WrapperInfo_PPB_MouseLock_1_0, 5481 &Pnacl_WrapperInfo_PPB_MouseLock_1_0,
5414 &Pnacl_WrapperInfo_PPB_NetAddress_1_0, 5482 &Pnacl_WrapperInfo_PPB_NetAddress_1_0,
5415 &Pnacl_WrapperInfo_PPB_NetworkProxy_1_0, 5483 &Pnacl_WrapperInfo_PPB_NetworkProxy_1_0,
5416 &Pnacl_WrapperInfo_PPB_TCPSocket_1_0, 5484 &Pnacl_WrapperInfo_PPB_TCPSocket_1_0,
5417 &Pnacl_WrapperInfo_PPB_UDPSocket_1_0, 5485 &Pnacl_WrapperInfo_PPB_UDPSocket_1_0,
5418 &Pnacl_WrapperInfo_PPB_URLLoader_1_0, 5486 &Pnacl_WrapperInfo_PPB_URLLoader_1_0,
5419 &Pnacl_WrapperInfo_PPB_URLRequestInfo_1_0, 5487 &Pnacl_WrapperInfo_PPB_URLRequestInfo_1_0,
5420 &Pnacl_WrapperInfo_PPB_URLResponseInfo_1_0, 5488 &Pnacl_WrapperInfo_PPB_URLResponseInfo_1_0,
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
5560 if (NULL == iface) return NULL; 5628 if (NULL == iface) return NULL;
5561 wrapper->real_iface = iface; 5629 wrapper->real_iface = iface;
5562 } 5630 }
5563 5631
5564 if (wrapper->wrapped_iface) { 5632 if (wrapper->wrapped_iface) {
5565 return wrapper->wrapped_iface; 5633 return wrapper->wrapped_iface;
5566 } else { 5634 } else {
5567 return wrapper->real_iface; 5635 return wrapper->real_iface;
5568 } 5636 }
5569 } 5637 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698