Lines Matching refs:NPObject
69 NPObject parent; // This must be the first field in the struct.
82 static NPObject* allocate(NPP npp, NPClass* aClass);
85 static void deallocate(NPObject* obj);
89 static bool hasProperty(NPObject *obj, NPIdentifier ident);
93 static bool hasMethod(NPObject *obj, NPIdentifier ident);
98 static bool invoke(NPObject *obj, NPIdentifier ident,
105 static bool getProperty(NPObject *obj, NPIdentifier ident,
111 static bool setProperty(NPObject *obj, NPIdentifier ident,
131 /* static */ NPObject* CppNPObject::allocate(NPP npp, NPClass* aClass) { in allocate()
138 /* static */ void CppNPObject::deallocate(NPObject* np_obj) { in deallocate()
143 /* static */ bool CppNPObject::hasMethod(NPObject* np_obj, in hasMethod()
149 /* static */ bool CppNPObject::hasProperty(NPObject* np_obj, in hasProperty()
155 /* static */ bool CppNPObject::invoke(NPObject* np_obj, NPIdentifier ident, in invoke()
162 /* static */ bool CppNPObject::getProperty(NPObject* np_obj, in getProperty()
169 /* static */ bool CppNPObject::setProperty(NPObject* np_obj, in setProperty()
311 NPObject* np_obj = WebBindings::createObject(0, &CppNPObject::np_class_); in GetAsCppVariant()