Lines Matching defs:NPJSObject
27 #include "NPJSObject.h"
45 NPJSObject* NPJSObject::create(JSGlobalData& globalData, NPRuntimeObjectMap* objectMap, JSObject* jsObject)
47 // We should never have a JSNPObject inside an NPJSObject.
50 NPJSObject* npJSObject = toNPJSObject(createNPObject(0, npClass()));
51 npJSObject->initialize(globalData, objectMap, jsObject);
53 return npJSObject;
56 NPJSObject::NPJSObject()
61 NPJSObject::~NPJSObject()
66 bool NPJSObject::isNPJSObject(NPObject* npObject)
71 void NPJSObject::initialize(JSGlobalData& globalData, NPRuntimeObjectMap* objectMap, JSObject* jsObject)
90 bool NPJSObject::hasMethod(NPIdentifier methodName)
110 bool NPJSObject::invoke(NPIdentifier methodName, const NPVariant* arguments, uint32_t argumentCount, NPVariant* result)
127 bool NPJSObject::invokeDefault(const NPVariant* arguments, uint32_t argumentCount, NPVariant* result)
139 bool NPJSObject::hasProperty(NPIdentifier identifier)
159 bool NPJSObject::getProperty(NPIdentifier propertyName, NPVariant* result)
179 bool NPJSObject::setProperty(NPIdentifier propertyName, const NPVariant* value)
200 bool NPJSObject::removeProperty(NPIdentifier propertyName)
231 bool NPJSObject::enumerate(NPIdentifier** identifiers, uint32_t* identifierCount)
253 bool NPJSObject::construct(const NPVariant* arguments, uint32_t argumentCount, NPVariant* result)
282 bool NPJSObject::invoke(ExecState* exec, JSGlobalObject* globalObject, JSValue function, const NPVariant* arguments, uint32_t argumentCount, NPVariant* result)
305 NPClass* NPJSObject::npClass()
326 NPObject* NPJSObject::NP_Allocate(NPP npp, NPClass*)
330 return new NPJSObject;
333 void NPJSObject::NP_Deallocate(NPObject* npObject)
335 NPJSObject* npJSObject = toNPJSObject(npObject);
336 delete npJSObject;
339 bool NPJSObject::NP_HasMethod(NPObject* npObject, NPIdentifier methodName)
344 bool NPJSObject::NP_Invoke(NPObject* npObject, NPIdentifier methodName, const NPVariant* arguments, uint32_t argumentCount, NPVariant* result)
349 bool NPJSObject::NP_InvokeDefault(NPObject* npObject, const NPVariant* arguments, uint32_t argumentCount, NPVariant* result)
354 bool NPJSObject::NP_HasProperty(NPObject* npObject, NPIdentifier propertyName)
359 bool NPJSObject::NP_GetProperty(NPObject* npObject, NPIdentifier propertyName, NPVariant* result)
364 bool NPJSObject::NP_SetProperty(NPObject* npObject, NPIdentifier propertyName, const NPVariant* value)
369 bool NPJSObject::NP_RemoveProperty(NPObject* npObject, NPIdentifier propertyName)
374 bool NPJSObject::NP_Enumerate(NPObject* npObject, NPIdentifier** identifiers, uint32_t* identifierCount)
379 bool NPJSObject::NP_Construct(NPObject* npObject, const NPVariant* arguments, uint32_t argumentCount, NPVariant* result)