Searched refs:NPP (Results 1 - 25 of 32) sorted by relevance

12

/macosx-10.10/WebKit-7600.1.25/mac/Plugins/
H A DWebNetscapeContainerCheckPrivate.h43 typedef uint32_t (*WKN_CheckIfAllowedToLoadURLProcPtr)(NPP npp, const char* url, const char* frame, void (*callbackFunc)(NPP npp, uint32_t, NPBool allowed, void* context), void* context);
44 typedef void (*WKN_CancelCheckIfAllowedToLoadURLProcPtr)(NPP npp, uint32_t);
45 typedef char* (*WKN_ResolveURLProcPtr)(NPP npp, const char* url, const char* target);
47 uint32_t WKN_CheckIfAllowedToLoadURL(NPP npp, const char* url, const char* frame, void (*callbackFunc)(NPP npp, uint32_t, NPBool allowed, void* context), void* context);
48 void WKN_CancelCheckIfAllowedToLoadURL(NPP npp, uint32_t);
49 char* WKN_ResolveURL(NPP npp, const char* url, const char* target);
H A DWebNetscapeContainerCheckContextInfo.h35 void (*_callback)(NPP npp, uint32_t, NPBool, void *);
39 - (id)initWithCheckRequestID:(uint32_t)checkRequestID callbackFunc:(void (*)(NPP npp, uint32_t checkID, NPBool allowed, void* context))callbackFunc context:(void*)context;
41 - (void (*)(NPP npp, uint32_t, NPBool, void*))callback;
H A Dnpapi.mm38 WebNetscapePluginView *pluginViewForInstance(NPP instance);
74 WebNetscapePluginView *pluginViewForInstance(NPP instance)
82 NPError NPN_GetURLNotify(NPP instance, const char* URL, const char* target, void* notifyData)
87 NPError NPN_GetURL(NPP instance, const char* URL, const char* target)
92 NPError NPN_PostURLNotify(NPP instance, const char* URL, const char* target, uint32_t len, const char* buf, NPBool file, void* notifyData)
97 NPError NPN_PostURL(NPP instance, const char* URL, const char* target, uint32_t len, const char* buf, NPBool file)
102 NPError NPN_NewStream(NPP instance, NPMIMEType type, const char* target, NPStream** stream)
107 int32_t NPN_Write(NPP instance, NPStream* stream, int32_t len, void* buffer)
112 NPError NPN_DestroyStream(NPP instance, NPStream* stream, NPReason reason)
117 const char* NPN_UserAgent(NPP instanc
[all...]
H A DWebNetscapeContainerCheckContextInfo.mm32 - (id)initWithCheckRequestID:(uint32_t)checkRequestID callbackFunc:(void (*)(NPP npp, uint32_t checkID, NPBool allowed, void* context))callbackFunc context:(void*)context
49 - (void (*)(NPP npp, uint32_t, NPBool, void*))callback
H A DWebNetscapePluginStream.h55 static PassRefPtr<WebNetscapePluginStream> create(NSURLRequest *request, NPP plugin, bool sendNotification, void* notifyData)
65 NPP plugin() const { return m_plugin; }
66 void setPlugin(NPP);
68 static NPP ownerForStream(NPStream *);
107 NPP m_plugin;
130 WebNetscapePluginStream(NSURLRequest *, NPP, bool sendNotification, void* notifyData);
H A DWebNetscapePluginView.h72 NPP plugin;
122 - (NPP)plugin;
150 - (uint32_t)checkIfAllowedToLoadURL:(const char*)urlCString frame:(const char*)frameNameCString callbackFunc:(void (*)(NPP npp, uint32_t checkID, NPBool allowed, void* context))callbackFunc context:(void*)context;
174 - (uint32_t)scheduleTimerWithInterval:(uint32_t)interval repeat:(NPBool)repeat timerFunc:(void (*)(NPP npp, uint32_t timerID))timerFunc;
H A DWebNetscapePluginStream.mm80 typedef HashMap<NPStream*, NPP> StreamMap;
87 NPP WebNetscapePluginStream::ownerForStream(NPStream *stream)
143 WebNetscapePluginStream::WebNetscapePluginStream(NSURLRequest *request, NPP plugin, bool sendNotification, void* notifyData)
197 void WebNetscapePluginStream::setPlugin(NPP plugin)
/macosx-10.10/WebCore-7600.1.25/bridge/
H A Dnpruntime_impl.h44 extern NPObject* _NPN_CreateObject(NPP, NPClass*);
48 extern bool _NPN_Invoke(NPP, NPObject*, NPIdentifier methodName, const NPVariant* args, uint32_t argCount, NPVariant* result);
49 extern bool _NPN_InvokeDefault(NPP, NPObject*, const NPVariant* args, uint32_t argCount, NPVariant* result);
50 extern bool _NPN_Evaluate(NPP, NPObject*, NPString*, NPVariant* result);
51 extern bool _NPN_GetProperty(NPP, NPObject*, NPIdentifier, NPVariant* result);
52 extern bool _NPN_SetProperty(NPP, NPObject*, NPIdentifier, const NPVariant*);
53 extern bool _NPN_RemoveProperty(NPP, NPObject*, NPIdentifier);
54 extern bool _NPN_HasProperty(NPP, NPObject*, NPIdentifier);
55 extern bool _NPN_HasMethod(NPP, NPObject*, NPIdentifier);
57 extern bool _NPN_Enumerate(NPP, NPObjec
[all...]
H A DNP_jsobject.h50 NPObject* _NPN_CreateScriptObject(NPP npp, JSC::JSObject*, PassRefPtr<JSC::Bindings::RootObject> rootObject);
H A DNP_jsobject.cpp116 static NPObject* jsAllocate(NPP, NPClass*)
142 NPObject* _NPN_CreateScriptObject(NPP npp, JSObject* imp, PassRefPtr<RootObject> rootObject)
166 bool _NPN_InvokeDefault(NPP, NPObject* o, const NPVariant* args, uint32_t argCount, NPVariant* result)
204 bool _NPN_Invoke(NPP npp, NPObject* o, NPIdentifier methodName, const NPVariant* args, uint32_t argCount, NPVariant* result)
252 bool _NPN_Evaluate(NPP instance, NPObject* o, NPString* s, NPVariant* variant)
280 bool _NPN_GetProperty(NPP, NPObject* o, NPIdentifier propertyName, NPVariant* variant)
314 bool _NPN_SetProperty(NPP, NPObject* o, NPIdentifier propertyName, const NPVariant* variant)
342 bool _NPN_RemoveProperty(NPP, NPObject* o, NPIdentifier propertyName)
377 bool _NPN_HasProperty(NPP, NPObject* o, NPIdentifier propertyName)
406 bool _NPN_HasMethod(NPP, NPObjec
[all...]
H A Dnpruntime.cpp112 NPObject *_NPN_CreateObject(NPP npp, NPClass* aClass)
/macosx-10.10/WebCore-7600.1.25/plugins/
H A Dnpfunctions.h42 typedef NPError (*NPN_GetURLNotifyProcPtr)(NPP instance, const char* URL, const char* window, void* notifyData);
43 typedef NPError (*NPN_PostURLNotifyProcPtr)(NPP instance, const char* URL, const char* window, uint32_t len, const char* buf, NPBool file, void* notifyData);
45 typedef NPError (*NPN_NewStreamProcPtr)(NPP instance, NPMIMEType type, const char* window, NPStream** stream);
46 typedef int32_t (*NPN_WriteProcPtr)(NPP instance, NPStream* stream, int32_t len, void* buffer);
47 typedef NPError (*NPN_DestroyStreamProcPtr)(NPP instance, NPStream* stream, NPReason reason);
48 typedef void (*NPN_StatusProcPtr)(NPP instance, const char* message);
49 typedef const char*(*NPN_UserAgentProcPtr)(NPP instance);
54 typedef NPError (*NPN_GetValueProcPtr)(NPP instance, NPNVariable variable, void *ret_value);
55 typedef NPError (*NPN_SetValueProcPtr)(NPP instance, NPPVariable variable, void *value);
56 typedef void (*NPN_InvalidateRectProcPtr)(NPP instanc
[all...]
H A DPluginMainThreadScheduler.h35 typedef NPP_t* NPP; typedef
46 void scheduleCall(NPP, MainThreadFunction*, void* userData);
48 void registerPlugin(NPP);
49 void unregisterPlugin(NPP);
57 void dispatchCallsForPlugin(NPP, const Deque<Call>& calls);
58 typedef HashMap<NPP, Deque<Call>> CallQueueMap;
H A Dnpapi.cpp39 static PluginView* pluginViewForInstance(NPP instance)
72 NPError NPN_GetURLNotify(NPP instance, const char* url, const char* target, void* notifyData)
77 NPError NPN_GetURL(NPP instance, const char* url, const char* target)
82 NPError NPN_PostURLNotify(NPP instance, const char* url, const char* target, uint32_t len, const char* buf, NPBool file, void* notifyData)
87 NPError NPN_PostURL(NPP instance, const char* url, const char* target, uint32_t len, const char* buf, NPBool file)
92 NPError NPN_NewStream(NPP instance, NPMIMEType type, const char* target, NPStream** stream)
97 int32_t NPN_Write(NPP instance, NPStream* stream, int32_t len, void* buffer)
102 NPError NPN_DestroyStream(NPP instance, NPStream* stream, NPReason reason)
107 const char* NPN_UserAgent(NPP instance)
117 void NPN_Status(NPP instanc
[all...]
H A Dnpapi.h174 * NPP is a plug-in's opaque instance handle
182 typedef NPP_t* NPP; typedef
777 NPError NP_LOADDS NPP_New(NPMIMEType pluginType, NPP instance,
780 NPError NP_LOADDS NPP_Destroy(NPP instance, NPSavedData** save);
781 NPError NP_LOADDS NPP_SetWindow(NPP instance, NPWindow* window);
782 NPError NP_LOADDS NPP_NewStream(NPP instance, NPMIMEType type,
785 NPError NP_LOADDS NPP_DestroyStream(NPP instance, NPStream* stream,
787 int32_t NP_LOADDS NPP_WriteReady(NPP instance, NPStream* stream);
788 int32_t NP_LOADDS NPP_Write(NPP instance, NPStream* stream, int32_t offset,
790 void NP_LOADDS NPP_StreamAsFile(NPP instanc
[all...]
H A DPluginMainThreadScheduler.cpp44 void PluginMainThreadScheduler::scheduleCall(NPP npp, MainThreadFunction function, void* userData)
60 void PluginMainThreadScheduler::registerPlugin(NPP npp)
68 void PluginMainThreadScheduler::unregisterPlugin(NPP npp)
76 void PluginMainThreadScheduler::dispatchCallsForPlugin(NPP npp, const Deque<Call>& calls)
H A Dnpruntime.h247 typedef NPObject *(*NPAllocateFunctionPtr)(NPP npp, NPClass *aClass);
337 NPObject *NPN_CreateObject(NPP npp, NPClass *aClass);
363 bool NPN_Invoke(NPP npp, NPObject *npobj, NPIdentifier methodName,
365 bool NPN_InvokeDefault(NPP npp, NPObject *npobj, const NPVariant *args,
367 bool NPN_Evaluate(NPP npp, NPObject *npobj, NPString *script,
369 bool NPN_GetProperty(NPP npp, NPObject *npobj, NPIdentifier propertyName,
371 bool NPN_SetProperty(NPP npp, NPObject *npobj, NPIdentifier propertyName,
373 bool NPN_RemoveProperty(NPP npp, NPObject *npobj, NPIdentifier propertyName);
374 bool NPN_HasProperty(NPP npp, NPObject *npobj, NPIdentifier propertyName);
375 bool NPN_HasMethod(NPP np
[all...]
H A DPluginStream.h60 static PassRefPtr<PluginStream> create(PluginStreamClient* client, Frame* frame, const ResourceRequest& request, bool sendNotification, void* notifyData, const NPPluginFuncs* functions, NPP instance, const PluginQuirkSet& quirks)
76 static NPP ownerForStream(NPStream*);
86 PluginStream(PluginStreamClient*, Frame*, const ResourceRequest&, bool sendNotification, void* notifyData, const NPPluginFuncs*, NPP instance, const PluginQuirkSet&);
111 NPP m_instance;
H A DPluginViewNone.cpp137 void PluginView::keepAlive(NPP)
/macosx-10.10/WebKit2-7600.1.25/WebProcess/Plugins/Netscape/
H A DNetscapeBrowserFuncs.cpp278 static NPError NPN_GetURL(NPP npp, const char* url, const char* target)
289 static NPError NPN_PostURL(NPP npp, const char* url, const char* target, uint32_t len, const char* buf, NPBool file)
312 static NPError NPN_NewStream(NPP, NPMIMEType, const char*, NPStream**)
318 static int32_t NPN_Write(NPP, NPStream*, int32_t, void*)
324 static NPError NPN_DestroyStream(NPP npp, NPStream* stream, NPReason reason)
331 static void NPN_Status(NPP npp, const char* message)
343 static const char* NPN_UserAgent(NPP npp)
374 static jref NPN_GetJavaPeer(NPP)
380 static NPError NPN_GetURLNotify(NPP npp, const char* url, const char* target, void* notifyData)
391 static NPError NPN_PostURLNotify(NPP np
[all...]
H A DNPRuntimeUtilities.h54 NPObject* createNPObject(NPP, NPClass*);
H A DNPRuntimeUtilities.cpp62 NPObject* createNPObject(NPP npp, NPClass* npClass)
H A DNPJSObject.h82 static NPObject* NP_Allocate(NPP, NPClass*);
H A DNetscapePlugin.h58 static PassRefPtr<NetscapePlugin> fromNPP(NPP);
96 static const char* userAgent(NPP);
123 unsigned scheduleTimer(unsigned interval, bool repeat, void (*timerFunc)(NPP, unsigned timerID));
312 typedef void (*TimerFunc)(NPP, uint32_t timerID);
/macosx-10.10/WebKit2-7600.1.25/Shared/Plugins/
H A DNPObjectProxy.h75 static NPObject* NP_Allocate(NPP, NPClass*);

Completed in 204 milliseconds

12