Lines Matching refs:NPObject
65 bool NPObjectProxy::isNPObjectProxy(NPObject* npObject)
67 return npObject->_class == npClass();
287 NPObject* NPObjectProxy::NP_Allocate(NPP npp, NPClass*)
294 void NPObjectProxy::NP_Deallocate(NPObject* npObject)
296 NPObjectProxy* npObjectProxy = toNPObjectProxy(npObject);
300 bool NPObjectProxy::NP_HasMethod(NPObject* npObject, NPIdentifier methodName)
302 return toNPObjectProxy(npObject)->hasMethod(methodName);
305 bool NPObjectProxy::NP_Invoke(NPObject* npObject, NPIdentifier methodName, const NPVariant* arguments, uint32_t argumentCount, NPVariant* result)
307 return toNPObjectProxy(npObject)->invoke(methodName, arguments, argumentCount, result);
310 bool NPObjectProxy::NP_InvokeDefault(NPObject* npObject, const NPVariant* arguments, uint32_t argumentCount, NPVariant* result)
312 return toNPObjectProxy(npObject)->invokeDefault(arguments, argumentCount, result);
315 bool NPObjectProxy::NP_HasProperty(NPObject* npObject, NPIdentifier propertyName)
317 return toNPObjectProxy(npObject)->hasProperty(propertyName);
320 bool NPObjectProxy::NP_GetProperty(NPObject* npObject, NPIdentifier propertyName, NPVariant* result)
322 return toNPObjectProxy(npObject)->getProperty(propertyName, result);
325 bool NPObjectProxy::NP_SetProperty(NPObject* npObject, NPIdentifier propertyName, const NPVariant* value)
327 return toNPObjectProxy(npObject)->setProperty(propertyName, value);
330 bool NPObjectProxy::NP_RemoveProperty(NPObject* npObject, NPIdentifier propertyName)
332 return toNPObjectProxy(npObject)->removeProperty(propertyName);
335 bool NPObjectProxy::NP_Enumerate(NPObject* npObject, NPIdentifier** identifiers, uint32_t* identifierCount)
337 return toNPObjectProxy(npObject)->enumerate(identifiers, identifierCount);
340 bool NPObjectProxy::NP_Construct(NPObject* npObject, const NPVariant* arguments, uint32_t argumentCount, NPVariant* result)
342 return toNPObjectProxy(npObject)->construct(arguments, argumentCount, result);