Lines Matching defs:NPJSObject
27 #include "NPJSObject.h"
49 NPJSObject* NPJSObject::create(VM& vm, NPRuntimeObjectMap* objectMap, JSObject* jsObject)
51 // We should never have a JSNPObject inside an NPJSObject.
54 NPJSObject* npJSObject = toNPJSObject(createNPObject(0, npClass()));
60 NPJSObject::NPJSObject()
65 NPJSObject::~NPJSObject()
70 bool NPJSObject::isNPJSObject(NPObject* npObject)
75 void NPJSObject::initialize(VM& vm, NPRuntimeObjectMap* objectMap, JSObject* jsObject)
94 bool NPJSObject::hasMethod(NPIdentifier methodName)
114 bool NPJSObject::invoke(NPIdentifier methodName, const NPVariant* arguments, uint32_t argumentCount, NPVariant* result)
131 bool NPJSObject::invokeDefault(const NPVariant* arguments, uint32_t argumentCount, NPVariant* result)
143 bool NPJSObject::hasProperty(NPIdentifier identifier)
163 bool NPJSObject::getProperty(NPIdentifier propertyName, NPVariant* result)
183 bool NPJSObject::setProperty(NPIdentifier propertyName, const NPVariant* value)
204 bool NPJSObject::removeProperty(NPIdentifier propertyName)
235 bool NPJSObject::enumerate(NPIdentifier** identifiers, uint32_t* identifierCount)
257 bool NPJSObject::construct(const NPVariant* arguments, uint32_t argumentCount, NPVariant* result)
284 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);
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)