Lines Matching defs:npObject

66 bool NPJSObject::isNPJSObject(NPObject* npObject)
68 return npObject->_class == npClass();
333 void NPJSObject::NP_Deallocate(NPObject* npObject)
335 NPJSObject* npJSObject = toNPJSObject(npObject);
339 bool NPJSObject::NP_HasMethod(NPObject* npObject, NPIdentifier methodName)
341 return toNPJSObject(npObject)->hasMethod(methodName);
344 bool NPJSObject::NP_Invoke(NPObject* npObject, NPIdentifier methodName, const NPVariant* arguments, uint32_t argumentCount, NPVariant* result)
346 return toNPJSObject(npObject)->invoke(methodName, arguments, argumentCount, result);
349 bool NPJSObject::NP_InvokeDefault(NPObject* npObject, const NPVariant* arguments, uint32_t argumentCount, NPVariant* result)
351 return toNPJSObject(npObject)->invokeDefault(arguments, argumentCount, result);
354 bool NPJSObject::NP_HasProperty(NPObject* npObject, NPIdentifier propertyName)
356 return toNPJSObject(npObject)->hasProperty(propertyName);
359 bool NPJSObject::NP_GetProperty(NPObject* npObject, NPIdentifier propertyName, NPVariant* result)
361 return toNPJSObject(npObject)->getProperty(propertyName, result);
364 bool NPJSObject::NP_SetProperty(NPObject* npObject, NPIdentifier propertyName, const NPVariant* value)
366 return toNPJSObject(npObject)->setProperty(propertyName, value);
369 bool NPJSObject::NP_RemoveProperty(NPObject* npObject, NPIdentifier propertyName)
371 return toNPJSObject(npObject)->removeProperty(propertyName);
374 bool NPJSObject::NP_Enumerate(NPObject* npObject, NPIdentifier** identifiers, uint32_t* identifierCount)
376 return toNPJSObject(npObject)->enumerate(identifiers, identifierCount);
379 bool NPJSObject::NP_Construct(NPObject* npObject, const NPVariant* arguments, uint32_t argumentCount, NPVariant* result)
381 return toNPJSObject(npObject)->construct(arguments, argumentCount, result);