Home
last modified time | relevance | path

Searched refs:JSDOMWindow (Results 1 – 25 of 55) sorted by relevance

123

/external/webkit/Source/WebCore/bindings/js/
DJSDOMWindowCustom.cpp76 void JSDOMWindow::markChildren(MarkStack& markStack) in markChildren()
114 …return toJS(exec, static_cast<JSDOMWindow*>(asObject(slotBase))->impl()->frame()->tree()->child(id… in childFrameGetter()
119 …return toJS(exec, static_cast<JSDOMWindow*>(asObject(slotBase))->impl()->frame()->tree()->child(in… in indexGetter()
124 JSDOMWindowBase* thisObj = static_cast<JSDOMWindow*>(asObject(slotBase)); in namedItemGetter()
137 bool JSDOMWindow::getOwnPropertySlot(ExecState* exec, const Identifier& propertyName, PropertySlot&… in getOwnPropertySlot()
221 entry = JSDOMWindow::s_info.propHashTable(exec)->entry(exec, propertyName); in getOwnPropertySlot()
280 bool JSDOMWindow::getOwnPropertyDescriptor(ExecState* exec, const Identifier& propertyName, Propert… in getOwnPropertyDescriptor()
308 entry = JSDOMWindow::s_info.propHashTable(exec)->entry(exec, propertyName); in getOwnPropertyDescriptor()
352 void JSDOMWindow::put(ExecState* exec, const Identifier& propertyName, JSValue value, PutPropertySl… in put()
364 if (lookupPut<JSDOMWindow>(exec, propertyName, value, s_info.propHashTable(exec), this)) in put()
[all …]
DJSDOMWindowShell.cpp63 …Structure* prototypeStructure = JSDOMWindowPrototype::createStructure(*JSDOMWindow::commonJSGlobal… in setWindow()
64 …Strong<JSDOMWindowPrototype> prototype(*JSDOMWindow::commonJSGlobalData(), new JSDOMWindowPrototyp… in setWindow()
66 …Structure* structure = JSDOMWindow::createStructure(*JSDOMWindow::commonJSGlobalData(), prototype.… in setWindow()
67JSDOMWindow* jsDOMWindow = new (JSDOMWindow::commonJSGlobalData()) JSDOMWindow(*JSDOMWindow::commo… in setWindow()
68 prototype->putAnonymousValue(*JSDOMWindow::commonJSGlobalData(), 0, jsDOMWindow); in setWindow()
69 setWindow(*JSDOMWindow::commonJSGlobalData(), jsDOMWindow); in setWindow()
164 return JSDOMWindow::commonJSGlobalData()->heap.allocate(size); in operator new()
DJSDOMWindowCustom.h28 inline JSDOMWindow* asJSDOMWindow(JSC::JSGlobalObject* globalObject) in asJSDOMWindow()
30 return static_cast<JSDOMWindow*>(globalObject); in asJSDOMWindow()
33 inline const JSDOMWindow* asJSDOMWindow(const JSC::JSGlobalObject* globalObject) in asJSDOMWindow()
35 return static_cast<const JSDOMWindow*>(globalObject); in asJSDOMWindow()
69 const JSDOMWindow* originWindow = asJSDOMWindow(other); in allowsAccessFromPrivate()
70 const JSDOMWindow* targetWindow = m_shell->window(); in allowsAccessFromPrivate()
DJSCustomXPathNSResolver.h44 class JSDOMWindow; variable
55 JSCustomXPathNSResolver(JSC::JSObject*, JSDOMWindow*);
59 JSDOMWindow* m_globalObject;
DScriptCachedFrameData.cpp56 JSDOMWindow* window = iter->second->window(); in ScriptCachedFrameData()
57 m_windows.add(iter->first.get(), Strong<JSDOMWindow>(window->globalData(), window)); in ScriptCachedFrameData()
86 if (JSDOMWindow* window = m_windows.get(world).get()) in restore()
DJSDOMWindowBase.cpp205 JSDOMWindow* toJSDOMWindow(Frame* frame, DOMWrapperWorld* world) in toJSDOMWindow()
212 JSDOMWindow* toJSDOMWindow(JSValue value) in toJSDOMWindow()
217 if (classInfo == &JSDOMWindow::s_info) in toJSDOMWindow()
218 return static_cast<JSDOMWindow*>(asObject(value)); in toJSDOMWindow()
DJSDOMWindowBase.h36 class JSDOMWindow; variable
99 JSDOMWindow* toJSDOMWindow(Frame*, DOMWrapperWorld*);
100 JSDOMWindow* toJSDOMWindow(JSC::JSValue);
DScriptCachedFrameData.h40 class JSDOMWindow; variable
46 typedef HashMap< RefPtr<DOMWrapperWorld>, JSC::Strong<JSDOMWindow> > JSDOMWindowSet;
DGCController.cpp42 JSDOMWindow::commonJSGlobalData()->heap.collectAllGarbage(); in collect()
71 if (!JSDOMWindow::commonJSGlobalData()->heap.isBusy()) in garbageCollectNow()
DJSDOMWindowShell.h46 JSDOMWindow* window() const { return m_window.get(); } in window()
47 void setWindow(JSC::JSGlobalData& globalData, JSDOMWindow* window) in setWindow()
87 JSC::WriteBarrier<JSDOMWindow> m_window;
DPageScriptDebugServer.cpp58 JSDOMWindow* window = asJSDOMWindow(globalObject); in toPage()
117 if (JSDOMWindow::commonJSGlobalData()->dynamicGlobalObject) in recompileAllJSFunctions()
120 Debugger::recompileAllJSFunctions(JSDOMWindow::commonJSGlobalData()); in recompileAllJSFunctions()
DScriptController.cpp170 return DOMWrapperWorld::create(JSDOMWindow::commonJSGlobalData()); in createWorld()
175 …static_cast<WebCoreJSClientData*>(JSDOMWindow::commonJSGlobalData()->clientData)->getAllWorlds(wor… in getAllWorlds()
329 JSDOMWindow* globalObject = shell->window(); in attachDebugger()
436 JSDOMWindow* globalObj = globalObject(pluginWorld()); in jsObjectForPluginElement()
DJSEventListener.cpp82 JSDOMWindow* window = static_cast<JSDOMWindow*>(globalObject); in handleEvent()
DScriptGCEvent.cpp47 JSGlobalData* globalData = JSDOMWindow::commonJSGlobalData(); in getHeapSize()
DScriptControllerMac.mm38 #import "JSDOMWindow.h"
151 JSDOMWindow* window = static_cast<JSDOMWindow*>(rootObject);
DDOMWrapperWorld.cpp80 static DOMWrapperWorld* cachedNormalWorld = normalWorld(*JSDOMWindow::commonJSGlobalData()); in mainThreadNormalWorld()
DJSCustomXPathNSResolver.cpp56 JSCustomXPathNSResolver::JSCustomXPathNSResolver(JSObject* customResolver, JSDOMWindow* globalObjec… in JSCustomXPathNSResolver()
DJSInjectedScriptManager.cpp103 JSDOMWindow* inspectedWindow = toJSDOMWindow(scriptState->lexicalGlobalObject()); in canAccessInspectedWindow()
DScheduledAction.cpp120 JSDOMWindow* window = toJSDOMWindow(document->frame(), m_isolatedWorld.get()); in execute()
/external/webkit/Source/WebKit/mac/Misc/
DWebCoreStatistics.mm43 #import <WebCore/JSDOMWindow.h>
62 return JSDOMWindow::commonJSGlobalData()->heap.objectCount();
68 return JSDOMWindow::commonJSGlobalData()->heap.globalObjectCount();
74 return JSDOMWindow::commonJSGlobalData()->heap.protectedObjectCount();
80 return JSDOMWindow::commonJSGlobalData()->heap.protectedGlobalObjectCount();
89 … OwnPtr<TypeCountSet> counts(JSDOMWindow::commonJSGlobalData()->heap.protectedObjectTypeCounts());
104 OwnPtr<TypeCountSet> counts(JSDOMWindow::commonJSGlobalData()->heap.objectTypeCounts());
200 size_t heapSize = JSDOMWindow::commonJSGlobalData()->heap.size();
201 size_t heapFree = JSDOMWindow::commonJSGlobalData()->heap.capacity() - heapSize;
244 return JSDOMWindow::commonJSGlobalData()->heap.protectedObjectCount();
/external/webkit/Source/WebKit/win/
DWebCoreStatistics.cpp102 *count = (UINT)JSDOMWindow::commonJSGlobalData()->heap.objectCount(); in javaScriptObjectsCount()
113 *count = (UINT)JSDOMWindow::commonJSGlobalData()->heap.globalObjectCount(); in javaScriptGlobalObjectsCount()
124 *count = (UINT)JSDOMWindow::commonJSGlobalData()->heap.protectedObjectCount(); in javaScriptProtectedObjectsCount()
135 *count = (UINT)JSDOMWindow::commonJSGlobalData()->heap.protectedGlobalObjectCount(); in javaScriptProtectedGlobalObjectsCount()
143 …OwnPtr<TypeCountSet> jsObjectTypeNames(JSDOMWindow::commonJSGlobalData()->heap.protectedObjectType… in javaScriptProtectedObjectTypeCounts()
DWebJavaScriptCollector.cpp115 *count = (UINT)JSDOMWindow::commonJSGlobalData()->heap.objectCount(); in objectCount()
/external/webkit/Source/WebKit2/Shared/mac/
DWebMemorySampler.mac.mm37 #import <WebCore/JSDOMWindow.h>
119 size_t jscHeapBytesInUse = JSDOMWindow::commonJSGlobalData()->heap.size();
120 size_t jscHeapBytesCommitted = JSDOMWindow::commonJSGlobalData()->heap.capacity();
/external/webkit/Source/WebKit/mac/WebView/
DWebScriptDebugger.mm40 #import <WebCore/JSDOMWindow.h>
77 JSDOMWindow* window = static_cast<JSDOMWindow*>(globalObject);
/external/webkit/Source/WebKit2/WebProcess/WebPage/
DWebFrame.cpp580 JSDOMWindow* globalObject = m_coreFrame->script()->globalObject(world->coreWorld()); in jsWrapperForWorld()
592 JSDOMWindow* globalObject = m_coreFrame->script()->globalObject(world->coreWorld()); in jsWrapperForWorld()
604 JSDOMWindow* globalObject = m_coreFrame->script()->globalObject(mainThreadNormalWorld()); in computedStyleIncludingVisitedInfo()

123