| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2007 Apple Inc. All rights reserved. | 2 * Copyright (C) 2007 Apple Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
| 8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
| 9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
| 10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 56 typedef void (*NPN_InvalidateRectProcPtr)(NPP instance, NPRect *rect); | 56 typedef void (*NPN_InvalidateRectProcPtr)(NPP instance, NPRect *rect); |
| 57 typedef void (*NPN_InvalidateRegionProcPtr)(NPP instance, NPRegion region); | 57 typedef void (*NPN_InvalidateRegionProcPtr)(NPP instance, NPRegion region); |
| 58 typedef void (*NPN_ForceRedrawProcPtr)(NPP instance); | 58 typedef void (*NPN_ForceRedrawProcPtr)(NPP instance); |
| 59 typedef NPError (*NPN_GetURLProcPtr)(NPP instance, const char* URL, const char*
window); | 59 typedef NPError (*NPN_GetURLProcPtr)(NPP instance, const char* URL, const char*
window); |
| 60 typedef NPError (*NPN_PostURLProcPtr)(NPP instance, const char* URL, const char*
window, uint32 len, const char* buf, NPBool file); | 60 typedef NPError (*NPN_PostURLProcPtr)(NPP instance, const char* URL, const char*
window, uint32 len, const char* buf, NPBool file); |
| 61 typedef void* (*NPN_GetJavaEnvProcPtr)(void); | 61 typedef void* (*NPN_GetJavaEnvProcPtr)(void); |
| 62 typedef void* (*NPN_GetJavaPeerProcPtr)(NPP instance); | 62 typedef void* (*NPN_GetJavaPeerProcPtr)(NPP instance); |
| 63 typedef void (*NPN_PushPopupsEnabledStateProcPtr)(NPP instance, NPBool enabled)
; | 63 typedef void (*NPN_PushPopupsEnabledStateProcPtr)(NPP instance, NPBool enabled)
; |
| 64 typedef void (*NPN_PopPopupsEnabledStateProcPtr)(NPP instance); | 64 typedef void (*NPN_PopPopupsEnabledStateProcPtr)(NPP instance); |
| 65 typedef void (*NPN_PluginThreadAsyncCallProcPtr)(NPP npp, void (*func)(void *),
void *userData); | 65 typedef void (*NPN_PluginThreadAsyncCallProcPtr)(NPP npp, void (*func)(void *),
void *userData); |
| 66 typedef NPError (*NPN_GetValueForURLProcPtr)(NPP npp, NPNURLVariable variable, c
onst char* url, char** value, uint32_t* len); | |
| 67 typedef NPError (*NPN_SetValueForURLProcPtr)(NPP npp, NPNURLVariable variable, c
onst char* url, const char* value, uint32_t* len); | |
| 68 typedef NPError (*NPN_GetAuthenticationInfoPtr)(NPP npp, const char* protocol, c
onst char* host, int32_t port, const char* scheme, const char *realm, char** use
rname, uint32_t* ulen, char** password, uint32_t* plen); | |
| 69 | |
| 70 typedef uint32 (*NPN_ScheduleTimerProcPtr)(NPP npp, uint32 interval, NPBool repe
at, void (*timerFunc)(NPP npp, uint32 timerID)); | 66 typedef uint32 (*NPN_ScheduleTimerProcPtr)(NPP npp, uint32 interval, NPBool repe
at, void (*timerFunc)(NPP npp, uint32 timerID)); |
| 71 typedef void (*NPN_UnscheduleTimerProcPtr)(NPP npp, uint32 timerID); | 67 typedef void (*NPN_UnscheduleTimerProcPtr)(NPP npp, uint32 timerID); |
| 72 typedef NPError (*NPN_PopUpContextMenuProcPtr)(NPP instance, NPMenu* menu); | 68 typedef NPError (*NPN_PopUpContextMenuProcPtr)(NPP instance, NPMenu* menu); |
| 73 | 69 |
| 74 typedef void (*NPN_ReleaseVariantValueProcPtr) (NPVariant *variant); | 70 typedef void (*NPN_ReleaseVariantValueProcPtr) (NPVariant *variant); |
| 75 | 71 |
| 76 typedef NPIdentifier (*NPN_GetStringIdentifierProcPtr) (const NPUTF8 *name); | 72 typedef NPIdentifier (*NPN_GetStringIdentifierProcPtr) (const NPUTF8 *name); |
| 77 typedef void (*NPN_GetStringIdentifiersProcPtr) (const NPUTF8 **names, int32_t n
ameCount, NPIdentifier *identifiers); | 73 typedef void (*NPN_GetStringIdentifiersProcPtr) (const NPUTF8 **names, int32_t n
ameCount, NPIdentifier *identifiers); |
| 78 typedef NPIdentifier (*NPN_GetIntIdentifierProcPtr) (int32_t intid); | 74 typedef NPIdentifier (*NPN_GetIntIdentifierProcPtr) (int32_t intid); |
| 79 typedef int32_t (*NPN_IntFromIdentifierProcPtr) (NPIdentifier identifier); | 75 typedef int32_t (*NPN_IntFromIdentifierProcPtr) (NPIdentifier identifier); |
| (...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 155 NPN_RemovePropertyProcPtr removeproperty; | 151 NPN_RemovePropertyProcPtr removeproperty; |
| 156 NPN_HasPropertyProcPtr hasproperty; | 152 NPN_HasPropertyProcPtr hasproperty; |
| 157 NPN_HasMethodProcPtr hasmethod; | 153 NPN_HasMethodProcPtr hasmethod; |
| 158 NPN_ReleaseVariantValueProcPtr releasevariantvalue; | 154 NPN_ReleaseVariantValueProcPtr releasevariantvalue; |
| 159 NPN_SetExceptionProcPtr setexception; | 155 NPN_SetExceptionProcPtr setexception; |
| 160 NPN_PushPopupsEnabledStateProcPtr pushpopupsenabledstate; | 156 NPN_PushPopupsEnabledStateProcPtr pushpopupsenabledstate; |
| 161 NPN_PopPopupsEnabledStateProcPtr poppopupsenabledstate; | 157 NPN_PopPopupsEnabledStateProcPtr poppopupsenabledstate; |
| 162 NPN_EnumerateProcPtr enumerate; | 158 NPN_EnumerateProcPtr enumerate; |
| 163 NPN_PluginThreadAsyncCallProcPtr pluginthreadasynccall; | 159 NPN_PluginThreadAsyncCallProcPtr pluginthreadasynccall; |
| 164 NPN_ConstructProcPtr construct; | 160 NPN_ConstructProcPtr construct; |
| 165 NPN_GetValueForURLProcPtr getvalueforurl; | |
| 166 NPN_SetValueForURLProcPtr setvalueforurl; | |
| 167 NPN_GetAuthenticationInfoPtr getauthenticationinfo; | |
| 168 NPN_ScheduleTimerProcPtr scheduletimer; | 161 NPN_ScheduleTimerProcPtr scheduletimer; |
| 169 NPN_UnscheduleTimerProcPtr unscheduletimer; | 162 NPN_UnscheduleTimerProcPtr unscheduletimer; |
| 170 NPN_PopUpContextMenuProcPtr popupcontextmenu; | 163 NPN_PopUpContextMenuProcPtr popupcontextmenu; |
| 171 } NPNetscapeFuncs; | 164 } NPNetscapeFuncs; |
| 172 | 165 |
| 173 typedef struct _NPPluginFuncs { | 166 typedef struct _NPPluginFuncs { |
| 174 uint16 size; | 167 uint16 size; |
| 175 uint16 version; | 168 uint16 version; |
| 176 NPP_NewProcPtr newp; | 169 NPP_NewProcPtr newp; |
| 177 NPP_DestroyProcPtr destroy; | 170 NPP_DestroyProcPtr destroy; |
| (...skipping 24 matching lines...) Expand all Loading... |
| 202 typedef EXPORTED_CALLBACK(char*, NP_GetMIMEDescriptionFuncPtr)(void); | 195 typedef EXPORTED_CALLBACK(char*, NP_GetMIMEDescriptionFuncPtr)(void); |
| 203 #else | 196 #else |
| 204 typedef EXPORTED_CALLBACK(NPError, NP_InitializeFuncPtr)(NPNetscapeFuncs*); | 197 typedef EXPORTED_CALLBACK(NPError, NP_InitializeFuncPtr)(NPNetscapeFuncs*); |
| 205 #endif | 198 #endif |
| 206 | 199 |
| 207 #ifdef __cplusplus | 200 #ifdef __cplusplus |
| 208 } | 201 } |
| 209 #endif | 202 #endif |
| 210 | 203 |
| 211 #endif | 204 #endif |
| OLD | NEW |