OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:npObject
(Results
1 - 3
of
3
) sorted by null
/external/chromium_org/third_party/WebKit/Source/bindings/core/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
...]
V8NPObject.cpp
69
// Params: holder could be HTMLEmbedElement or
NPObject
72
NPObject
*
npObject
;
86
npObject
= v8ObjectToNPObject(wrapper->newLocal(isolate));
88
npObject
= 0;
91
// The holder object is not a subtype of HTMLPlugInElement, it must be an
NPObject
which has three
94
V8ThrowException::throwReferenceError("NPMethod called on non-
NPObject
", info.GetIsolate());
98
npObject
= v8ObjectToNPObject(info.Holder());
101
// Verify that our wrapper wasn't using a
NPObject
which has already been deleted.
102
if (!
npObject
|| !_NPN_IsAlive(npObject))
[
all
...]
/external/chromium_org/third_party/WebKit/Source/web/
WebPluginContainerImpl.cpp
424
NPObject
* WebPluginContainerImpl::scriptableObjectForElement()
596
// WebPlugin implementation can't provide the obsolete
NPObject
at the same time:
601
NPObject
*
npObject
= m_webPlugin->scriptableObject();
602
if (
npObject
)
603
return createV8ObjectForNPObject(
npObject
, 0, isolate);
Completed in 531 milliseconds