• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.9.5/WebKit2-7537.78.2/WebProcess/Plugins/Netscape/

Lines Matching defs:JSNPObject

27 #include "JSNPObject.h"
57 const ClassInfo JSNPObject::s_info = { "NPObject", &Base::s_info, 0, 0, CREATE_METHOD_TABLE(JSNPObject) };
59 JSNPObject::JSNPObject(JSGlobalObject* globalObject, Structure* structure, NPRuntimeObjectMap* objectMap, NPObject* npObject)
67 void JSNPObject::finishCreation(JSGlobalObject* globalObject)
72 // We should never have an NPJSObject inside a JSNPObject.
78 JSNPObject::~JSNPObject()
84 void JSNPObject::destroy(JSCell* cell)
86 static_cast<JSNPObject*>(cell)->JSNPObject::~JSNPObject();
89 void JSNPObject::invalidate()
98 NPObject* JSNPObject::leakNPObject()
107 JSValue JSNPObject::callMethod(ExecState* exec, NPIdentifier methodName)
147 JSC::JSValue JSNPObject::callObject(JSC::ExecState* exec)
187 JSValue JSNPObject::callConstructor(ExecState* exec)
226 ASSERT(object->inherits(&JSNPObject::s_info));
228 return JSValue::encode(static_cast<JSNPObject*>(object)->callObject(exec));
231 JSC::CallType JSNPObject::getCallData(JSC::JSCell* cell, JSC::CallData& callData)
233 JSNPObject* thisObject = JSC::jsCast<JSNPObject*>(cell);
245 ASSERT(constructor->inherits(&JSNPObject::s_info));
247 return JSValue::encode(static_cast<JSNPObject*>(constructor)->callConstructor(exec));
250 ConstructType JSNPObject::getConstructData(JSCell* cell, ConstructData& constructData)
252 JSNPObject* thisObject = JSC::jsCast<JSNPObject*>(cell);
261 bool JSNPObject::getOwnPropertySlot(JSCell* cell, ExecState* exec, PropertyName propertyName, PropertySlot& slot)
263 JSNPObject* thisObject = JSC::jsCast<JSNPObject*>(cell);
292 bool JSNPObject::getOwnPropertyDescriptor(JSObject* object, ExecState* exec, PropertyName propertyName, PropertyDescriptor& descriptor)
294 JSNPObject* thisObject = jsCast<JSNPObject*>(object);
327 void JSNPObject::put(JSCell* cell, ExecState* exec, PropertyName propertyName, JSValue value, PutPropertySlot&)
329 JSNPObject* thisObject = JSC::jsCast<JSNPObject*>(cell);
366 bool JSNPObject::deleteProperty(JSCell* cell, ExecState* exec, PropertyName propertyName)
368 return jsCast<JSNPObject*>(cell)->deleteProperty(exec, npIdentifierFromIdentifier(propertyName));
371 bool JSNPObject::deletePropertyByIndex(JSCell* cell, ExecState* exec, unsigned propertyName)
373 return jsCast<JSNPObject*>(cell)->deleteProperty(exec, static_cast<NPIdentifier>(IdentifierRep::get(propertyName)));
376 bool JSNPObject::deleteProperty(ExecState* exec, NPIdentifier propertyName)
407 void JSNPObject::getOwnPropertyNames(JSObject* object, ExecState* exec, PropertyNameArray& propertyNameArray, EnumerationMode)
409 JSNPObject* thisObject = jsCast<JSNPObject*>(object);
455 JSValue JSNPObject::propertyGetter(ExecState* exec, JSValue slotBase, PropertyName propertyName)
457 JSNPObject* thisObj = static_cast<JSNPObject*>(asObject(slotBase));
491 JSValue JSNPObject::methodGetter(ExecState* exec, JSValue slotBase, PropertyName propertyName)
493 JSNPObject* thisObj = static_cast<JSNPObject*>(asObject(slotBase));
503 JSObject* JSNPObject::throwInvalidAccessError(ExecState* exec)