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

  /external/chromium_org/third_party/WebKit/Source/bindings/v8/
npruntime.cpp 266 NPObject *_NPN_CreateObject(NPP npp, NPClass* npClass)
271 NPObject* npObject;
273 npObject = npClass->allocate(npp, npClass);
275 npObject = reinterpret_cast<NPObject*>(malloc(sizeof(NPObject)));
277 npObject->_class = npClass;
278 npObject->referenceCount = 1;
279 return npObject;
    [all...]
NPV8Object.cpp 61 static NPObject* allocV8NPObject(NPP, NPClass*)
63 return static_cast<NPObject*>(malloc(sizeof(V8NPObject)));
66 static void freeV8NPObject(NPObject* npObject)
68 V8NPObject* v8NpObject = reinterpret_cast<V8NPObject*>(npObject);
69 disposeUnderlyingV8Object(npObject, v8::Isolate::GetCurrent());
80 static v8::Local<v8::Context> toV8Context(NPP npp, NPObject* npObject)
82 ASSERT(npObject->_class == &V8NPObjectClass);
83 V8NPObject* object = reinterpret_cast<V8NPObject*>(npObject);
    [all...]
V8NPObject.cpp 68 // Params: holder could be HTMLEmbedElement or NPObject
71 NPObject* npObject;
88 npObject = v8ObjectToNPObject(wrapper->newLocal(isolate));
90 npObject = 0;
92 // The holder object is not a subtype of HTMLPlugInElement, it must be an NPObject which has three
95 throwError(v8ReferenceError, "NPMethod called on non-NPObject", info.GetIsolate());
99 npObject = v8ObjectToNPObject(info.Holder());
102 // Verify that our wrapper wasn't using a NPObject which has already been deleted.
103 if (!npObject || !_NPN_IsAlive(npObject))
    [all...]
ScriptController.cpp 115 // only leak the NPObject wrapper, not the object, its document, or
322 void ScriptController::bindToWindowObject(Frame* frame, const String& key, NPObject* object)
364 NPObject* npObject = toPluginView(widget)->scriptableObject();
365 if (!npObject)
389 // NPObject as part of its wrapper. However, before accessing the object
392 v8::Local<v8::Object> wrapper = createV8ObjectForNPObject(npObject, 0, m_isolate);
395 m_pluginObjects.set(widget, npObject);
427 static NPObject* createNoScriptObject()
433 static NPObject* createScriptObject(Frame* frame, v8::Isolate* isolate
    [all...]
  /external/chromium_org/third_party/WebKit/Source/testing/plugin/
PluginTest.h 78 bool NPN_Invoke(NPObject *, NPIdentifier methodName, const NPVariant *args, uint32_t argCount, NPVariant *result);
88 NPObject* NPN_CreateObject(NPClass*);
89 NPObject* NPN_RetainObject(NPObject*);
90 void NPN_ReleaseObject(NPObject*);
91 bool NPN_GetProperty(NPObject*, NPIdentifier propertyName, NPVariant* value);
92 bool NPN_RemoveProperty(NPObject*, NPIdentifier propertyName);
134 // NPObject helper template.
135 template<typename T> struct Object : NPObject {
137 static NPObject* create(PluginTest* pluginTest
    [all...]
PluginTest.cpp 168 bool PluginTest::NPN_Invoke(NPObject *npobj, NPIdentifier methodName, const NPVariant *args, uint32_t argCount, NPVariant *result)
205 NPObject* PluginTest::NPN_CreateObject(NPClass* npClass)
210 NPObject* PluginTest::NPN_RetainObject(NPObject* npObject)
212 return browser->retainobject(npObject);
215 void PluginTest::NPN_ReleaseObject(NPObject* npObject)
217 browser->releaseobject(npObject);
220 bool PluginTest::NPN_GetProperty(NPObject* npObject, NPIdentifier propertyName, NPVariant* value
    [all...]
  /external/chromium_org/third_party/WebKit/Source/testing/runner/
CppVariant.cpp 96 NPObject* thisValue = value.objectValue;
97 NPObject* otherValue = other.value.objectValue;
211 void CppVariant::set(NPObject* newValue)
256 NPObject* npValue = value.objectValue;
302 NPObject* npObject = value.objectValue;
303 if (!WebBindings::hasMethod(0, npObject, methodName))
306 bool status = WebBindings::invoke(0, npObject, methodName, arguments, argumentCount, &r);
315 NPObject* npObject = value.objectValue
    [all...]

Completed in 2886 milliseconds