webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Typedefs | Functions
npapi.cpp File Reference
#include "config.h"
#include "Page.h"
#include "PluginMainThreadScheduler.h"
#include "PluginView.h"
#include "npruntime_internal.h"

Typedefs

typedef void PluginThreadAsyncCallFunction(void *)
 

Functions

voidNPN_MemAlloc (uint32_t size)
 
void NPN_MemFree (void *ptr)
 
uint32_t NPN_MemFlush (uint32_t)
 
void NPN_ReloadPlugins (NPBool reloadPages)
 
NPError NPN_RequestRead (NPStream *, NPByteRange *)
 
NPError NPN_GetURLNotify (NPP instance, const char *url, const char *target, void *notifyData)
 
NPError NPN_GetURL (NPP instance, const char *url, const char *target)
 
NPError NPN_PostURLNotify (NPP instance, const char *url, const char *target, uint32_t len, const char *buf, NPBool file, void *notifyData)
 
NPError NPN_PostURL (NPP instance, const char *url, const char *target, uint32_t len, const char *buf, NPBool file)
 
NPError NPN_NewStream (NPP instance, NPMIMEType type, const char *target, NPStream **stream)
 
int32_t NPN_Write (NPP instance, NPStream *stream, int32_t len, void *buffer)
 
NPError NPN_DestroyStream (NPP instance, NPStream *stream, NPReason reason)
 
const char * NPN_UserAgent (NPP instance)
 
void NPN_Status (NPP instance, const char *message)
 
void NPN_InvalidateRect (NPP instance, NPRect *invalidRect)
 
void NPN_InvalidateRegion (NPP instance, NPRegion invalidRegion)
 
void NPN_ForceRedraw (NPP instance)
 
NPError NPN_GetValue (NPP instance, NPNVariable variable, void *value)
 
NPError NPN_SetValue (NPP instance, NPPVariable variable, void *value)
 
voidNPN_GetJavaEnv ()
 
voidNPN_GetJavaPeer (NPP)
 
void NPN_PushPopupsEnabledState (NPP instance, NPBool enabled)
 
void NPN_PopPopupsEnabledState (NPP instance)
 
void NPN_PluginThreadAsyncCall (NPP instance, PluginThreadAsyncCallFunction func, void *userData)
 
NPError NPN_GetValueForURL (NPP instance, NPNURLVariable variable, const char *url, char **value, uint32_t *len)
 
NPError NPN_SetValueForURL (NPP instance, NPNURLVariable variable, const char *url, const char *value, uint32_t len)
 
NPError NPN_GetAuthenticationInfo (NPP instance, const char *protocol, const char *host, int32_t port, const char *scheme, const char *realm, char **username, uint32_t *ulen, char **password, uint32_t *plen)
 
NPError NPN_PopUpContextMenu (NPP instance, NPMenu *menu)
 

Typedef Documentation

◆ PluginThreadAsyncCallFunction

typedef void PluginThreadAsyncCallFunction(void *)

Function Documentation

◆ NPN_DestroyStream()

NPError NPN_DestroyStream ( NPP  instance,
NPStream stream,
NPReason  reason 
)

◆ NPN_ForceRedraw()

void NPN_ForceRedraw ( NPP  instance)

◆ NPN_GetAuthenticationInfo()

NPError NPN_GetAuthenticationInfo ( NPP  instance,
const char *  protocol,
const char *  host,
int32_t  port,
const char *  scheme,
const char *  realm,
char **  username,
uint32_t ulen,
char **  password,
uint32_t plen 
)

◆ NPN_GetJavaEnv()

void* NPN_GetJavaEnv ( void  )

◆ NPN_GetJavaPeer()

void* NPN_GetJavaPeer ( NPP  )

◆ NPN_GetURL()

NPError NPN_GetURL ( NPP  instance,
const char *  url,
const char *  target 
)

◆ NPN_GetURLNotify()

NPError NPN_GetURLNotify ( NPP  instance,
const char *  url,
const char *  target,
void notifyData 
)

◆ NPN_GetValue()

NPError NPN_GetValue ( NPP  instance,
NPNVariable  variable,
void value 
)

◆ NPN_GetValueForURL()

NPError NPN_GetValueForURL ( NPP  instance,
NPNURLVariable  variable,
const char *  url,
char **  value,
uint32_t len 
)

◆ NPN_InvalidateRect()

void NPN_InvalidateRect ( NPP  instance,
NPRect invalidRect 
)

◆ NPN_InvalidateRegion()

void NPN_InvalidateRegion ( NPP  instance,
NPRegion  invalidRegion 
)

◆ NPN_MemAlloc()

void* NPN_MemAlloc ( uint32_t  size)

◆ NPN_MemFlush()

uint32_t NPN_MemFlush ( uint32_t  )

◆ NPN_MemFree()

void NPN_MemFree ( void ptr)

◆ NPN_NewStream()

NPError NPN_NewStream ( NPP  instance,
NPMIMEType  type,
const char *  target,
NPStream **  stream 
)

◆ NPN_PluginThreadAsyncCall()

void NPN_PluginThreadAsyncCall ( NPP  instance,
PluginThreadAsyncCallFunction  func,
void userData 
)

◆ NPN_PopPopupsEnabledState()

void NPN_PopPopupsEnabledState ( NPP  instance)

◆ NPN_PopUpContextMenu()

NPError NPN_PopUpContextMenu ( NPP  instance,
NPMenu menu 
)

◆ NPN_PostURL()

NPError NPN_PostURL ( NPP  instance,
const char *  url,
const char *  target,
uint32_t  len,
const char *  buf,
NPBool  file 
)

◆ NPN_PostURLNotify()

NPError NPN_PostURLNotify ( NPP  instance,
const char *  url,
const char *  target,
uint32_t  len,
const char *  buf,
NPBool  file,
void notifyData 
)

◆ NPN_PushPopupsEnabledState()

void NPN_PushPopupsEnabledState ( NPP  instance,
NPBool  enabled 
)

◆ NPN_ReloadPlugins()

void NPN_ReloadPlugins ( NPBool  reloadPages)

◆ NPN_RequestRead()

NPError NPN_RequestRead ( NPStream ,
NPByteRange  
)

◆ NPN_SetValue()

NPError NPN_SetValue ( NPP  instance,
NPPVariable  variable,
void value 
)

◆ NPN_SetValueForURL()

NPError NPN_SetValueForURL ( NPP  instance,
NPNURLVariable  variable,
const char *  url,
const char *  value,
uint32_t  len 
)

◆ NPN_Status()

void NPN_Status ( NPP  instance,
const char *  message 
)

◆ NPN_UserAgent()

const char* NPN_UserAgent ( NPP  instance)

◆ NPN_Write()

int32_t NPN_Write ( NPP  instance,
NPStream stream,
int32_t  len,
void buffer 
)