Home
last modified time | relevance | path

Searched refs:workerGlobalScope (Results 1 – 24 of 24) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/core/workers/
DWorkerThread.cpp132 ASSERT(m_workerThread->workerGlobalScope()); in OnTimeout()
133 if (m_sharedTimerFunction && m_running && !m_workerThread->workerGlobalScope()->isClosing()) in OnTimeout()
155 WorkerGlobalScope* workerGlobalScope = m_workerThread.workerGlobalScope(); in run() local
158 if (!workerGlobalScope) in run()
162 … InspectorInstrumentation::willPerformExecutionContextTask(workerGlobalScope, m_task.get()); in run()
163 … if ((!workerGlobalScope->isClosing() && !m_workerThread.terminated()) || m_task->isCleanupTask()) in run()
164 m_task->performTask(workerGlobalScope); in run()
166 InspectorInstrumentation::didPerformExecutionContextTask(workerGlobalScope); in run()
178 …InspectorInstrumentation::didPostExecutionContextTask(m_workerThread.workerGlobalScope(), m_task.g… in WorkerThreadTask()
282 InspectorInstrumentation::willEvaluateWorkerScript(workerGlobalScope(), startMode); in initialize()
[all …]
DDedicatedWorkerThread.cpp66 m_workerObjectProxy.reportPendingActivity(workerGlobalScope()->hasPendingActivity()); in postInitialize()
DWorkerGlobalScope.cpp74 WorkerGlobalScope* workerGlobalScope = toWorkerGlobalScope(context); in performTask() local
76 workerGlobalScope->thread()->workerReportingProxy().workerGlobalScopeClosed(); in performTask()
DWorkerThread.h90 WorkerGlobalScope* workerGlobalScope() const { return m_workerGlobalScope.get(); } in workerGlobalScope() function
/external/chromium_org/third_party/WebKit/Source/core/inspector/
DWorkerInspectorController.cpp63 …explicit PageInspectorProxy(WorkerGlobalScope* workerGlobalScope) : m_workerGlobalScope(workerGlob… in PageInspectorProxy() argument
91 WorkerInspectorController::WorkerInspectorController(WorkerGlobalScope* workerGlobalScope) in WorkerInspectorController() argument
92 : m_workerGlobalScope(workerGlobalScope) in WorkerInspectorController()
93 , m_stateClient(adoptPtr(new WorkerStateClient(workerGlobalScope))) in WorkerInspectorController()
97 , m_debugServer(adoptPtr(new WorkerScriptDebugServer(workerGlobalScope))) in WorkerInspectorController()
100 …WorkerRuntimeAgent::create(m_injectedScriptManager.get(), m_debugServer.get(), workerGlobalScope)); in WorkerInspectorController()
103 …kerDebuggerAgent = WorkerDebuggerAgent::create(m_debugServer.get(), workerGlobalScope, m_injectedS… in WorkerInspectorController()
109 …WorkerConsoleAgent::create(timelineAgent.get(), m_injectedScriptManager.get(), workerGlobalScope)); in WorkerInspectorController()
DInspectorInstrumentation.cpp224 InstrumentingAgents* instrumentingAgentsFor(WorkerGlobalScope* workerGlobalScope) in instrumentingAgentsFor() argument
226 if (!workerGlobalScope) in instrumentingAgentsFor()
228 return instrumentationForWorkerGlobalScope(workerGlobalScope); in instrumentingAgentsFor()
266 InstrumentingAgents* instrumentationForWorkerGlobalScope(WorkerGlobalScope* workerGlobalScope) in instrumentationForWorkerGlobalScope() argument
268 if (WorkerInspectorController* controller = workerGlobalScope->workerInspectorController()) in instrumentationForWorkerGlobalScope()
DWorkerConsoleAgent.cpp38 … timelineAgent, InjectedScriptManager* injectedScriptManager, WorkerGlobalScope* workerGlobalScope) in WorkerConsoleAgent() argument
40 , m_workerGlobalScope(workerGlobalScope) in WorkerConsoleAgent()
DWorkerConsoleAgent.h44 … timelineAgent, InjectedScriptManager* injectedScriptManager, WorkerGlobalScope* workerGlobalScope) in create() argument
46 …doptPtrWillBeNoop(new WorkerConsoleAgent(timelineAgent, injectedScriptManager, workerGlobalScope)); in create()
DWorkerRuntimeAgent.cpp44 … injectedScriptManager, ScriptDebugServer* scriptDebugServer, WorkerGlobalScope* workerGlobalScope) in WorkerRuntimeAgent() argument
46 , m_workerGlobalScope(workerGlobalScope) in WorkerRuntimeAgent()
/external/chromium_org/third_party/WebKit/Source/bindings/core/v8/custom/
DV8WorkerGlobalScopeCustom.cpp50 WorkerGlobalScope* workerGlobalScope = V8WorkerGlobalScope::toImpl(info.Holder()); in setTimeoutOrInterval() local
51 ASSERT(workerGlobalScope); in setTimeoutOrInterval()
59 WorkerScriptController* script = workerGlobalScope->script(); in setTimeoutOrInterval()
66 if (ContentSecurityPolicy* policy = workerGlobalScope->contentSecurityPolicy()) { in setTimeoutOrInterval()
90 timerId = DOMWindowTimers::setTimeout(*workerGlobalScope, action.release(), timeout); in setTimeoutOrInterval()
92 timerId = DOMWindowTimers::setInterval(*workerGlobalScope, action.release(), timeout); in setTimeoutOrInterval()
/external/chromium_org/third_party/WebKit/Source/core/loader/
DWorkerThreadableLoader.cpp54 WorkerThreadableLoader::WorkerThreadableLoader(WorkerGlobalScope& workerGlobalScope, PassRefPtr<Thr… in WorkerThreadableLoader() argument
55 : m_workerGlobalScope(&workerGlobalScope) in WorkerThreadableLoader()
57 …Wrapper, clientBridge, workerGlobalScope.thread()->workerLoaderProxy(), request, options, resource… in WorkerThreadableLoader()
66 void WorkerThreadableLoader::loadResourceSynchronously(WorkerGlobalScope& workerGlobalScope, const … in loadResourceSynchronously() argument
69 workerGlobalScope.thread()->shutdownEvent(); in loadResourceSynchronously()
83 …RefPtr<WorkerThreadableLoader> loader = WorkerThreadableLoader::create(workerGlobalScope, clientWr… in loadResourceSynchronously()
DThreadableLoader.cpp50 WorkerGlobalScope& workerGlobalScope = toWorkerGlobalScope(context); in create() local
52 …lient> clientBridge(WorkerLoaderClientBridge::create(clientWrapper, workerGlobalScope.thread()->wo… in create()
53 …return WorkerThreadableLoader::create(workerGlobalScope, clientWrapper, clientBridge.release(), re… in create()
DWorkerThreadableLoader.h56 …static PassRefPtr<WorkerThreadableLoader> create(WorkerGlobalScope& workerGlobalScope, PassRefPtr<… in create() argument
58 …return adoptRef(new WorkerThreadableLoader(workerGlobalScope, clientWrapper, clientBridge, request… in create()
/external/chromium_org/third_party/WebKit/Source/modules/performance/
DWorkerPerformance.cpp49 WorkerGlobalScope* workerGlobalScope = toWorkerGlobalScope(context); in now() local
50 return 1000.0 * (monotonicallyIncreasingTime() - workerGlobalScope->timeOrigin()); in now()
/external/chromium_org/third_party/WebKit/Source/web/
DIndexedDBClientImpl.cpp61 WorkerGlobalScope& workerGlobalScope = *toWorkerGlobalScope(context); in allowIndexedDB() local
62 return WorkerPermissionClient::from(workerGlobalScope)->allowIndexedDB(name); in allowIndexedDB()
DServiceWorkerGlobalScopeProxy.cpp144 void ServiceWorkerGlobalScopeProxy::workerGlobalScopeStarted(WorkerGlobalScope* workerGlobalScope) in workerGlobalScopeStarted() argument
147 m_workerGlobalScope = workerGlobalScope; in workerGlobalScopeStarted()
DWebSharedWorkerImpl.cpp333 WorkerGlobalScope* workerGlobalScope = toWorkerGlobalScope(context); in connectTask() local
334 ASSERT_WITH_SECURITY_IMPLICATION(workerGlobalScope->isSharedWorkerGlobalScope()); in connectTask()
335 workerGlobalScope->dispatchEvent(createConnectEvent(port.release())); in connectTask()
/external/chromium_org/third_party/WebKit/Source/modules/websockets/
DWebSocketChannel.cpp63 WorkerGlobalScope* workerGlobalScope = toWorkerGlobalScope(context); in create() local
64 …return WorkerThreadableWebSocketChannel::create(*workerGlobalScope, client, sourceURL, lineNumber); in create()
DWorkerThreadableWebSocketChannel.cpp112 …bSocketChannel::WorkerThreadableWebSocketChannel(WorkerGlobalScope& workerGlobalScope, WebSocketCh… in WorkerThreadableWebSocketChannel() argument
113 : m_bridge(new Bridge(client, workerGlobalScope)) in WorkerThreadableWebSocketChannel()
380 Bridge::Bridge(WebSocketChannelClient* client, WorkerGlobalScope& workerGlobalScope) in Bridge() argument
382 , m_workerGlobalScope(workerGlobalScope) in Bridge()
DWorkerThreadableWebSocketChannel.h58 …static WebSocketChannel* create(WorkerGlobalScope& workerGlobalScope, WebSocketChannelClient* clie… in create() argument
60 …doptRefCountedGarbageCollected(new WorkerThreadableWebSocketChannel(workerGlobalScope, client, sou… in create()
/external/chromium_org/third_party/WebKit/Source/bindings/core/v8/
DWorkerScriptDebugServer.cpp45 WorkerScriptDebugServer::WorkerScriptDebugServer(WorkerGlobalScope* workerGlobalScope) in WorkerScriptDebugServer() argument
48 , m_workerGlobalScope(workerGlobalScope) in WorkerScriptDebugServer()
DWorkerScriptController.cpp107 WorkerScriptController::WorkerScriptController(WorkerGlobalScope& workerGlobalScope) in WorkerScriptController() argument
109 , m_workerGlobalScope(workerGlobalScope) in WorkerScriptController()
/external/chromium_org/third_party/WebKit/Source/core/fileapi/
DFileReader.cpp102 WorkerGlobalScope* workerGlobalScope = toWorkerGlobalScope(context); in from() local
103 …st<ThrottlingController*>(WillBeHeapSupplement<WorkerClients>::from(workerGlobalScope->clients(), … in from()
108 …WillBeHeapSupplement<WorkerClients>::provideTo(*workerGlobalScope->clients(), supplementName(), ad… in from()
/external/chromium_org/third_party/WebKit/Source/core/fetch/
DMemoryCache.cpp588 WorkerGlobalScope* workerGlobalScope = toWorkerGlobalScope(context); in removeURLFromCache() local
589workerGlobalScope->thread()->workerLoaderProxy().postTaskToLoader(createCrossThreadTask(&removeURL… in removeURLFromCache()