/external/webkit/Source/WebCore/bindings/v8/ |
npruntime_priv.h | 44 void _NPN_DeallocateObject(NPObject*); 62 // We generally associate NPObjects with an owner. The owner of an NPObject 63 // is an NPObject which, when destroyed, also destroys all objects it owns. 78 // Register an NPObject with the runtime. If the owner is NULL, the 81 void _NPN_RegisterObject(NPObject*, NPObject* owner); 83 // Unregister an NPObject with the runtime. If obj is an owning 85 void _NPN_UnregisterObject(NPObject*); 89 bool _NPN_IsAlive(NPObject*);
|
npruntime_impl.h | 54 NPObject *_NPN_CreateObject(NPP, NPClass*); 55 NPObject* _NPN_RetainObject(NPObject*); 56 void _NPN_ReleaseObject(NPObject*); 57 bool _NPN_Invoke(NPP, NPObject*, NPIdentifier methodName, const NPVariant* arguments, uint32_t argumentCount, NPVariant* result); 58 bool _NPN_InvokeDefault(NPP, NPObject*, const NPVariant* arguments, uint32_t argumentCount, NPVariant* result); 59 bool _NPN_Evaluate(NPP, NPObject*, NPString* npScript, NPVariant* result); 60 bool _NPN_EvaluateHelper(NPP, bool popupsAllowed, NPObject*, NPString* npScript, NPVariant* result); 61 bool _NPN_GetProperty(NPP, NPObject*, NPIdentifier propertyName, NPVariant* result); 62 bool _NPN_SetProperty(NPP, NPObject*, NPIdentifier propertyName, const NPVariant* value) [all...] |
V8Helpers.h | 40 v8::Local<v8::Context> toV8Context(NPP, NPObject*); 42 V8Proxy* toV8Proxy(NPObject*);
|
NPV8Object.h | 57 // A V8NPObject is a NPObject which carries additional V8-specific information. It is allocated and deallocated by 60 NPObject object; 73 NPObject* npCreateV8ScriptObject(NPP, v8::Handle<v8::Object>, DOMWindow*); 75 NPObject* v8ObjectToNPObject(v8::Handle<v8::Object>);
|
V8Helpers.cpp | 40 v8::Local<v8::Context> toV8Context(NPP npp, NPObject* npObject) 42 V8NPObject* object = reinterpret_cast<V8NPObject*>(npObject); 46 V8Proxy* toV8Proxy(NPObject* npObject) 48 V8NPObject* object = reinterpret_cast<V8NPObject*>(npObject);
|
V8NPUtils.h | 44 void convertV8ObjectToNPVariant(v8::Local<v8::Value>, NPObject*, NPVariant*); 46 // Convert a NPVariant (string, bool, object, etc) back to a V8 Value. The owner object is the NPObject which relates to the 47 // object, if the object is an Object. The created NPObject will be tied to the lifetime of the owner. 48 v8::Handle<v8::Value> convertNPVariantToV8Object(const NPVariant*, NPObject*); 54 // operating on a NPObject.
|
/external/webkit/Source/WebCore/bridge/ |
npruntime_impl.h | 44 extern NPObject* _NPN_CreateObject(NPP, NPClass*); 45 extern NPObject* _NPN_RetainObject(NPObject*); 46 extern void _NPN_ReleaseObject(NPObject*); 47 extern void _NPN_DeallocateObject(NPObject*); 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*) [all...] |
NP_jsobject.h | 45 NPObject object; 50 NPObject* _NPN_CreateScriptObject(NPP npp, JSC::JSObject*, PassRefPtr<JSC::Bindings::RootObject> rootObject); 51 NPObject* _NPN_CreateNoScriptObject(void);
|
npruntime.h | 78 always wrapped in an NPObject. The 'interface' of an NPObject is 81 typedef struct NPObject NPObject; 107 NPObject *objectValue; 241 NPObject behavior is implemented using the following set of 247 typedef NPObject *(*NPAllocateFunctionPtr)(NPP npp, NPClass *aClass); 248 typedef void (*NPDeallocateFunctionPtr)(NPObject *npobj); 249 typedef void (*NPInvalidateFunctionPtr)(NPObject *npobj); 250 typedef bool (*NPHasMethodFunctionPtr)(NPObject *npobj, NPIdentifier name) [all...] |
npruntime.cpp | 110 NPObject *_NPN_CreateObject(NPP npp, NPClass* aClass) 115 NPObject* obj; 119 obj = (NPObject*)malloc(sizeof(NPObject)); 131 NPObject* _NPN_RetainObject(NPObject* obj) 141 void _NPN_ReleaseObject(NPObject* obj) 152 void _NPN_DeallocateObject(NPObject *obj)
|
/external/webkit/Source/WebCore/bridge/jni/v8/ |
JavaNPObjectV8.h | 42 NPObject m_object; 46 NPObject* JavaInstanceToNPObject(JavaInstance*); 47 JavaInstance* ExtractJavaInstance(NPObject*); 49 bool JavaNPObjectHasMethod(NPObject*, NPIdentifier name); 50 bool JavaNPObjectInvoke(NPObject*, NPIdentifier methodName, const NPVariant* args, uint32_t argCount, NPVariant* result); 51 bool JavaNPObjectHasProperty(NPObject*, NPIdentifier name); 52 bool JavaNPObjectGetProperty(NPObject*, NPIdentifier name, NPVariant* result);
|
/external/webkit/Source/WebKit/chromium/public/ |
WebBindings.h | 53 WEBKIT_API static bool construct(NPP, NPObject*, const NPVariant* args, uint32_t argCount, NPVariant* result); 56 WEBKIT_API static NPObject* createObject(NPP, NPClass*); 59 WEBKIT_API static bool enumerate(NPP, NPObject*, NPIdentifier**, uint32_t* identifierCount); 62 WEBKIT_API static bool evaluate(NPP, NPObject*, NPString* script, NPVariant* result); 65 WEBKIT_API static bool evaluateHelper(NPP, bool popupsAllowed, NPObject*, NPString* script, NPVariant* result); 71 WEBKIT_API static bool getProperty(NPP, NPObject*, NPIdentifier property, NPVariant *result); 80 WEBKIT_API static bool hasMethod(NPP, NPObject*, NPIdentifier method); 83 WEBKIT_API static bool hasProperty(NPP, NPObject*, NPIdentifier property); 95 WEBKIT_API static bool invoke(NPP, NPObject*, NPIdentifier method, const NPVariant* args, uint32_t argCount, NPVariant* result); 98 WEBKIT_API static bool invokeDefault(NPP, NPObject*, const NPVariant* args, uint32_t argCount, NPVariant* result) [all...] |
WebPluginContainer.h | 34 struct NPObject; 73 virtual NPObject* scriptableObjectForElement() = 0;
|
/external/webkit/Source/WebCore/platform/qt/ |
PlatformBridge.h | 79 typedef struct NPObject NPObject; 95 static NPObject* pluginScriptableObject(Widget*);
|
/external/webkit/Source/WebKit2/WebProcess/Plugins/Netscape/ |
NPRuntimeUtilities.h | 33 struct NPObject; 52 NPObject* createNPObject(NPP, NPClass*); 53 void deallocateNPObject(NPObject*); 55 void retainNPObject(NPObject*); 56 void releaseNPObject(NPObject*);
|
NPJSObject.h | 45 // NPJSObject is an NPObject that wraps a JSObject. 46 class NPJSObject : public NPObject { 53 static bool isNPJSObject(NPObject*); 55 static NPJSObject* toNPJSObject(NPObject* npObject) 57 ASSERT(isNPJSObject(npObject)); 58 return static_cast<NPJSObject*>(npObject); 80 static NPObject* NP_Allocate(NPP, NPClass*); 81 static void NP_Deallocate(NPObject*); 82 static bool NP_HasMethod(NPObject*, NPIdentifier methodName) [all...] |
NPRuntimeObjectMap.h | 32 struct NPObject; 63 // Returns an NPObject that wraps the given JSObject object. If there is already an NPObject that wraps this JSObject, it will 65 NPObject* getOrCreateNPObject(JSC::JSGlobalData&, JSC::JSObject*); 68 // Returns a JSObject object that wraps the given NPObject. 69 JSC::JSObject* getOrCreateJSObject(JSC::JSGlobalObject*, NPObject*); 75 bool evaluate(NPObject*, const String& scriptString, NPVariant* result); 90 HashMap<NPObject*, JSNPObject*> m_jsNPObjects;
|
NPRuntimeUtilities.cpp | 59 NPObject* createNPObject(NPP npp, NPClass* npClass) 63 NPObject* npObject; 65 npObject = npClass->allocate(npp, npClass); 67 npObject = npnMemNew<NPObject>(); 69 npObject->_class = npClass; 70 npObject->referenceCount = 1; 72 return npObject; 75 void deallocateNPObject(NPObject* npObject [all...] |
/external/webkit/Source/WebKit2/Shared/Plugins/ |
NPObjectProxy.h | 39 class NPObjectProxy : public NPObject { 45 static bool isNPObjectProxy(NPObject*); 47 static NPObjectProxy* toNPObjectProxy(NPObject* npObject) 49 ASSERT(isNPObjectProxy(npObject)); 50 return static_cast<NPObjectProxy*>(npObject); 75 static NPObject* NP_Allocate(NPP, NPClass*); 76 static void NP_Deallocate(NPObject*); 77 static bool NP_HasMethod(NPObject*, NPIdentifier methodName); 78 static bool NP_Invoke(NPObject*, NPIdentifier methodName, const NPVariant* arguments, uint32_t argumentCount, NPVariant* result) [all...] |
/frameworks/base/tests/BrowserTestPlugin/jni/ |
PluginObject.cpp | 63 static void pluginInvalidate(NPObject *obj); 64 static bool pluginHasProperty(NPObject *obj, NPIdentifier name); 65 static bool pluginHasMethod(NPObject *obj, NPIdentifier name); 66 static bool pluginGetProperty(NPObject *obj, NPIdentifier name, NPVariant *variant); 67 static bool pluginSetProperty(NPObject *obj, NPIdentifier name, const NPVariant *variant); 68 static bool pluginInvoke(NPObject *obj, NPIdentifier name, const NPVariant *args, uint32_t argCount, NPVariant *result); 69 static bool pluginInvokeDefault(NPObject *obj, const NPVariant *args, uint32_t argCount, NPVariant *result); 70 static NPObject *pluginAllocate(NPP npp, NPClass *theClass); 71 static void pluginDeallocate(NPObject *obj); 72 static bool pluginRemoveProperty(NPObject *npobj, NPIdentifier name) [all...] |
/external/webkit/Tools/DumpRenderTree/TestNetscapePlugIn/ |
TestObject.cpp | 32 static bool testEnumerate(NPObject *npobj, NPIdentifier **value, uint32_t *count); 33 static bool testHasMethod(NPObject*, NPIdentifier name); 34 static bool testInvoke(NPObject*, NPIdentifier name, const NPVariant* args, uint32_t argCount, NPVariant* result); 35 static bool testHasProperty(NPObject*, NPIdentifier name); 36 static bool testGetProperty(NPObject*, NPIdentifier name, NPVariant*); 37 static NPObject *testAllocate(NPP npp, NPClass *theClass); 38 static void testDeallocate(NPObject *obj); 39 static bool testConstruct(NPObject* obj, const NPVariant* args, uint32_t argCount, NPVariant* result); 70 NPObject header; 71 NPObject* testObject [all...] |
/external/webkit/Source/WebCore/html/ |
HTMLPlugInElement.h | 30 struct NPObject; 48 NPObject* getNPObject(); 81 NPObject* m_NPObject;
|
/external/webkit/Source/WebCore/bridge/c/ |
c_instance.h | 35 typedef struct NPObject NPObject; 47 static PassRefPtr<CInstance> create(NPObject* object, PassRefPtr<RootObject> rootObject) 76 NPObject *getObject() const { return _object; } 79 CInstance(NPObject*, PassRefPtr<RootObject>); 84 NPObject *_object;
|
/external/webkit/Source/WebKit/chromium/src/ |
WebBindings.cpp | 61 bool WebBindings::construct(NPP npp, NPObject* object, const NPVariant* args, uint32_t argCount, NPVariant* result) 66 NPObject* WebBindings::createObject(NPP npp, NPClass* npClass) 71 bool WebBindings::enumerate(NPP npp, NPObject* object, NPIdentifier** identifier, uint32_t* identifierCount) 76 bool WebBindings::evaluate(NPP npp, NPObject* object, NPString* script, NPVariant* result) 81 bool WebBindings::evaluateHelper(NPP npp, bool popupsAllowed, NPObject* object, NPString* script, NPVariant* result) 91 bool WebBindings::getProperty(NPP npp, NPObject* object, NPIdentifier property, NPVariant* result) 106 bool WebBindings::hasMethod(NPP npp, NPObject* object, NPIdentifier method) 111 bool WebBindings::hasProperty(NPP npp, NPObject* object, NPIdentifier property) 135 bool WebBindings::invoke(NPP npp, NPObject* object, NPIdentifier method, const NPVariant* args, uint32_t argCount, NPVariant* result) 140 bool WebBindings::invokeDefault(NPP npp, NPObject* object, const NPVariant* args, uint32_t argCount, NPVariant* result [all...] |
/external/webkit/Tools/DumpRenderTree/TestNetscapePlugIn/Tests/ |
NPRuntimeObjectFromDestroyedPlugin.cpp | 54 NPObject* testObject = TestObject::create(pluginTest()); 65 *(NPObject**)value = ScriptableObject::create(this);
|