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

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

Issue 252663002: Track plugin input event latency (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: add ui/events/latency_info_param_traits_macros.h Created 6 years, 7 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) 2014 The Chromium Authors. All rights reserved. 1 /* Copyright (c) 2014 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_alarms_dev.h" 10 #include "ppapi/c/dev/ppb_alarms_dev.h"
(...skipping 3039 matching lines...) Expand 10 before | Expand all | Expand 10 after
3050 return iface->GetSize(host_resolver); 3050 return iface->GetSize(host_resolver);
3051 } 3051 }
3052 3052
3053 static PP_Bool Pnacl_M19_PPB_HostResolver_Private_GetNetAddress(PP_Resource host _resolver, uint32_t index, struct PP_NetAddress_Private* addr) { 3053 static PP_Bool Pnacl_M19_PPB_HostResolver_Private_GetNetAddress(PP_Resource host _resolver, uint32_t index, struct PP_NetAddress_Private* addr) {
3054 const struct PPB_HostResolver_Private_0_1 *iface = Pnacl_WrapperInfo_PPB_HostR esolver_Private_0_1.real_iface; 3054 const struct PPB_HostResolver_Private_0_1 *iface = Pnacl_WrapperInfo_PPB_HostR esolver_Private_0_1.real_iface;
3055 return iface->GetNetAddress(host_resolver, index, addr); 3055 return iface->GetNetAddress(host_resolver, index, addr);
3056 } 3056 }
3057 3057
3058 /* End wrapper methods for PPB_HostResolver_Private_0_1 */ 3058 /* End wrapper methods for PPB_HostResolver_Private_0_1 */
3059 3059
3060 /* Not generating wrapper methods for PPB_InputEvent_Private_0_1 */
3061
3060 /* Begin wrapper methods for PPB_Instance_Private_0_1 */ 3062 /* Begin wrapper methods for PPB_Instance_Private_0_1 */
3061 3063
3062 static void Pnacl_M13_PPB_Instance_Private_GetWindowObject(struct PP_Var* _struc t_result, PP_Instance instance) { 3064 static void Pnacl_M13_PPB_Instance_Private_GetWindowObject(struct PP_Var* _struc t_result, PP_Instance instance) {
3063 const struct PPB_Instance_Private_0_1 *iface = Pnacl_WrapperInfo_PPB_Instance_ Private_0_1.real_iface; 3065 const struct PPB_Instance_Private_0_1 *iface = Pnacl_WrapperInfo_PPB_Instance_ Private_0_1.real_iface;
3064 *_struct_result = iface->GetWindowObject(instance); 3066 *_struct_result = iface->GetWindowObject(instance);
3065 } 3067 }
3066 3068
3067 static void Pnacl_M13_PPB_Instance_Private_GetOwnerElementObject(struct PP_Var* _struct_result, PP_Instance instance) { 3069 static void Pnacl_M13_PPB_Instance_Private_GetOwnerElementObject(struct PP_Var* _struct_result, PP_Instance instance) {
3068 const struct PPB_Instance_Private_0_1 *iface = Pnacl_WrapperInfo_PPB_Instance_ Private_0_1.real_iface; 3070 const struct PPB_Instance_Private_0_1 *iface = Pnacl_WrapperInfo_PPB_Instance_ Private_0_1.real_iface;
3069 *_struct_result = iface->GetOwnerElementObject(instance); 3071 *_struct_result = iface->GetOwnerElementObject(instance);
(...skipping 2070 matching lines...) Expand 10 before | Expand all | Expand 10 after
5140 5142
5141 static const struct PPB_HostResolver_Private_0_1 Pnacl_Wrappers_PPB_HostResolver _Private_0_1 = { 5143 static const struct PPB_HostResolver_Private_0_1 Pnacl_Wrappers_PPB_HostResolver _Private_0_1 = {
5142 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M19_PPB_HostResolver _Private_Create, 5144 .Create = (PP_Resource (*)(PP_Instance instance))&Pnacl_M19_PPB_HostResolver _Private_Create,
5143 .IsHostResolver = (PP_Bool (*)(PP_Resource resource))&Pnacl_M19_PPB_HostReso lver_Private_IsHostResolver, 5145 .IsHostResolver = (PP_Bool (*)(PP_Resource resource))&Pnacl_M19_PPB_HostReso lver_Private_IsHostResolver,
5144 .Resolve = (int32_t (*)(PP_Resource host_resolver, const char* host, uint16_ t port, const struct PP_HostResolver_Private_Hint* hint, struct PP_CompletionCal lback callback))&Pnacl_M19_PPB_HostResolver_Private_Resolve, 5146 .Resolve = (int32_t (*)(PP_Resource host_resolver, const char* host, uint16_ t port, const struct PP_HostResolver_Private_Hint* hint, struct PP_CompletionCal lback callback))&Pnacl_M19_PPB_HostResolver_Private_Resolve,
5145 .GetCanonicalName = (struct PP_Var (*)(PP_Resource host_resolver))&Pnacl_M19 _PPB_HostResolver_Private_GetCanonicalName, 5147 .GetCanonicalName = (struct PP_Var (*)(PP_Resource host_resolver))&Pnacl_M19 _PPB_HostResolver_Private_GetCanonicalName,
5146 .GetSize = (uint32_t (*)(PP_Resource host_resolver))&Pnacl_M19_PPB_HostResol ver_Private_GetSize, 5148 .GetSize = (uint32_t (*)(PP_Resource host_resolver))&Pnacl_M19_PPB_HostResol ver_Private_GetSize,
5147 .GetNetAddress = (PP_Bool (*)(PP_Resource host_resolver, uint32_t index, str uct PP_NetAddress_Private* addr))&Pnacl_M19_PPB_HostResolver_Private_GetNetAddre ss 5149 .GetNetAddress = (PP_Bool (*)(PP_Resource host_resolver, uint32_t index, str uct PP_NetAddress_Private* addr))&Pnacl_M19_PPB_HostResolver_Private_GetNetAddre ss
5148 }; 5150 };
5149 5151
5152 /* Not generating wrapper interface for PPB_InputEvent_Private_0_1 */
5153
5150 static const struct PPB_Instance_Private_0_1 Pnacl_Wrappers_PPB_Instance_Private _0_1 = { 5154 static const struct PPB_Instance_Private_0_1 Pnacl_Wrappers_PPB_Instance_Private _0_1 = {
5151 .GetWindowObject = (struct PP_Var (*)(PP_Instance instance))&Pnacl_M13_PPB_I nstance_Private_GetWindowObject, 5155 .GetWindowObject = (struct PP_Var (*)(PP_Instance instance))&Pnacl_M13_PPB_I nstance_Private_GetWindowObject,
5152 .GetOwnerElementObject = (struct PP_Var (*)(PP_Instance instance))&Pnacl_M13 _PPB_Instance_Private_GetOwnerElementObject, 5156 .GetOwnerElementObject = (struct PP_Var (*)(PP_Instance instance))&Pnacl_M13 _PPB_Instance_Private_GetOwnerElementObject,
5153 .ExecuteScript = (struct PP_Var (*)(PP_Instance instance, struct PP_Var scri pt, struct PP_Var* exception))&Pnacl_M13_PPB_Instance_Private_ExecuteScript 5157 .ExecuteScript = (struct PP_Var (*)(PP_Instance instance, struct PP_Var scri pt, struct PP_Var* exception))&Pnacl_M13_PPB_Instance_Private_ExecuteScript
5154 }; 5158 };
5155 5159
5156 static const struct PPB_IsolatedFileSystem_Private_0_2 Pnacl_Wrappers_PPB_Isolat edFileSystem_Private_0_2 = { 5160 static const struct PPB_IsolatedFileSystem_Private_0_2 Pnacl_Wrappers_PPB_Isolat edFileSystem_Private_0_2 = {
5157 .Open = (int32_t (*)(PP_Instance instance, PP_IsolatedFileSystemType_Private type, PP_Resource* file_system, struct PP_CompletionCallback callback))&Pnacl_M 33_PPB_IsolatedFileSystem_Private_Open 5161 .Open = (int32_t (*)(PP_Instance instance, PP_IsolatedFileSystemType_Private type, PP_Resource* file_system, struct PP_CompletionCallback callback))&Pnacl_M 33_PPB_IsolatedFileSystem_Private_Open
5158 }; 5162 };
5159 5163
(...skipping 1099 matching lines...) Expand 10 before | Expand all | Expand 10 after
6259 6263
6260 /* Initialize the real_iface if it hasn't been. The wrapper depends on it. */ 6264 /* Initialize the real_iface if it hasn't been. The wrapper depends on it. */
6261 if (wrapper->real_iface == NULL) { 6265 if (wrapper->real_iface == NULL) {
6262 const void *iface = (*__real_PPPGetInterface)(name); 6266 const void *iface = (*__real_PPPGetInterface)(name);
6263 if (NULL == iface) return NULL; 6267 if (NULL == iface) return NULL;
6264 wrapper->real_iface = iface; 6268 wrapper->real_iface = iface;
6265 } 6269 }
6266 6270
6267 return wrapper->wrapped_iface; 6271 return wrapper->wrapped_iface;
6268 } 6272 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698