Searched refs:world (Results 1 - 25 of 70) sorted by relevance

123

/external/webkit/WebKit/mac/WebView/
H A DWebScriptWorld.mm38 RefPtr<DOMWrapperWorld> world;
54 - (id)initWithWorld:(PassRefPtr<DOMWrapperWorld>)world
56 ASSERT_ARG(world, world);
57 if (!world)
65 _private->world = world;
67 ASSERT_ARG(world, !allWorlds().contains(_private->world.get()));
68 allWorlds().add(_private->world
[all...]
H A DWebScriptWorld.h35 + (WebScriptWorld *)world; variable
H A DWebScriptWorldInternal.h34 + (WebScriptWorld *)findOrCreateWorld:(WebCore::DOMWrapperWorld*)world;
H A DWebFrameLoadDelegatePrivate.h40 - (void)webView:(WebView *)webView didClearWindowObjectForFrame:(WebFrame *)frame inScriptWorld:(WebScriptWorld *)world;
H A DWebViewPrivate.h490 + (void)_addUserScriptToGroup:(NSString *)groupName world:(WebScriptWorld *)world source:(NSString *)source url:(NSURL *)url whitelist:(NSArray *)whitelist blacklist:(NSArray *)blacklist injectionTime:(WebUserScriptInjectionTime)injectionTime;
491 + (void)_addUserStyleSheetToGroup:(NSString *)groupName world:(WebScriptWorld *)world source:(NSString *)source url:(NSURL *)url whitelist:(NSArray *)whitelist blacklist:(NSArray *)blacklist;
492 + (void)_removeUserScriptFromGroup:(NSString *)groupName world:(WebScriptWorld *)world url:(NSURL *)url;
493 + (void)_removeUserStyleSheetFromGroup:(NSString *)groupName world:(WebScriptWorld *)world url:(NSURL *)url;
494 + (void)_removeUserScriptsFromGroup:(NSString *)groupName world:(WebScriptWorld *)world;
[all...]
H A DWebFramePrivate.h100 - (NSString *)_stringByEvaluatingJavaScriptFromString:(NSString *)string withGlobalObject:(JSObjectRef)globalObject inScriptWorld:(WebScriptWorld *)world;
101 - (JSGlobalContextRef)_globalContextForScriptWorld:(WebScriptWorld *)world;
/external/webkit/WebCore/bindings/js/
H A DScriptState.cpp47 ScriptState* scriptStateFromNode(DOMWrapperWorld* world, Node* node) argument
59 return frame->script()->globalObject(world)->globalExec();
62 ScriptState* scriptStateFromPage(DOMWrapperWorld* world, Page* page) argument
64 return page->mainFrame()->script()->globalObject(world)->globalExec();
H A DScriptController.h75 JSDOMWindowShell* windowShell(DOMWrapperWorld* world) argument
77 ShellMap::iterator iter = m_windowShells.find(world);
78 return (iter != m_windowShells.end()) ? iter->second.get() : initScript(world);
80 JSDOMWindowShell* existingWindowShell(DOMWrapperWorld* world) const
82 ShellMap::const_iterator iter = m_windowShells.find(world);
85 JSDOMWindow* globalObject(DOMWrapperWorld* world) argument
87 return windowShell(world)->window();
94 ScriptValue executeScriptInWorld(DOMWrapperWorld* world, const String& script, bool forceUserGesture = false);
163 JSDOMWindowShell* initScript(DOMWrapperWorld* world);
H A DJSDOMGlobalObject.cpp110 JSDOMGlobalObject* toJSDOMGlobalObject(Document* document, DOMWrapperWorld* world) argument
112 return toJSDOMWindow(document->frame(), world);
115 JSDOMGlobalObject* toJSDOMGlobalObject(ScriptExecutionContext* scriptExecutionContext, DOMWrapperWorld* world) argument
118 return toJSDOMGlobalObject(static_cast<Document*>(scriptExecutionContext), world);
H A DScriptController.cpp94 ScriptValue ScriptController::evaluateInWorld(const ScriptSourceCode& sourceCode, DOMWrapperWorld* world) argument
111 JSDOMWindowShell* shell = windowShell(world);
155 // An DOMWrapperWorld other than the thread's normal world.
206 JSDOMWindowShell* ScriptController::initScript(DOMWrapperWorld* world) argument
208 ASSERT(!m_windowShells.contains(world));
212 JSDOMWindowShell* windowShell = new JSDOMWindowShell(m_frame->domWindow(), world);
213 m_windowShells.add(world, windowShell);
221 m_frame->loader()->dispatchDidClearWindowObjectInWorld(world);
226 bool ScriptController::processingUserGesture(DOMWrapperWorld* world) const
228 return m_allowPopupsFromPlugin || processingUserGestureEvent(world) || isJavaScriptAnchorNavigatio
443 executeScriptInWorld(DOMWrapperWorld* world, const String& script, bool forceUserGesture) argument
[all...]
H A DJSDOMGlobalObject.h68 DOMWrapperWorld* world() { return d()->m_world.get(); } function in class:WebCore::JSDOMGlobalObject
75 JSDOMGlobalObjectData(DOMWrapperWorld* world, Destructor destructor = destroyJSDOMGlobalObjectData) argument
78 , m_world(world)
H A DScriptCachedFrameData.cpp83 DOMWrapperWorld* world = iter->first.get(); local
86 if (JSDOMWindow* window = m_windows.get(world))
H A DJSDOMWindowBase.cpp47 : JSDOMGlobalObjectData(shell->world(), destroyJSDOMWindowBaseData)
191 JSDOMWindow* toJSDOMWindow(Frame* frame, DOMWrapperWorld* world) argument
195 return frame->script()->windowShell(world)->window();
H A DJSDOMBinding.cpp83 inline JSWrapperCache* Document::getWrapperCache(DOMWrapperWorld* world) argument
85 if (world->isNormal()) {
88 ASSERT(!m_wrapperCacheMap.contains(world));
89 } else if (JSWrapperCache* wrapperCache = m_wrapperCacheMap.get(world))
91 return createWrapperCache(world);
284 // Check the normal world first!
341 void forgetWorldOfDOMNodesForDocument(Document* document, DOMWrapperWorld* world) argument
343 JSWrapperCache* wrappers = document->wrapperCacheMap().take(world);
344 ASSERT(wrappers); // 'world' should only know about 'document' if 'document' knows about 'world'!
348 isObservableThroughDOM(JSNode* jsNode, DOMWrapperWorld* world) argument
424 DOMWrapperWorld* world = wrappersIter->first; local
475 DOMWrapperWorld* world = *worldIter; local
[all...]
/external/webkit/WebKit/win/
H A DWebScriptWorld.cpp42 inline WebScriptWorld::WebScriptWorld(PassRefPtr<DOMWrapperWorld> world) argument
44 , m_world(world)
46 ASSERT_ARG(world, m_world);
48 ASSERT_ARG(world, !allWorlds().contains(m_world.get()));
75 COMPtr<WebScriptWorld> WebScriptWorld::createInstance(PassRefPtr<DOMWrapperWorld> world) argument
77 return new WebScriptWorld(world);
80 COMPtr<WebScriptWorld> WebScriptWorld::findOrCreateWorld(DOMWrapperWorld* world) argument
82 if (world == mainThreadNormalWorld())
85 if (WebScriptWorld* existingWorld = allWorlds().get(world))
88 return createInstance(world);
[all...]
H A DWebScriptWorld.h44 WebCore::DOMWrapperWorld* world() const { return m_world.get(); } function in class:WebScriptWorld
/external/webkit/WebCore/page/
H A DPageGroup.cpp294 void PageGroup::addUserScriptToWorld(DOMWrapperWorld* world, const String& source, const KURL& url, PassOwnPtr<Vector<String> > whitelist, argument
297 ASSERT_ARG(world, world);
302 UserScriptVector*& scriptsInWorld = m_userScripts->add(world, 0).first->second;
308 void PageGroup::addUserStyleSheetToWorld(DOMWrapperWorld* world, const String& source, const KURL& url, PassOwnPtr<Vector<String> > whitelist, argument
311 ASSERT_ARG(world, world);
316 UserStyleSheetVector*& styleSheetsInWorld = m_userStyleSheets->add(world, 0).first->second;
329 void PageGroup::removeUserScriptFromWorld(DOMWrapperWorld* world, const KURL& url) argument
331 ASSERT_ARG(world, worl
353 removeUserStyleSheetFromWorld(DOMWrapperWorld* world, const KURL& url) argument
389 removeUserScriptsFromWorld(DOMWrapperWorld* world) argument
404 removeUserStyleSheetsFromWorld(DOMWrapperWorld* world) argument
[all...]
/external/webkit/WebCore/bindings/v8/
H A DMainThreadDOMData.cpp58 return *context->world()->domDataStore();
H A DV8IsolatedContext.h49 // JavaScript. Each isolated world executes in parallel with the main
50 // JavaScript world. An isolated world has access to the same DOM data
51 // structures as the main world but none of the JavaScript pointers.
54 // worlds or between an isolated world and the main world. Because
56 // to avoid having pointers to the main world's DOM wrappers (which are
60 // Creates an isolated world. To destroy it, call destroy().
61 // This will delete the isolated world when the context it owns is GC'd.
65 // Call this to destroy the isolated world
95 IsolatedWorld* world() const { return m_world.get(); } function in class:WebCore::V8IsolatedContext
[all...]
/external/webkit/WebKitTools/DumpRenderTree/win/
H A DFrameLoadDelegate.cpp297 HRESULT FrameLoadDelegate::didClearWindowObjectForFrameInScriptWorld(IWebView* webView, IWebFrame* frame, IWebScriptWorld* world) argument
301 ASSERT_ARG(world, world);
302 if (!webView || !frame || !world)
306 if (FAILED(world->standardWorld(&standardWorld)))
309 if (world == standardWorld)
312 didClearWindowObjectForFrameInIsolatedWorld(frame, world);
316 void FrameLoadDelegate::didClearWindowObjectForFrameInIsolatedWorld(IWebFrame* frame, IWebScriptWorld* world) argument
322 JSGlobalContextRef ctx = framePrivate->globalContextForScriptWorld(world);
330 JSObjectSetProperty(ctx, globalObject, JSRetainPtr<JSStringRef>(Adopt, JSStringCreateWithUTF8CString("__worldID")).get(), JSValueMakeNumber(ctx, worldIDForWorld(world)), kJSPropertyAttributeReadOnl
[all...]
H A DLayoutTestControllerWin.cpp951 COMPtr<IWebScriptWorld> world;
952 if (FAILED(WebKitCreateInstance(__uuidof(WebScriptWorld), 0, __uuidof(world), reinterpret_cast<void**>(&world))))
955 webView->addUserScriptToGroup(_bstr_t(L"org.webkit.DumpRenderTree").GetBSTR(), world.get(), bstrT(source).GetBSTR(), 0, 0, 0, 0, 0, runAtStart ? WebInjectAtDocumentStart : WebInjectAtDocumentEnd);
965 COMPtr<IWebScriptWorld> world;
966 if (FAILED(WebKitCreateInstance(__uuidof(WebScriptWorld), 0, __uuidof(world), reinterpret_cast<void**>(&world))))
969 webView->addUserStyleSheetToGroup(_bstr_t(L"org.webkit.DumpRenderTree").GetBSTR(), world.get(), bstrT(source).GetBSTR(), 0, 0, 0, 0, 0);
1052 unsigned worldIDForWorld(IWebScriptWorld* world) argument
1056 if (it->second == world)
[all...]
/external/srec/srec/Semproc/src/
H A DSemanticProcessorImpl.c557 * expression is: meaning='hello';meaning=meaning+' '+'world';
560 * root.meaning='hello';root.meaning=root.meaning+' '+'world';
876 * expression is: meaning='hello';meaning=meaning+' '+'world';
879 * root.meaning='hello';root.meaning=root.meaning+' '+'world';
/external/clearsilver/cs/
H A Dtest3.cs38 echo a string: hellow world
39 <?cs call:echo("hello world") ?>
49 echo a string: hellow world
50 <?cs call:call_echo("hello world") ?>
65 echo a string: hellow world
66 <?cs call:call_echo2("hello world", "error") ?>
/external/webkit/WebKitTools/DumpRenderTree/mac/
H A DLayoutTestControllerMac.mm554 [WebView _addUserScriptToGroup:@"org.webkit.DumpRenderTree" world:[WebScriptWorld world] source:sourceNS url:nil whitelist:nil blacklist:nil injectionTime:(runAtStart ? WebInjectAtDocumentStart : WebInjectAtDocumentEnd)];
561 [WebView _addUserStyleSheetToGroup:@"org.webkit.DumpRenderTree" world:[WebScriptWorld world] source:sourceNS url:nil whitelist:nil blacklist:nil];
590 unsigned worldIDForWorld(WebScriptWorld *world)
594 if (it->second == world)
606 // A worldID of 0 always corresponds to a new world. Any other worldID corresponds to a world
608 WebScriptWorld *world;
610 world
[all...]
/external/quake/quake/src/QW/server/
H A Dmakefile21 world.o \

Completed in 336 milliseconds

123