HomeSort by relevance Sort by last modified time
    Searched refs:npObject (Results 1 - 9 of 9) sorted by null

  /external/webkit/WebCore/bindings/v8/
V8Helpers.cpp 41 void wrapNPObject(v8::Handle<v8::Object> object, NPObject* npObject)
43 V8DOMWrapper::setDOMWrapper(object, V8ClassIndex::NPOBJECT, npObject);
46 v8::Local<v8::Context> toV8Context(NPP npp, NPObject* npObject)
48 V8NPObject* object = reinterpret_cast<V8NPObject*>(npObject);
52 V8Proxy* toV8Proxy(NPObject* npObject)
54 V8NPObject* object = reinterpret_cast<V8NPObject*>(npObject);
    [all...]
NPV8Object.cpp 64 static NPObject* allocV8NPObject(NPP, NPClass*)
66 return static_cast<NPObject*>(malloc(sizeof(V8NPObject)));
69 static void freeV8NPObject(NPObject* npObject)
71 V8NPObject* v8NpObject = reinterpret_cast<V8NPObject*>(npObject);
79 static v8::Handle<v8::Value>* createValueListFromVariantArgs(const NPVariant* arguments, uint32_t argumentCount, NPObject* owner)
101 NPObject* v8ObjectToNPObject(v8::Handle<v8::Object> object)
103 return reinterpret_cast<NPObject*>(object->GetPointerFromInternalField(WebCore::v8DOMWrapperObjectIndex));
114 NPObject* npCreateV8ScriptObject(NPP npp, v8::Handle<v8::Object> object, WebCore::DOMWindow* root)
119 if (typeIndex->IsNumber() && typeIndex->Uint32Value() == V8ClassIndex::NPOBJECT) {
    [all...]
npruntime.cpp 261 NPObject *_NPN_CreateObject(NPP npp, NPClass* npClass)
266 NPObject* npObject;
268 npObject = npClass->allocate(npp, npClass);
270 npObject = reinterpret_cast<NPObject*>(malloc(sizeof(NPObject)));
272 npObject->_class = npClass;
273 npObject->referenceCount = 1;
274 return npObject;
    [all...]
V8NPObject.cpp 58 // Params: holder could be HTMLEmbedElement or NPObject
61 NPObject* npObject;
76 npObject = v8ObjectToNPObject(scriptInstance->instance());
78 npObject = 0;
80 // The holder object is not a subtype of HTMLPlugInElement, it must be an NPObject which has three
83 return throwError("NPMethod called on non-NPObject", V8Proxy::ReferenceError);
85 npObject = v8ObjectToNPObject(args.Holder());
88 // Verify that our wrapper wasn't using a NPObject which has already been deleted.
89 if (!npObject || !_NPN_IsAlive(npObject)
    [all...]
ScriptController.cpp 260 void ScriptController::bindToWindowObject(Frame* frame, const String& key, NPObject* object)
306 NPObject* npObject = PlatformBridge::pluginScriptableObject(widget);
308 if (!npObject)
332 // NPObject as part of its wrapper. However, before accessing the object
335 v8::Local<v8::Object> wrapper = createV8ObjectForNPObject(npObject, 0);
342 // call _NPN_ReleaseObject on the npObject to balance the reference count.
345 ASSERT(it->second == npObject);
351 m_pluginObjects.set(widget, npObject);
380 static NPObject* createNoScriptObject(
    [all...]
  /external/webkit/WebKit/chromium/src/
WebBindings.cpp 65 bool WebBindings::construct(NPP npp, NPObject *npobj, const NPVariant *args, uint32_t argCount, NPVariant* result)
70 NPObject* WebBindings::createObject(NPP npp, NPClass* npClass)
75 bool WebBindings::enumerate(NPP id, NPObject* obj, NPIdentifier** identifier, uint32_t* val)
80 bool WebBindings::evaluate(NPP npp, NPObject* npObject, NPString* npScript, NPVariant* result)
82 return _NPN_Evaluate(npp, npObject, npScript, result);
85 bool WebBindings::evaluateHelper(NPP npp, bool popups_allowed, NPObject* npobj, NPString* npscript, NPVariant* result)
95 bool WebBindings::getProperty(NPP npp, NPObject* obj, NPIdentifier propertyName, NPVariant *result)
110 bool WebBindings::hasMethod(NPP npp, NPObject* npObject, NPIdentifier methodName
    [all...]
  /external/webkit/WebCore/bindings/js/
ScriptControllerMac.mm 58 - (NPObject *)createPluginScriptableObject;
88 NPObject* npObject = [widgetView createPluginScriptableObject];
89 if (!npObject)
91 RefPtr<Instance> instance = JSC::Bindings::CInstance::create(npObject, rootObject.release());
92 // -createPluginScriptableObject returns a retained NPObject. The caller is expected to release it.
93 _NPN_ReleaseObject(npObject);
  /external/webkit/WebCore/bridge/c/
c_utility.cpp 92 NPObject* obj = instance->getObject();
101 NPObject* npObject = _NPN_CreateScriptObject(0, object, rootObject);
102 OBJECT_TO_NPVARIANT(npObject, *result);
127 NPObject* obj = variant->value.objectValue;
133 // Wrap NPObject in a CInstance.
  /external/webkit/WebKit/android/jni/
WebCoreFrameBridge.cpp     [all...]

Completed in 96 milliseconds