OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:NPJSObject
(Results
1 - 5
of
5
) sorted by null
/external/webkit/Source/WebKit2/WebProcess/Plugins/Netscape/
NPJSObject.cpp
27
#include "
NPJSObject
.h"
45
NPJSObject
*
NPJSObject
::create(JSGlobalData& globalData, NPRuntimeObjectMap* objectMap, JSObject* jsObject)
47
// We should never have a JSNPObject inside an
NPJSObject
.
50
NPJSObject
*
npJSObject
= toNPJSObject(createNPObject(0, npClass()));
51
npJSObject
->initialize(globalData, objectMap, jsObject);
53
return
npJSObject
;
56
NPJSObject
::
NPJSObject
()
[
all
...]
NPJSObject.h
45
//
NPJSObject
is an NPObject that wraps a JSObject.
46
class
NPJSObject
: public NPObject {
47
WTF_MAKE_NONCOPYABLE(
NPJSObject
);
49
static
NPJSObject
* create(JSC::JSGlobalData&, NPRuntimeObjectMap*, JSC::JSObject*);
55
static
NPJSObject
* toNPJSObject(NPObject* npObject)
58
return static_cast<
NPJSObject
*>(npObject);
62
NPJSObject
();
63
~
NPJSObject
();
NPRuntimeObjectMap.h
46
class
NPJSObject
;
66
void npJSObjectDestroyed(
NPJSObject
*);
89
HashMap<JSC::JSObject*,
NPJSObject
*> m_npJSObjects;
NPRuntimeObjectMap.cpp
30
#include "
NPJSObject
.h"
74
if (
NPJSObject
*
npJSObject
= m_npJSObjects.get(jsObject)) {
75
retainNPObject(
npJSObject
);
76
return
npJSObject
;
79
NPJSObject
*
npJSObject
=
NPJSObject
::create(globalData, this, jsObject);
80
m_npJSObjects.set(jsObject,
npJSObject
);
82
return
npJSObject
;
[
all
...]
JSNPObject.cpp
30
#include "
NPJSObject
.h"
59
// We should never have an
NPJSObject
inside a JSNPObject.
60
ASSERT(!
NPJSObject
::isNPJSObject(m_npObject));
Completed in 346 milliseconds