/external/webkit/Source/WebCore/bindings/v8/ |
H A D | WorkerScriptDebugServer.cpp | 74 void WorkerScriptDebugServer::addListener(ScriptDebugListener* listener, WorkerContext* workerContext) argument 86 m_listenersMap.set(workerContext, listener); 88 WorkerContextExecutionProxy* proxy = workerContext->script()->proxy(); 104 void WorkerScriptDebugServer::removeListener(ScriptDebugListener* listener, WorkerContext* workerContext) argument 106 if (!m_listenersMap.contains(workerContext)) 109 if (m_pausedWorkerContext == workerContext) 112 m_listenersMap.remove(workerContext); 120 WorkerContext* workerContext = retrieveWorkerContext(context); local 121 if (!workerContext) 123 return m_listenersMap.get(workerContext); 128 WorkerContext* workerContext = retrieveWorkerContext(context); local [all...] |
H A D | WorkerScriptController.cpp | 52 WorkerScriptController::WorkerScriptController(WorkerContext* workerContext) argument 53 : m_workerContext(workerContext) 54 , m_proxy(new WorkerContextExecutionProxy(workerContext)) 119 WorkerContext* workerContext = V8WorkerContext::toNative(global); 120 return workerContext->script();
|
H A D | WorkerScriptController.h | 52 WorkerContext* workerContext() { return m_workerContext; } function in class:WebCore::WorkerScriptController
|
H A D | ScheduledAction.cpp | 128 void ScheduledAction::execute(WorkerContext* workerContext) argument 131 ASSERT(workerContext->thread()->threadID() == currentThread()); 133 WorkerScriptController* scriptController = workerContext->script();
|
H A D | ScriptState.cpp | 119 ScriptState* scriptStateFromWorkerContext(WorkerContext* workerContext) argument 121 WorkerContextExecutionProxy* proxy = workerContext->script()->proxy();
|
/external/webkit/Source/WebCore/bindings/js/ |
H A D | JSWorkerContextBase.cpp | 64 JSValue toJS(ExecState* exec, JSDOMGlobalObject*, WorkerContext* workerContext) argument 66 return toJS(exec, workerContext); 69 JSValue toJS(ExecState*, WorkerContext* workerContext) argument 71 if (!workerContext) 73 WorkerScriptController* script = workerContext->script();
|
H A D | ScriptState.cpp | 90 ScriptState* scriptStateFromWorkerContext(WorkerContext* workerContext) argument 92 return workerContext->script()->workerContextWrapper()->globalExec();
|
H A D | ScheduledAction.cpp | 140 void ScheduledAction::execute(WorkerContext* workerContext) argument 143 ASSERT(workerContext->thread()->threadID() == currentThread()); 145 WorkerScriptController* scriptController = workerContext->script(); 149 executeFunctionInContext(contextWrapper, contextWrapper, workerContext); 151 ScriptSourceCode code(m_code, workerContext->url());
|
H A D | JSEventTarget.cpp | 147 if (DedicatedWorkerContext* workerContext = target->toDedicatedWorkerContext()) 148 return toJSDOMGlobalObject(workerContext, exec); 155 if (SharedWorkerContext* workerContext = target->toSharedWorkerContext()) 156 return toJSDOMGlobalObject(workerContext, exec);
|
/external/webkit/Source/WebCore/websockets/ |
H A D | ThreadableWebSocketChannel.cpp | 60 WorkerContext* workerContext = static_cast<WorkerContext*>(context); local 61 WorkerRunLoop& runLoop = workerContext->thread()->runLoop(); 64 return WorkerThreadableWebSocketChannel::create(workerContext, client, mode, url, protocol);
|
H A D | WorkerThreadableWebSocketChannel.h | 57 static PassRefPtr<ThreadableWebSocketChannel> create(WorkerContext* workerContext, WebSocketChannelClient* client, const String& taskMode, const KURL& url, const String& protocol) argument 59 return adoptRef(new WorkerThreadableWebSocketChannel(workerContext, client, taskMode, url, protocol)); 114 static PassRefPtr<Bridge> create(PassRefPtr<ThreadableWebSocketChannelClientWrapper> workerClientWrapper, PassRefPtr<WorkerContext> workerContext, const String& taskMode, const KURL& url, const String& protocol) argument 116 return adoptRef(new Bridge(workerClientWrapper, workerContext, taskMode, url, protocol));
|
/external/webkit/Source/WebKit/chromium/src/ |
H A D | WorkerAsyncFileWriterChromium.cpp | 53 WorkerAsyncFileWriterChromium::WorkerAsyncFileWriterChromium(WebFileSystem* webFileSystem, const String& path, WorkerContext* workerContext, AsyncFileWriterClient* client, WriterType type) argument 58 WorkerLoaderProxy* proxy = &workerContext->thread()->workerLoaderProxy(); 59 m_bridge = WorkerFileWriterCallbacksBridge::create(path, proxy, workerContext, client);
|
H A D | WebSharedWorkerImpl.cpp | 90 WorkerContext* workerContext = static_cast<WorkerContext*>(context); local 91 ASSERT(workerContext->isSharedWorkerContext()); 92 workerContext->toSharedWorkerContext()->dispatchEvent(createConnectEvent(port));
|
H A D | WebWorkerImpl.cpp | 85 DedicatedWorkerContext* workerContext = local 92 workerContext->dispatchEvent(MessageEvent::create( 94 thisPtr->confirmMessageFromWorkerObject(workerContext->hasPendingActivity());
|
H A D | DatabaseObserver.cpp | 61 WorkerContext* workerContext = static_cast<WorkerContext*>(scriptExecutionContext); local 62 WorkerLoaderProxy* workerLoaderProxy = &workerContext->thread()->workerLoaderProxy();
|
H A D | LocalFileSystemChromium.cpp | 77 WorkerContext* workerContext = static_cast<WorkerContext*>(context); local 78 WorkerLoaderProxy* workerLoaderProxy = &workerContext->thread()->workerLoaderProxy();
|
H A D | WorkerAsyncFileWriterChromium.h | 64 static PassOwnPtr<WorkerAsyncFileWriterChromium> create(WebKit::WebFileSystem* webFileSystem, const String& path, WorkerContext* workerContext, AsyncFileWriterClient* client, WriterType type) argument 66 return adoptPtr(new WorkerAsyncFileWriterChromium(webFileSystem, path, workerContext, client, type));
|
H A D | WebWorkerBase.cpp | 222 WorkerContext* workerContext = controller->workerContext(); local 231 if (runLoop.runInMode(workerContext, mode) == MessageQueueTerminated) { 244 WorkerContext* workerContext = controller->workerContext(); local 250 RefPtr<WorkerFileSystemCallbacksBridge> bridge = WorkerFileSystemCallbacksBridge::create(this, workerContext, callbacks); 254 if (runLoop.runInMode(workerContext, mode) == MessageQueueTerminated)
|
/external/webkit/Source/WebCore/inspector/ |
H A D | WorkerInspectorController.cpp | 55 WorkerRuntimeAgent(InjectedScriptManager* injectedScriptManager, WorkerContext* workerContext) argument 57 , m_workerContext(workerContext) { } 71 WorkerInspectorController::WorkerInspectorController(WorkerContext* workerContext) argument 72 : m_workerContext(workerContext) 77 , m_debuggerAgent(WorkerDebuggerAgent::create(m_instrumentingAgents.get(), m_state.get(), workerContext, m_injectedScriptManager.get())) 79 , m_runtimeAgent(adoptPtr(new WorkerRuntimeAgent(m_injectedScriptManager.get(), workerContext)))
|
/external/webkit/Source/WebCore/bindings/v8/custom/ |
H A D | V8DedicatedWorkerContextCustom.cpp | 48 DedicatedWorkerContext* workerContext = V8DedicatedWorkerContext::toNative(args.Holder()); local 59 workerContext->postMessage(message.release(), &portArray, ec);
|
H A D | V8WorkerContextCustom.cpp | 52 WorkerContext* workerContext = V8WorkerContext::toNative(args.Holder()); local 62 WorkerContextExecutionProxy* proxy = workerContext->script()->proxy(); 69 timerId = DOMTimer::install(workerContext, new ScheduledAction(v8Context, stringFunction, workerContext->url()), timeout, singleShot); 81 timerId = DOMTimer::install(workerContext, action, timeout, singleShot); 103 WorkerContext* workerContext = V8WorkerContext::toNative(args.Holder()); local 106 workerContext->importScripts(urls, ec);
|
/external/webkit/Source/WebCore/workers/ |
H A D | WorkerThread.cpp | 176 WorkerContext* workerContext = static_cast<WorkerContext*>(context); local 178 workerContext->clearScript(); 179 workerContext->thread()->runLoop().terminate(); 195 WorkerContext* workerContext = static_cast<WorkerContext*>(context); local 199 workerContext->stopDatabases(&cleanupSync); 202 workerContext->stopActiveDOMObjects(); 204 workerContext->notifyObserversOfStop(); 208 workerContext->removeAllEventListeners(); 218 workerContext->postTask(WorkerThreadShutdownFinishTask::create());
|
H A D | DedicatedWorkerThread.cpp | 65 m_workerObjectProxy.reportPendingActivity(workerContext()->hasPendingActivity());
|
/external/webkit/Source/WebCore/bindings/cpp/ |
H A D | WebDOMEventTarget.cpp | 175 if (WebCore::DedicatedWorkerContext* workerContext = value->toDedicatedWorkerContext()) 176 return toWebKit(workerContext); 183 if (WebCore::SharedWorkerContext* workerContext = value->toSharedWorkerContext()) 184 return toWebKit(workerContext);
|
/external/webkit/Source/WebCore/loader/ |
H A D | WorkerThreadableLoader.cpp | 57 WorkerThreadableLoader::WorkerThreadableLoader(WorkerContext* workerContext, ThreadableLoaderClient* client, const String& taskMode, const ResourceRequest& request, const ThreadableLoaderOptions& options) argument 58 : m_workerContext(workerContext) 60 , m_bridge(*(new MainThreadBridge(m_workerClientWrapper, m_workerContext->thread()->workerLoaderProxy(), taskMode, request, options, workerContext->url().strippedForUseAsReferrer()))) 69 void WorkerThreadableLoader::loadResourceSynchronously(WorkerContext* workerContext, const ResourceRequest& request, ThreadableLoaderClient& client, const ThreadableLoaderOptions& options) argument 71 WorkerRunLoop& runLoop = workerContext->thread()->runLoop(); 77 RefPtr<WorkerThreadableLoader> loader = WorkerThreadableLoader::create(workerContext, &client, mode, request, options); 80 result = runLoop.runInMode(workerContext, mode);
|