Home
last modified time | relevance | path

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

/external/webkit/Source/WebKit/win/
DWebScriptWorld.cpp35 typedef HashMap<DOMWrapperWorld*, WebScriptWorld*> WorldMap;
42 inline WebScriptWorld::WebScriptWorld(PassRefPtr<DOMWrapperWorld> world) in WebScriptWorld() function in WebScriptWorld
55 WebScriptWorld::~WebScriptWorld() in ~WebScriptWorld()
64 WebScriptWorld* WebScriptWorld::standardWorld() in standardWorld()
66 static WebScriptWorld* standardWorld = createInstance(mainThreadNormalWorld()).releaseRef(); in standardWorld()
70 COMPtr<WebScriptWorld> WebScriptWorld::createInstance() in createInstance()
75 COMPtr<WebScriptWorld> WebScriptWorld::createInstance(PassRefPtr<DOMWrapperWorld> world) in createInstance()
77 return new WebScriptWorld(world); in createInstance()
80 COMPtr<WebScriptWorld> WebScriptWorld::findOrCreateWorld(DOMWrapperWorld* world) in findOrCreateWorld()
85 if (WebScriptWorld* existingWorld = allWorlds().get(world)) in findOrCreateWorld()
[all …]
DWebScriptWorld.h35 class WebScriptWorld : public IWebScriptWorld {
36 WTF_MAKE_NONCOPYABLE(WebScriptWorld);
38 static WebScriptWorld* standardWorld();
39 static COMPtr<WebScriptWorld> createInstance();
41 static COMPtr<WebScriptWorld> findOrCreateWorld(WebCore::DOMWrapperWorld*);
49 static COMPtr<WebScriptWorld> createInstance(PassRefPtr<WebCore::DOMWrapperWorld>);
51 WebScriptWorld(PassRefPtr<WebCore::DOMWrapperWorld>);
52 ~WebScriptWorld();
DForEachCoClass.h66 macro(WebScriptWorld) \
DChangeLog354 * WebScriptWorld.h:
1722 * WebScriptWorld.cpp:
1723 (WebScriptWorld::unregisterWorld):
5125 * WebScriptWorld.cpp:
5126 (WebScriptWorld::unregisterWorld):
5127 * WebScriptWorld.h:
6513 * WebScriptWorld.cpp: Added missing #include.
6525 Add an API to obtain a WebScriptWorld from a JSGlobalContextRef.
6528 * WebScriptWorld.cpp:
6529 (WebScriptWorld::scriptWorldForGlobalContext):
[all …]
DWebFrame.cpp532 COMPtr<WebScriptWorld> world(Query, iWorld); in globalContextForScriptWorld()
1926 …Private->didClearWindowObjectForFrameInScriptWorld(d->webView, this, WebScriptWorld::findOrCreateW… in dispatchDidClearWindowObjectInWorld()
2542 COMPtr<WebScriptWorld> world(Query, iWorld); in stringByEvaluatingJavaScriptInScriptWorld()
DWebView.cpp6031 COMPtr<WebScriptWorld> world(Query, iWorld); in addUserScriptToGroup()
6056 COMPtr<WebScriptWorld> world(Query, iWorld); in addUserStyleSheetToGroup()
6078 COMPtr<WebScriptWorld> world(Query, iWorld); in removeUserScriptFromGroup()
6098 COMPtr<WebScriptWorld> world(Query, iWorld); in removeUserStyleSheetFromGroup()
6118 COMPtr<WebScriptWorld> world(Query, iWorld); in removeUserScriptsFromGroup()
6137 COMPtr<WebScriptWorld> world(Query, iWorld); in removeUserStyleSheetsFromGroup()
/external/webkit/Source/WebKit/mac/WebView/
DWebScriptWorld.mm25 #import "WebScriptWorld.h"
45 typedef HashMap<DOMWrapperWorld*, WebScriptWorld*> WorldMap;
52 @implementation WebScriptWorld implementation
93 + (WebScriptWorld *)standardWorld
95 static WebScriptWorld *world = [[WebScriptWorld alloc] initWithWorld:mainThreadNormalWorld()];
99 + (WebScriptWorld *)world
104 + (WebScriptWorld *)scriptWorldForGlobalContext:(JSGlobalContextRef)context
111 @implementation WebScriptWorld (WebInternal) implementation in WebInternal
113 DOMWrapperWorld* core(WebScriptWorld *world) category
118 + (WebScriptWorld *)findOrCreateWorld:(DOMWrapperWorld*) world
[all …]
DWebScriptWorld.h29 @interface WebScriptWorld : NSObject {
34 + (WebScriptWorld *)standardWorld;
35 + (WebScriptWorld *)world;
37 + (WebScriptWorld *)scriptWorldForGlobalContext:(JSGlobalContextRef)globalContext;
DWebScriptWorldInternal.h31 WebCore::DOMWrapperWorld* core(WebScriptWorld *);
33 @interface WebScriptWorld (WebInternal)
34 + (WebScriptWorld *)findOrCreateWorld:(WebCore::DOMWrapperWorld*)world;
DWebViewPrivate.h51 @class WebScriptWorld;
522 + (void)_addUserScriptToGroup:(NSString *)groupName world:(WebScriptWorld *)world source:(NSString …
523 + (void)_addUserStyleSheetToGroup:(NSString *)groupName world:(WebScriptWorld *)world source:(NSStr…
525 + (void)_addUserScriptToGroup:(NSString *)groupName world:(WebScriptWorld *)world source:(NSString …
526 + (void)_addUserStyleSheetToGroup:(NSString *)groupName world:(WebScriptWorld *)world source:(NSStr…
527 + (void)_removeUserScriptFromGroup:(NSString *)groupName world:(WebScriptWorld *)world url:(NSURL *…
528 + (void)_removeUserStyleSheetFromGroup:(NSString *)groupName world:(WebScriptWorld *)world url:(NSU…
529 + (void)_removeUserScriptsFromGroup:(NSString *)groupName world:(WebScriptWorld *)world;
530 + (void)_removeUserStyleSheetsFromGroup:(NSString *)groupName world:(WebScriptWorld *)world;
DWebFrameLoadDelegatePrivate.h31 @class WebScriptWorld;
40 …iew *)webView didClearWindowObjectForFrame:(WebFrame *)frame inScriptWorld:(WebScriptWorld *)world;
DWebFramePrivate.h42 @class WebScriptWorld;
98 …NSString *)string withGlobalObject:(JSObjectRef)globalObject inScriptWorld:(WebScriptWorld *)world;
99 - (JSGlobalContextRef)_globalContextForScriptWorld:(WebScriptWorld *)world;
DWebView.mm649 core(self)->group().addUserScriptToWorld(core([WebScriptWorld world]),
670 core(self)->group().addUserScriptToWorld(core([WebScriptWorld world]),
2585 + (void)_addUserScriptToGroup:(NSString *)groupName world:(WebScriptWorld *)world source:(NSString …
2592 + (void)_addUserScriptToGroup:(NSString *)groupName world:(WebScriptWorld *)world source:(NSString …
2610 + (void)_addUserStyleSheetToGroup:(NSString *)groupName world:(WebScriptWorld *)world source:(NSStr…
2616 + (void)_addUserStyleSheetToGroup:(NSString *)groupName world:(WebScriptWorld *)world source:(NSStr…
2631 + (void)_removeUserScriptFromGroup:(NSString *)groupName world:(WebScriptWorld *)world url:(NSURL *…
2644 + (void)_removeUserStyleSheetFromGroup:(NSString *)groupName world:(WebScriptWorld *)world url:(NSU…
2657 + (void)_removeUserScriptsFromGroup:(NSString *)groupName world:(WebScriptWorld *)world
2670 + (void)_removeUserStyleSheetsFromGroup:(NSString *)groupName world:(WebScriptWorld *)world
DWebFrame.mm1194 …String *)string withGlobalObject:(JSObjectRef)globalObjectRef inScriptWorld:(WebScriptWorld *)world
1222 - (JSGlobalContextRef)_globalContextForScriptWorld:(WebScriptWorld *)world
/external/webkit/Tools/DumpRenderTree/mac/
DDumpRenderTreeMac.h40 @class WebScriptWorld;
48 class WebScriptWorld; variable
69 unsigned worldIDForWorld(WebScriptWorld *);
DLayoutTestControllerMac.mm68 #import <WebKit/WebScriptWorld.h>
817 …[WebView _addUserScriptToGroup:@"org.webkit.DumpRenderTree" world:[WebScriptWorld world] source:so…
824 …[WebView _addUserStyleSheetToGroup:@"org.webkit.DumpRenderTree" world:[WebScriptWorld world] sourc…
854 typedef HashMap<unsigned, RetainPtr<WebScriptWorld> > WorldMap;
861 unsigned worldIDForWorld(WebScriptWorld *world)
879 WebScriptWorld *world;
881 world = [WebScriptWorld world];
883 RetainPtr<WebScriptWorld>& worldSlot = worldMap().add(worldID, 0).first->second;
885 worldSlot.adoptNS([[WebScriptWorld alloc] init]);
DFrameLoadDelegate.mm51 #import <WebKit/WebScriptWorld.h>
302 - (void)didClearWindowObjectForFrame:(WebFrame *)frame inIsolatedWorld:(WebScriptWorld *)world
315 …bView *)sender didClearWindowObjectForFrame:(WebFrame *)frame inScriptWorld:(WebScriptWorld *)world
317 if (world == [WebScriptWorld standardWorld])
/external/webkit/Tools/DumpRenderTree/win/
DLayoutTestControllerWin.cpp1175 …if (FAILED(WebKitCreateInstance(__uuidof(WebScriptWorld), 0, __uuidof(world), reinterpret_cast<voi… in addUserScript()
1189 …if (FAILED(WebKitCreateInstance(__uuidof(WebScriptWorld), 0, __uuidof(world), reinterpret_cast<voi… in addUserStyleSheet()
1298 …if (FAILED(WebKitCreateInstance(__uuidof(WebScriptWorld), 0, __uuidof(world), reinterpret_cast<voi… in evaluateScriptInIsolatedWorld()
1302 …if (!worldSlot && FAILED(WebKitCreateInstance(__uuidof(WebScriptWorld), 0, __uuidof(worldSlot), re… in evaluateScriptInIsolatedWorld()
/external/webkit/Source/WebKit/mac/
DWebKit.order616 +[WebScriptWorld world]
617 -[WebScriptWorld init]
618 -[WebScriptWorld initWithWorld:]
623 -[WebScriptWorld unregisterWorld]
624 -[WebScriptWorld dealloc]
777 +[WebScriptWorld(WebInternal) findOrCreateWorld:]
778 +[WebScriptWorld standardWorld]
DChangeLog-2010-01-29249 Add an API to obtain the WebScriptWorld for a given JSGlobalContextRef.
251 * WebView/WebScriptWorld.h:
252 * WebView/WebScriptWorld.mm:
253 (+[WebScriptWorld scriptWorldForGlobalContext:]):
1228 * WebView/WebScriptWorld.mm:
1231 (-[WebScriptWorld initWithWorld:]): Add ourselves to allWorlds().
1232 (-[WebScriptWorld dealloc]): Remove ourselves from allWorlds().
1233 (+[WebScriptWorld findOrCreateWorld:]): Returns the existing
1234 WebScriptWorld for this DOMWrapperWorld, or a new one if one doesn't
1259 Now takes a WebScriptWorld instead of a worldID, so we don't need to
[all …]
DChangeLog3156 * WebView/WebScriptWorld.mm:
3157 (-[WebScriptWorld unregisterWorld]):
9747 * WebView/WebScriptWorld.h:
9748 * WebView/WebScriptWorld.mm:
9749 (-[WebScriptWorld unregisterWorld]): Exported this function through WebKit.
/external/webkit/Source/WebKit/win/Interfaces/
DWebKit.idl285 coclass WebScriptWorld {
/external/webkit/Source/WebKit/WebKit.xcodeproj/
Dproject.pbxproj368 …7E810AC8E3100C925D9 /* WebScriptWorld.h in Headers */ = {isa = PBXBuildFile; fileRef = C0B1F7E510A…
369 …7E910AC8E3100C925D9 /* WebScriptWorld.mm in Sources */ = {isa = PBXBuildFile; fileRef = C0B1F7E610…
699 …E3100C925D9 /* WebScriptWorld.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType …
700 …0C925D9 /* WebScriptWorld.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = s…
1242 C0B1F7E510AC8E3100C925D9 /* WebScriptWorld.h */,
1243 C0B1F7E610AC8E3100C925D9 /* WebScriptWorld.mm */,
1614 C0B1F7E810AC8E3100C925D9 /* WebScriptWorld.h in Headers */,
1998 C0B1F7E910AC8E3100C925D9 /* WebScriptWorld.mm in Sources */,
/external/webkit/Source/WebKit/mac/WebCoreSupport/
DWebFrameLoaderClient.mm1968 …iew:didClearWindowObjectForFrame:inScriptWorld:), m_webFrame.get(), [WebScriptWorld findOrCreateWo…
/external/webkit/Source/WebKit/
DChangeLog2131 * WebKit.xcodeproj/project.pbxproj: Added WebScriptWorld to the project.