HomeSort by relevance Sort by last modified time
    Searched refs:npp (Results 1 - 25 of 45) sorted by null

1 2

  /external/webkit/WebKit/mac/Plugins/
WebNetscapeContainerCheckPrivate.h 43 typedef uint32 (*WKN_CheckIfAllowedToLoadURLProcPtr)(NPP npp, const char* url, const char* frame, void (*callbackFunc)(NPP npp, uint32, NPBool allowed, void* context), void* context);
44 typedef void (*WKN_CancelCheckIfAllowedToLoadURLProcPtr)(NPP npp, uint32);
45 typedef char* (*WKN_ResolveURLProcPtr)(NPP npp, const char* url, const char* target);
47 uint32 WKN_CheckIfAllowedToLoadURL(NPP npp, const char* url, const char* frame, void (*callbackFunc)(NPP npp, uint32, NPBool allowed, void* c (…)
    [all...]
WebNetscapeContainerCheckContextInfo.h 35 void (*_callback)(NPP npp, uint32, NPBool, void *);
39 - (id)initWithCheckRequestID:(uint32)checkRequestID callbackFunc:(void (*)(NPP npp, uint32 checkID, NPBool allowed, void* context))callbackFunc context:(void*)context;
41 - (void (*)(NPP npp, uint32, NPBool, void*))callback;
WebNetscapeContainerCheckContextInfo.mm 32 - (id)initWithCheckRequestID:(uint32)checkRequestID callbackFunc:(void (*)(NPP npp, uint32 checkID, NPBool allowed, void* context))callbackFunc context:(void*)context
49 - (void (*)(NPP npp, uint32, NPBool, void*))callback
  /development/samples/BrowserPlugin/src/com/android/sampleplugin/
PaintSurface.java 40 private final int npp; field in class:PaintSurface
45 public PaintSurface(Context context, int NPP, int width, int height) {
48 this.npp = NPP;
56 nativeSurfaceChanged(npp, format, width, height);
64 nativeSurfaceCreated(npp);
72 nativeSurfaceDestroyed(npp);
92 private native void nativeSurfaceCreated(int npp);
93 private native void nativeSurfaceChanged(int npp, int format, int width, int height);
94 private native void nativeSurfaceDestroyed(int npp);
    [all...]
  /external/webkit/WebKit/android/plugins/
PluginDebugAndroid.cpp 63 void anp_logPluginEvent(void* npp, const ANPEvent* evt, int16 returnVal, int elapsedTime) {
68 PLUGIN_LOG("%p EVENT::NULL", npp);
74 npp, returnVal, elapsedTime, inputActions[evt->data.key.action],
79 PLUGIN_LOG("%p EVENT::KEY[%d] unknown action", npp, returnVal);
85 anp_logPlugin("%p EVENT::MOUSE[%d] time=%d action=%s [%d %d]", npp,
89 anp_logPlugin("%p EVENT::MOUSE[%d] unknown action", npp, returnVal);
97 npp, returnVal, elapsedTime,
101 anp_logPlugin("%p EVENT::TOUCH[%d] unknown action", npp, returnVal);
108 npp, elapsedTime, evt->data.draw.data.bitmap.format,
112 anp_logPlugin("%p EVENT::DRAW unknown drawing model", npp);
    [all...]
PluginTimer.h 39 PluginTimer(PluginTimer** list, NPP instance, bool repeat,
40 void (*proc)(NPP npp, uint32 timerID));
59 NPP m_instance;
60 void (*m_timerFunc)(NPP, uint32);
71 uint32 schedule(NPP instance, uint32 interval, bool repeat,
72 void (*proc)(NPP npp, uint32 timerID));
73 void unschedule(NPP instance, uint32 timerID);
PluginDebugAndroid.h 40 # define PLUGIN_LOG_EVENT(NPP, EVT, RET, TIME) do { anp_logPluginEvent(NPP, EVT, RET, TIME); } while(0)
50 void anp_logPluginEvent(void* npp, const ANPEvent* event, int16 returnVal, int elapsedTime);
54 # define PLUGIN_LOG_EVENT(NPP, EVT, RET, TIME) do { } while(0)
PluginTimer.cpp 34 PluginTimer::PluginTimer(PluginTimer** list, NPP instance, bool repeat,
35 void (*timerFunc)(NPP npp, uint32 timerID))
95 uint32 PluginTimerList::schedule(NPP instance, uint32 interval, bool repeat,
96 void (*proc)(NPP npp, uint32 timerID))
109 void PluginTimerList::unschedule(NPP instance, uint32 timerID)
  /external/webkit/WebCore/plugins/
PluginMainThreadScheduler.cpp 44 void PluginMainThreadScheduler::scheduleCall(NPP npp, MainThreadFunction function, void* userData)
48 CallQueueMap::iterator it = m_callQueueMap.find(npp);
60 void PluginMainThreadScheduler::registerPlugin(NPP npp)
64 ASSERT(!m_callQueueMap.contains(npp));
65 m_callQueueMap.set(npp, Deque<Call>());
68 void PluginMainThreadScheduler::unregisterPlugin(NPP npp)
72 ASSERT(m_callQueueMap.contains(npp));
    [all...]
npfunctions.h 45 typedef NPError (*NPN_GetURLNotifyProcPtr)(NPP instance, const char* URL, const char* window, void* notifyData);
46 typedef NPError (*NPN_PostURLNotifyProcPtr)(NPP instance, const char* URL, const char* window, uint32 len, const char* buf, NPBool file, void* notifyData);
48 typedef NPError (*NPN_NewStreamProcPtr)(NPP instance, NPMIMEType type, const char* window, NPStream** stream);
49 typedef int32 (*NPN_WriteProcPtr)(NPP instance, NPStream* stream, int32 len, void* buffer);
50 typedef NPError (*NPN_DestroyStreamProcPtr)(NPP instance, NPStream* stream, NPReason reason);
51 typedef void (*NPN_StatusProcPtr)(NPP instance, const char* message);
52 typedef const char*(*NPN_UserAgentProcPtr)(NPP instance);
57 typedef NPError (*NPN_GetValueProcPtr)(NPP instance, NPNVariable variable, void *ret_value);
58 typedef NPError (*NPN_SetValueProcPtr)(NPP instance, NPPVariable variable, void *value);
59 typedef void (*NPN_InvalidateRectProcPtr)(NPP instance, NPRect *rect)
    [all...]
  /external/webkit/WebKitTools/DumpRenderTree/TestNetscapePlugIn.subproj/
PluginObject.h 33 NPP npp; member in struct:__anon8377
59 extern void testNPRuntime(NPP npp);
60 extern void pluginLog(NPP instance, const char* format, ...);
61 extern bool testDocumentOpen(NPP npp);
62 extern bool testWindowOpen(NPP npp);
PluginObject.cpp 38 static void pluginLogWithWindowObject(NPObject* windowObject, NPP instance, const char* message)
64 static void pluginLogWithWindowObjectVariableArgs(NPObject* windowObject, NPP instance, const char* format, ...)
76 void pluginLog(NPP instance, const char* format, ...)
102 static NPObject* pluginAllocate(NPP npp, NPClass*);
267 browser->getvalue(plugin->npp, NPNVprivateModeBool, &privateBrowsingEnabled);
304 if (browser->getvalue(obj->npp, NPNVPluginElementNPObject, &elementObject) == NPERR_NO_ERROR) {
308 if (browser->getproperty(obj->npp, elementObject, styleIdentifier, &styleVariant) && NPVARIANT_IS_OBJECT(styleVariant)) {
313 browser->setproperty(obj->npp, NPVARIANT_TO_OBJECT(styleVariant), borderIdentifier, &borderVariant);
391 browser->getvalue(obj->npp, NPNVWindowNPObject, &windowScriptObject)
    [all...]
  /development/samples/BrowserPlugin/jni/
jni-bridge.cpp 28 static void surfaceCreated(JNIEnv* env, jobject thiz, jint npp, jobject surface) {
36 gEventI.postEvent((NPP)npp, &event);
39 static void surfaceChanged(JNIEnv* env, jobject thiz, jint npp, jint format, jint width, jint height) {
48 gEventI.postEvent((NPP)npp, &event);
51 static void surfaceDestroyed(JNIEnv* env, jobject thiz, jint npp) {
58 gEventI.postEvent((NPP)npp, &event);
PluginObject.cpp 79 static NPObject *pluginAllocate(NPP npp, NPClass *theClass);
182 static NPObject *pluginAllocate(NPP npp, NPClass *theClass)
193 newInstance->npp = npp;
PluginObject.h 49 SubPlugin(NPP inst) : m_inst(inst) {}
57 NPP inst() const { return m_inst; }
60 NPP m_inst;
65 SurfaceSubPlugin(NPP inst) : SubPlugin(inst) { m_context = NULL; }
89 NPP npp; member in struct:PluginObject
  /frameworks/base/tests/BrowserTestPlugin/jni/
PluginObject.h 66 SubPlugin(NPP inst) : m_inst(inst) {}
70 NPP inst() const { return m_inst; }
73 NPP m_inst;
78 NPP npp; member in struct:PluginObject
PluginObject.cpp 70 static NPObject *pluginAllocate(NPP npp, NPClass *theClass);
173 static NPObject *pluginAllocate(NPP npp, NPClass *theClass)
184 newInstance->npp = npp;
  /external/webkit/WebCore/bridge/
NP_jsobject.h 50 NPObject* _NPN_CreateScriptObject(NPP npp, JSC::JSObject*, PassRefPtr<JSC::Bindings::RootObject> rootObject);
npruntime.h 65 * Added NPP arguments to NPObject functions.
239 typedef NPObject *(*NPAllocateFunctionPtr)(NPP npp, NPClass *aClass);
311 NPObject *NPN_CreateObject(NPP npp, NPClass *aClass);
336 bool NPN_Invoke(NPP npp, NPObject *npobj, NPIdentifier methodName, const NPVariant *args, uint32_t argCount, NPVariant *result);
337 bool NPN_InvokeDefault(NPP npp, NPObject *npobj, const NPVariant *args, uint32_t argCount, NPVariant *result);
338 bool NPN_Evaluate(NPP npp, NPObject *npobj, NPString *script, NPVariant *result)
    [all...]
npruntime.cpp 110 NPObject *_NPN_CreateObject(NPP npp, NPClass* aClass)
117 obj = aClass->allocate(npp, aClass);
  /external/webkit/WebKit/chromium/src/
WebBindings.cpp 65 bool WebBindings::construct(NPP npp, NPObject *npobj, const NPVariant *args, uint32_t argCount, NPVariant* result)
67 return _NPN_Construct(npp, npobj, args, argCount, result);
70 NPObject* WebBindings::createObject(NPP npp, NPClass* npClass)
72 return _NPN_CreateObject(npp, npClass);
75 bool WebBindings::enumerate(NPP id, NPObject* obj, NPIdentifier** identifier, uint32_t* val)
80 bool WebBindings::evaluate(NPP npp, NPObject* npObject, NPString* npScript, NPVariant* result)
82 return _NPN_Evaluate(npp, npObject, npScript, result)
    [all...]
  /external/webkit/WebCore/bindings/v8/
NPV8Object.cpp 64 static NPObject* allocV8NPObject(NPP, NPClass*)
114 NPObject* npCreateV8ScriptObject(NPP npp, v8::Handle<v8::Object> object, WebCore::DOMWindow* root)
127 V8NPObject* v8npObject = reinterpret_cast<V8NPObject*>(_NPN_CreateObject(npp, &V8NPObjectClass));
136 bool _NPN_Invoke(NPP npp, NPObject* npObject, NPIdentifier methodName, const NPVariant* arguments, uint32_t argumentCount, NPVariant* result)
157 v8::Handle<v8::Context> context = toV8Context(npp, npObject);
168 return _NPN_Evaluate(npp, npObject, const_cast<NPString*>(&arguments[0].value.stringValue), result);
199 bool _NPN_InvokeDefault(NPP npp, NPObject* npObject, const NPVariant* arguments, uint32_t argumentCount, NPVariant* result
    [all...]
V8Helpers.cpp 46 v8::Local<v8::Context> toV8Context(NPP npp, NPObject* npObject)
  /frameworks/base/core/java/android/webkit/
PluginFullScreenHolder.java 40 PluginFullScreenHolder(WebView webView, int npp) {
43 mNpp = npp;
  /external/webkit/WebKitExamplePlugins/NetscapeCocoaPlugin/
main.m 48 NPP npp;
59 NPError NPP_New(NPMIMEType pluginType, NPP instance, uint16 mode, int16 argc, char* argn[], char* argv[], NPSavedData* saved);
60 NPError NPP_Destroy(NPP instance, NPSavedData** save);
61 NPError NPP_SetWindow(NPP instance, NPWindow* window);
62 NPError NPP_NewStream(NPP instance, NPMIMEType type, NPStream* stream, NPBool seekable, uint16* stype);
63 NPError NPP_DestroyStream(NPP instance, NPStream* stream, NPReason reason);
64 int32 NPP_WriteReady(NPP instance, NPStream* stream);
65 int32 NPP_Write(NPP instance, NPStream* stream, int32 offset, int32 len, void* buffer);
66 void NPP_StreamAsFile(NPP instance, NPStream* stream, const char* fname)
    [all...]

Completed in 496 milliseconds

1 2