Home
last modified time | relevance | path

Searched refs:DOMWrapperWorld (Results 1 – 25 of 106) sorted by relevance

12345

/external/webkit/Source/WebCore/bindings/js/
DDOMWrapperWorld.h40 JSDOMWrapperOwner(DOMWrapperWorld*);
44 DOMWrapperWorld* m_world;
47 inline JSDOMWrapperOwner::JSDOMWrapperOwner(DOMWrapperWorld* world) in JSDOMWrapperOwner()
52 class DOMWrapperWorld : public RefCounted<DOMWrapperWorld> {
54 static PassRefPtr<DOMWrapperWorld> create(JSC::JSGlobalData* globalData, bool isNormal = false)
56 return adoptRef(new DOMWrapperWorld(globalData, isNormal));
58 ~DOMWrapperWorld();
76 DOMWrapperWorld(JSC::JSGlobalData*, bool isNormal);
85 DOMWrapperWorld* normalWorld(JSC::JSGlobalData&);
86 DOMWrapperWorld* mainThreadNormalWorld();
[all …]
DDOMWrapperWorld.cpp39 DOMWrapperWorld::DOMWrapperWorld(JSC::JSGlobalData* globalData, bool isNormal) in DOMWrapperWorld() function in WebCore::DOMWrapperWorld
49 DOMWrapperWorld::~DOMWrapperWorld() in ~DOMWrapperWorld()
60 void DOMWrapperWorld::clearWrappers() in clearWrappers()
70 DOMWrapperWorld* normalWorld(JSC::JSGlobalData& globalData) in normalWorld()
77 DOMWrapperWorld* mainThreadNormalWorld() in mainThreadNormalWorld()
80 static DOMWrapperWorld* cachedNormalWorld = normalWorld(*JSDOMWindow::commonJSGlobalData()); in mainThreadNormalWorld()
DScriptController.h67 typedef WTF::HashMap< RefPtr<DOMWrapperWorld>, JSC::Strong<JSDOMWindowShell> > ShellMap;
73 static PassRefPtr<DOMWrapperWorld> createWorld();
75 JSDOMWindowShell* createWindowShell(DOMWrapperWorld*);
76 void destroyWindowShell(DOMWrapperWorld*);
78 JSDOMWindowShell* windowShell(DOMWrapperWorld* world) in windowShell()
83 JSDOMWindowShell* existingWindowShell(DOMWrapperWorld* world) const in existingWindowShell()
88 JSDOMWindow* globalObject(DOMWrapperWorld* world) in globalObject()
93 static void getAllWorlds(Vector<DOMWrapperWorld*>&);
97 …ScriptValue executeScriptInWorld(DOMWrapperWorld*, const String& script, bool forceUserGesture = f…
107 ScriptValue evaluateInWorld(const ScriptSourceCode&, DOMWrapperWorld*);
[all …]
DWebCoreJSClientData.h48 DOMWrapperWorld* normalWorld() { return m_normalWorld.get(); } in normalWorld()
50 void getAllWorlds(Vector<DOMWrapperWorld*>& worlds) in getAllWorlds()
55 void rememberWorld(DOMWrapperWorld* world) in rememberWorld()
60 void forgetWorld(DOMWrapperWorld* world) in forgetWorld()
69 HashSet<DOMWrapperWorld*> m_worldSet;
70 RefPtr<DOMWrapperWorld> m_normalWorld;
77 webCoreJSClientData->m_normalWorld = DOMWrapperWorld::create(globalData, true); in initNormalWorldClientData()
DJSDOMGlobalObject.h36 class DOMWrapperWorld; variable
49 …JSDOMGlobalObject(JSC::JSGlobalData&, JSC::Structure*, PassRefPtr<DOMWrapperWorld>, JSC::JSObject*…
68 DOMWrapperWorld* world() { return m_world.get(); } in world()
82 RefPtr<DOMWrapperWorld> m_world;
101 JSDOMGlobalObject* toJSDOMGlobalObject(Document*, DOMWrapperWorld*);
102 JSDOMGlobalObject* toJSDOMGlobalObject(ScriptExecutionContext*, DOMWrapperWorld*);
DJSNodeCustom.h39 inline JSC::WeakHandleOwner* wrapperOwner(DOMWrapperWorld*, Node*) in wrapperOwner() argument
45 inline void* wrapperContext(DOMWrapperWorld* world, Node*) in wrapperContext()
50 inline JSDOMWrapper* getInlineCachedWrapper(DOMWrapperWorld* world, Node* node) in getInlineCachedWrapper()
57 inline bool setInlineCachedWrapper(DOMWrapperWorld* world, Node* node, JSDOMWrapper* wrapper) in setInlineCachedWrapper()
66 inline bool clearInlineCachedWrapper(DOMWrapperWorld* world, Node* node, JSDOMWrapper* wrapper) in clearInlineCachedWrapper()
DScheduledAction.h48 …static PassOwnPtr<ScheduledAction> create(JSC::ExecState*, DOMWrapperWorld* isolatedWorld, Content…
53 ScheduledAction(JSC::ExecState*, JSC::JSValue function, DOMWrapperWorld* isolatedWorld);
54 ScheduledAction(const String& code, DOMWrapperWorld* isolatedWorld) in ScheduledAction()
70 RefPtr<DOMWrapperWorld> m_isolatedWorld;
DJSNamedNodeMapCustom.cpp56 DOMWrapperWorld* world = static_cast<DOMWrapperWorld*>(context); in finalize()
60 inline JSC::WeakHandleOwner* wrapperOwner(DOMWrapperWorld*, NamedNodeMap*) in wrapperOwner() argument
66 inline void* wrapperContext(DOMWrapperWorld* world, NamedNodeMap*) in wrapperContext()
DScriptState.h44 class DOMWrapperWorld; variable
68 ScriptState* scriptStateFromNode(DOMWrapperWorld*, Node*);
69 ScriptState* scriptStateFromPage(DOMWrapperWorld*, Page*);
DJSEventListener.h33 …e(JSC::JSObject* listener, JSC::JSObject* wrapper, bool isAttribute, DOMWrapperWorld* isolatedWorl… in create()
53 DOMWrapperWorld* isolatedWorld() const { return m_isolatedWorld.get(); } in isolatedWorld()
64 …r(JSC::JSObject* function, JSC::JSObject* wrapper, bool isAttribute, DOMWrapperWorld* isolatedWorl…
72 RefPtr<DOMWrapperWorld> m_isolatedWorld;
DJSNodeListCustom.cpp57 DOMWrapperWorld* world = static_cast<DOMWrapperWorld*>(context); in finalize()
61 inline JSC::WeakHandleOwner* wrapperOwner(DOMWrapperWorld*, NodeList*) in wrapperOwner() argument
67 inline void* wrapperContext(DOMWrapperWorld* world, NodeList*) in wrapperContext()
DJSDOMWindowShell.h43 JSDOMWindowShell(PassRefPtr<DOMWindow>, DOMWrapperWorld* world);
66 DOMWrapperWorld* world() { return m_world.get(); } in world()
88 RefPtr<DOMWrapperWorld> m_world;
92 JSDOMWindowShell* toJSDOMWindowShell(Frame*, DOMWrapperWorld*);
DJSNodeCustom.cpp83 static bool isObservable(JSNode* jsNode, Node* node, DOMWrapperWorld* world) in isObservable()
149 static inline bool isReachableFromDOM(JSNode* jsNode, Node* node, DOMWrapperWorld* world, MarkStack… in isReachableFromDOM()
178 DOMWrapperWorld* world = static_cast<DOMWrapperWorld*>(context); in isReachableFromOpaqueRoots()
185 DOMWrapperWorld* world = static_cast<DOMWrapperWorld*>(context); in finalize()
DScriptController.cpp101 void ScriptController::destroyWindowShell(DOMWrapperWorld* world) in destroyWindowShell()
108 JSDOMWindowShell* ScriptController::createWindowShell(DOMWrapperWorld* world) in createWindowShell()
118 ScriptValue ScriptController::evaluateInWorld(const ScriptSourceCode& sourceCode, DOMWrapperWorld* … in evaluateInWorld()
168 PassRefPtr<DOMWrapperWorld> ScriptController::createWorld() in createWorld()
170 return DOMWrapperWorld::create(JSDOMWindow::commonJSGlobalData()); in createWorld()
173 void ScriptController::getAllWorlds(Vector<DOMWrapperWorld*>& worlds) in getAllWorlds()
211 JSDOMWindowShell* ScriptController::initScript(DOMWrapperWorld* world) in initScript()
494 ScriptValue ScriptController::executeScriptInWorld(DOMWrapperWorld* world, const String& script, bo… in executeScriptInWorld()
/external/webkit/Source/WebCore/bindings/v8/
DDOMWrapperWorld.h43 class DOMWrapperWorld : public RefCounted<DOMWrapperWorld> {
45 static PassRefPtr<DOMWrapperWorld> create() { return adoptRef(new DOMWrapperWorld()); } in create()
46 virtual ~DOMWrapperWorld() {} in ~DOMWrapperWorld()
49 DOMWrapperWorld();
52 DOMWrapperWorld* mainThreadNormalWorld();
DDOMWrapperWorld.cpp39 DOMWrapperWorld::DOMWrapperWorld() in DOMWrapperWorld() function in WebCore::DOMWrapperWorld
44 DOMWrapperWorld* mainThreadNormalWorld() in mainThreadNormalWorld()
47 DEFINE_STATIC_LOCAL(RefPtr<DOMWrapperWorld>, cachedNormalWorld, (DOMWrapperWorld::create())); in mainThreadNormalWorld()
DScriptState.h40 class DOMWrapperWorld; variable
109 ScriptState* scriptStateFromNode(DOMWrapperWorld*, Node*);
110 ScriptState* scriptStateFromPage(DOMWrapperWorld*, Page*);
116 inline DOMWrapperWorld* debuggerWorld() { return mainThreadNormalWorld(); } in debuggerWorld()
117 inline DOMWrapperWorld* pluginWorld() { return mainThreadNormalWorld(); } in pluginWorld()
DScriptController.h58 class DOMWrapperWorld; variable
105 ScriptController* windowShell(DOMWrapperWorld*) { return this; } in windowShell() argument
106 ScriptController* existingWindowShell(DOMWrapperWorld*) { return this; } in existingWindowShell() argument
185 void evaluateInWorld(const ScriptSourceCode&, DOMWrapperWorld*);
186 static void getAllWorlds(Vector<DOMWrapperWorld*>& worlds);
/external/webkit/Source/WebKit/win/
DWebScriptWorld.h32 class DOMWrapperWorld; variable
41 static COMPtr<WebScriptWorld> findOrCreateWorld(WebCore::DOMWrapperWorld*);
46 WebCore::DOMWrapperWorld* world() const { return m_world.get(); } in world()
49 static COMPtr<WebScriptWorld> createInstance(PassRefPtr<WebCore::DOMWrapperWorld>);
51 WebScriptWorld(PassRefPtr<WebCore::DOMWrapperWorld>);
60 RefPtr<WebCore::DOMWrapperWorld> m_world;
DWebScriptWorld.cpp35 typedef HashMap<DOMWrapperWorld*, WebScriptWorld*> WorldMap;
42 inline WebScriptWorld::WebScriptWorld(PassRefPtr<DOMWrapperWorld> world) in WebScriptWorld()
75 COMPtr<WebScriptWorld> WebScriptWorld::createInstance(PassRefPtr<DOMWrapperWorld> world) in createInstance()
80 COMPtr<WebScriptWorld> WebScriptWorld::findOrCreateWorld(DOMWrapperWorld* world) in findOrCreateWorld()
/external/webkit/Source/WebKit2/WebProcess/InjectedBundle/
DInjectedBundleScriptWorld.h34 class DOMWrapperWorld; variable
44 static PassRefPtr<InjectedBundleScriptWorld> getOrCreate(WebCore::DOMWrapperWorld*);
49 WebCore::DOMWrapperWorld* coreWorld() const;
54 InjectedBundleScriptWorld(PassRefPtr<WebCore::DOMWrapperWorld>);
58 RefPtr<WebCore::DOMWrapperWorld> m_world;
DInjectedBundleScriptWorld.cpp37 typedef HashMap<DOMWrapperWorld*, InjectedBundleScriptWorld*> WorldMap;
50 PassRefPtr<InjectedBundleScriptWorld> InjectedBundleScriptWorld::getOrCreate(DOMWrapperWorld* world) in getOrCreate()
67 InjectedBundleScriptWorld::InjectedBundleScriptWorld(PassRefPtr<DOMWrapperWorld> world) in InjectedBundleScriptWorld()
80 DOMWrapperWorld* InjectedBundleScriptWorld::coreWorld() const in coreWorld()
/external/webkit/Source/WebCore/page/
DPageGroup.h95 void addUserScriptToWorld(DOMWrapperWorld*, const String& source, const KURL&,
98 void addUserStyleSheetToWorld(DOMWrapperWorld*, const String& source, const KURL&,
103 void removeUserScriptFromWorld(DOMWrapperWorld*, const KURL&);
104 void removeUserStyleSheetFromWorld(DOMWrapperWorld*, const KURL&);
106 void removeUserScriptsFromWorld(DOMWrapperWorld*);
107 void removeUserStyleSheetsFromWorld(DOMWrapperWorld*);
/external/webkit/Source/WebKit/mac/WebView/
DWebScriptWorldInternal.h28 class DOMWrapperWorld; variable
31 WebCore::DOMWrapperWorld* core(WebScriptWorld *);
34 + (WebScriptWorld *)findOrCreateWorld:(WebCore::DOMWrapperWorld*)world;
/external/webkit/Source/WebKit/qt/Api/
Dqwebscriptworld_p.h26 class DOMWrapperWorld; variable
31 QWebScriptWorldPrivate(WTF::PassRefPtr<WebCore::DOMWrapperWorld> o) in QWebScriptWorldPrivate()
41 WTF::RefPtr<WebCore::DOMWrapperWorld> world;

12345