| 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 |
| 66 typedef uint32 (*NPN_ScheduleTimerProcPtr)(NPP npp, uint32 interval, NPBool repe
at, void (*timerFunc)(NPP npp, uint32 timerID)); | 70 typedef uint32 (*NPN_ScheduleTimerProcPtr)(NPP npp, uint32 interval, NPBool repe
at, void (*timerFunc)(NPP npp, uint32 timerID)); |
| 67 typedef void (*NPN_UnscheduleTimerProcPtr)(NPP npp, uint32 timerID); | 71 typedef void (*NPN_UnscheduleTimerProcPtr)(NPP npp, uint32 timerID); |
| 68 typedef NPError (*NPN_PopUpContextMenuProcPtr)(NPP instance, NPMenu* menu); | 72 typedef NPError (*NPN_PopUpContextMenuProcPtr)(NPP instance, NPMenu* menu); |
| 69 | 73 |
| 70 typedef void (*NPN_ReleaseVariantValueProcPtr) (NPVariant *variant); | 74 typedef void (*NPN_ReleaseVariantValueProcPtr) (NPVariant *variant); |
| 71 | 75 |
| 72 typedef NPIdentifier (*NPN_GetStringIdentifierProcPtr) (const NPUTF8 *name); | 76 typedef NPIdentifier (*NPN_GetStringIdentifierProcPtr) (const NPUTF8 *name); |
| 73 typedef void (*NPN_GetStringIdentifiersProcPtr) (const NPUTF8 **names, int32_t n
ameCount, NPIdentifier *identifiers); | 77 typedef void (*NPN_GetStringIdentifiersProcPtr) (const NPUTF8 **names, int32_t n
ameCount, NPIdentifier *identifiers); |
| 74 typedef NPIdentifier (*NPN_GetIntIdentifierProcPtr) (int32_t intid); | 78 typedef NPIdentifier (*NPN_GetIntIdentifierProcPtr) (int32_t intid); |
| 75 typedef int32_t (*NPN_IntFromIdentifierProcPtr) (NPIdentifier identifier); | 79 typedef int32_t (*NPN_IntFromIdentifierProcPtr) (NPIdentifier identifier); |
| (...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 151 NPN_RemovePropertyProcPtr removeproperty; | 155 NPN_RemovePropertyProcPtr removeproperty; |
| 152 NPN_HasPropertyProcPtr hasproperty; | 156 NPN_HasPropertyProcPtr hasproperty; |
| 153 NPN_HasMethodProcPtr hasmethod; | 157 NPN_HasMethodProcPtr hasmethod; |
| 154 NPN_ReleaseVariantValueProcPtr releasevariantvalue; | 158 NPN_ReleaseVariantValueProcPtr releasevariantvalue; |
| 155 NPN_SetExceptionProcPtr setexception; | 159 NPN_SetExceptionProcPtr setexception; |
| 156 NPN_PushPopupsEnabledStateProcPtr pushpopupsenabledstate; | 160 NPN_PushPopupsEnabledStateProcPtr pushpopupsenabledstate; |
| 157 NPN_PopPopupsEnabledStateProcPtr poppopupsenabledstate; | 161 NPN_PopPopupsEnabledStateProcPtr poppopupsenabledstate; |
| 158 NPN_EnumerateProcPtr enumerate; | 162 NPN_EnumerateProcPtr enumerate; |
| 159 NPN_PluginThreadAsyncCallProcPtr pluginthreadasynccall; | 163 NPN_PluginThreadAsyncCallProcPtr pluginthreadasynccall; |
| 160 NPN_ConstructProcPtr construct; | 164 NPN_ConstructProcPtr construct; |
| 165 NPN_GetValueForURLProcPtr getvalueforurl; |
| 166 NPN_SetValueForURLProcPtr setvalueforurl; |
| 167 NPN_GetAuthenticationInfoPtr getauthenticationinfo; |
| 161 NPN_ScheduleTimerProcPtr scheduletimer; | 168 NPN_ScheduleTimerProcPtr scheduletimer; |
| 162 NPN_UnscheduleTimerProcPtr unscheduletimer; | 169 NPN_UnscheduleTimerProcPtr unscheduletimer; |
| 163 NPN_PopUpContextMenuProcPtr popupcontextmenu; | 170 NPN_PopUpContextMenuProcPtr popupcontextmenu; |
| 164 } NPNetscapeFuncs; | 171 } NPNetscapeFuncs; |
| 165 | 172 |
| 166 typedef struct _NPPluginFuncs { | 173 typedef struct _NPPluginFuncs { |
| 167 uint16 size; | 174 uint16 size; |
| 168 uint16 version; | 175 uint16 version; |
| 169 NPP_NewProcPtr newp; | 176 NPP_NewProcPtr newp; |
| 170 NPP_DestroyProcPtr destroy; | 177 NPP_DestroyProcPtr destroy; |
| (...skipping 24 matching lines...) Expand all Loading... |
| 195 typedef EXPORTED_CALLBACK(char*, NP_GetMIMEDescriptionFuncPtr)(void); | 202 typedef EXPORTED_CALLBACK(char*, NP_GetMIMEDescriptionFuncPtr)(void); |
| 196 #else | 203 #else |
| 197 typedef EXPORTED_CALLBACK(NPError, NP_InitializeFuncPtr)(NPNetscapeFuncs*); | 204 typedef EXPORTED_CALLBACK(NPError, NP_InitializeFuncPtr)(NPNetscapeFuncs*); |
| 198 #endif | 205 #endif |
| 199 | 206 |
| 200 #ifdef __cplusplus | 207 #ifdef __cplusplus |
| 201 } | 208 } |
| 202 #endif | 209 #endif |
| 203 | 210 |
| 204 #endif | 211 #endif |
| OLD | NEW |