/external/chromium_org/third_party/WebKit/Source/modules/performance/ |
WorkerPerformance.cpp | 35 #include "core/workers/WorkerGlobalScope.h" 53 WorkerGlobalScope* workerGlobalScope = toWorkerGlobalScope(context); 54 return 1000.0 * (monotonicallyIncreasingTime() - workerGlobalScope->timeOrigin());
|
/external/chromium_org/third_party/WebKit/Source/core/inspector/ |
WorkerInspectorController.cpp | 50 #include "core/workers/WorkerGlobalScope.h" 62 explicit PageInspectorProxy(WorkerGlobalScope* workerGlobalScope) : m_workerGlobalScope(workerGlobalScope) { } 70 WorkerGlobalScope* m_workerGlobalScope; 76 WorkerStateClient(WorkerGlobalScope* context) : m_workerGlobalScope(context) { } 85 WorkerGlobalScope* m_workerGlobalScope; 90 WorkerInspectorController::WorkerInspectorController(WorkerGlobalScope* workerGlobalScope) 91 : m_workerGlobalScope(workerGlobalScope) [all...] |
WorkerRuntimeAgent.cpp | 39 #include "core/workers/WorkerGlobalScope.h" 45 WorkerRuntimeAgent::WorkerRuntimeAgent(InstrumentingAgents* instrumentingAgents, InspectorCompositeState* state, InjectedScriptManager* injectedScriptManager, ScriptDebugServer* scriptDebugServer, WorkerGlobalScope* workerGlobalScope) 47 , m_workerGlobalScope(workerGlobalScope) 83 void WorkerRuntimeAgent::willEvaluateWorkerScript(WorkerGlobalScope* context, int workerThreadStartMode)
|
WorkerDebuggerAgent.cpp | 35 #include "core/workers/WorkerGlobalScope.h" 60 RunInspectorCommandsTask(WorkerThread* thread, WorkerGlobalScope* workerGlobalScope) 62 , m_workerGlobalScope(workerGlobalScope) { } 74 WorkerGlobalScope* m_workerGlobalScope; 81 PassOwnPtr<WorkerDebuggerAgent> WorkerDebuggerAgent::create(InstrumentingAgents* instrumentingAgents, InspectorCompositeState* inspectorState, WorkerScriptDebugServer* scriptDebugServer, WorkerGlobalScope* inspectedWorkerGlobalScope, InjectedScriptManager* injectedScriptManager) 86 WorkerDebuggerAgent::WorkerDebuggerAgent(InstrumentingAgents* instrumentingAgents, InspectorCompositeState* inspectorState, WorkerScriptDebugServer* scriptDebugServer, WorkerGlobalScope* inspectedWorkerGlobalScope, InjectedScriptManager* injectedScriptManager)
|
InspectorInstrumentation.cpp | 45 #include "core/workers/WorkerGlobalScope.h" 214 InstrumentingAgents* instrumentingAgentsFor(WorkerGlobalScope* workerGlobalScope) 216 if (!workerGlobalScope) 218 return instrumentationForWorkerGlobalScope(workerGlobalScope); 252 InstrumentingAgents* instrumentationForWorkerGlobalScope(WorkerGlobalScope* workerGlobalScope) 254 if (WorkerInspectorController* controller = workerGlobalScope->workerInspectorController())
|
/external/chromium_org/third_party/WebKit/Source/core/workers/ |
WorkerThread.cpp | 125 InspectorInstrumentation::willEvaluateWorkerScript(workerGlobalScope(), startMode); 160 WorkerGlobalScope* workerGlobalScope = toWorkerGlobalScope(context); 161 workerGlobalScope->clearInspector(); 163 workerGlobalScope->clearScript(); 178 WorkerGlobalScope* workerGlobalScope = toWorkerGlobalScope(context); 182 DatabaseManager::manager().stopDatabases(workerGlobalScope, &cleanupSync); 184 workerGlobalScope->stopActiveDOMObjects(); 186 workerGlobalScope->notifyObserversOfStop() [all...] |
DedicatedWorkerThread.cpp | 57 PassRefPtr<WorkerGlobalScope> DedicatedWorkerThread::createWorkerGlobalScope(PassOwnPtr<WorkerThreadStartupData> startupData) 65 m_workerObjectProxy.reportPendingActivity(workerGlobalScope()->hasPendingActivity());
|
WorkerThread.h | 42 class WorkerGlobalScope; 72 virtual PassRefPtr<WorkerGlobalScope> createWorkerGlobalScope(PassOwnPtr<WorkerThreadStartupData>) = 0; 77 WorkerGlobalScope* workerGlobalScope() { return m_workerGlobalScope.get(); } 90 RefPtr<WorkerGlobalScope> m_workerGlobalScope;
|
WorkerGlobalScope.cpp | 29 #include "core/workers/WorkerGlobalScope.h" 68 WorkerGlobalScope* workerGlobalScope = toWorkerGlobalScope(context); 70 workerGlobalScope->thread()->workerReportingProxy().workerGlobalScopeClosed(); 76 WorkerGlobalScope::WorkerGlobalScope(const KURL& url, const String& userAgent, WorkerThread* thread, double timeOrigin, PassOwnPtr<WorkerClients> workerClients) 92 // Notify proxy that a new WorkerGlobalScope has been created and started. 96 WorkerGlobalScope::~WorkerGlobalScope() 109 void WorkerGlobalScope::applyContentSecurityPolicyFromString(const String& policy, ContentSecurityPolicy::HeaderType cont (…) [all...] |
WorkerRunLoop.cpp | 35 #include "core/workers/WorkerGlobalScope.h" 54 WorkerGlobalScope* workerGlobalScope = toWorkerGlobalScope(context); 55 if ((!workerGlobalScope->isClosing() && !runLoop.terminated()) || m_task->isCleanupTask()) 135 RunLoopSetup(WorkerRunLoop& runLoop, WorkerGlobalScope* context) 154 WorkerGlobalScope* m_context; 157 void WorkerRunLoop::run(WorkerGlobalScope* context) 168 MessageQueueWaitResult WorkerRunLoop::runInMode(WorkerGlobalScope* context, const String& mode, WaitMode waitMode) 176 MessageQueueWaitResult WorkerRunLoop::runInMode(WorkerGlobalScope* context, const ModePredicate& predicate, WaitMode waitMode) 232 void WorkerRunLoop::runCleanupTasks(WorkerGlobalScope* context [all...] |
/external/chromium_org/third_party/WebKit/Source/bindings/v8/custom/ |
V8WorkerGlobalScopeCustom.cpp | 44 #include "core/workers/WorkerGlobalScope.h" 52 WorkerGlobalScope* workerGlobalScope = V8WorkerGlobalScope::toNative(info.Holder()); 60 WorkerScriptController* script = workerGlobalScope->script(); 67 if (ContentSecurityPolicy* policy = workerGlobalScope->contentSecurityPolicy()) { 73 action = adoptPtr(new ScheduledAction(v8Context, toCoreString(function.As<v8::String>()), workerGlobalScope->url(), info.GetIsolate())); 90 timerId = DOMWindowTimers::setTimeout(workerGlobalScope, action.release(), timeout); 92 timerId = DOMWindowTimers::setInterval(workerGlobalScope, action.release(), timeout); 107 v8::Handle<v8::Value> toV8(WorkerGlobalScope* impl, v8::Handle<v8::Object> creationContext, v8::Isolate* isolate) 109 // Notice that we explicitly ignore creationContext because the WorkerGlobalScope is its own creationContext [all...] |
V8DedicatedWorkerGlobalScopeCustom.cpp | 47 DedicatedWorkerGlobalScope* workerGlobalScope = V8DedicatedWorkerGlobalScope::toNative(info.Holder()); 55 throwTypeError(ExceptionMessages::failedToExecute("postMessage", "WorkerGlobalScope", ExceptionMessages::notAnArrayTypeArgumentOrValue(transferablesArgIndex + 1)), info.GetIsolate()); 64 workerGlobalScope->postMessage(message.release(), &ports, exceptionState);
|
/external/chromium_org/third_party/WebKit/Source/web/ |
DatabaseClientImpl.cpp | 40 #include "core/workers/WorkerGlobalScope.h" 73 WorkerGlobalScope* workerGlobalScope = toWorkerGlobalScope(executionContext); 74 return WorkerPermissionClient::from(workerGlobalScope)->allowDatabase(name, displayName, estimatedSize);
|
IDBFactoryBackendProxy.cpp | 39 #include "core/workers/WorkerGlobalScope.h" 67 WorkerGlobalScope* workerGlobalScope = toWorkerGlobalScope(context); 68 return WorkerPermissionClient::from(workerGlobalScope)->allowIndexedDB(name);
|
WebSharedWorkerImpl.cpp | 56 #include "core/workers/WorkerGlobalScope.h" 248 WorkerGlobalScope* workerGlobalScope = toWorkerGlobalScope(context); 249 ASSERT_WITH_SECURITY_IMPLICATION(workerGlobalScope->isSharedWorkerGlobalScope()); 250 workerGlobalScope->dispatchEvent(createConnectEvent(port));
|
/external/chromium_org/third_party/WebKit/Source/modules/websockets/ |
WebSocketChannel.cpp | 40 #include "core/workers/WorkerGlobalScope.h" 66 WorkerGlobalScope* workerGlobalScope = toWorkerGlobalScope(context); 67 WorkerRunLoop& runLoop = workerGlobalScope->thread()->runLoop(); 70 return WorkerThreadableWebSocketChannel::create(workerGlobalScope, client, mode, sourceURL, lineNumber);
|
WorkerThreadableWebSocketChannel.h | 35 #include "core/workers/WorkerGlobalScope.h" 53 class WorkerGlobalScope; 60 static PassRefPtr<WebSocketChannel> create(WorkerGlobalScope* workerGlobalScope, WebSocketChannelClient* client, const String& taskMode, const String& sourceURL, unsigned lineNumber) 62 return adoptRef(new WorkerThreadableWebSocketChannel(workerGlobalScope, client, taskMode, sourceURL, lineNumber)); 134 static PassRefPtr<Bridge> create(PassRefPtr<ThreadableWebSocketChannelClientWrapper> workerClientWrapper, PassRefPtr<WorkerGlobalScope> workerGlobalScope, const String& taskMode) 136 return adoptRef(new Bridge(workerClientWrapper, workerGlobalScope, taskMode)); 157 Bridge(PassRefPtr<ThreadableWebSocketChannelClientWrapper>, PassRefPtr<WorkerGlobalScope>, const String& taskMode); 174 RefPtr<WorkerGlobalScope> m_workerGlobalScope [all...] |
/external/chromium_org/third_party/WebKit/Source/core/loader/ |
WorkerThreadableLoader.h | 48 class WorkerGlobalScope; 56 static void loadResourceSynchronously(WorkerGlobalScope*, const ResourceRequest&, ThreadableLoaderClient&, const ThreadableLoaderOptions&); 57 static PassRefPtr<WorkerThreadableLoader> create(WorkerGlobalScope* workerGlobalScope, ThreadableLoaderClient* client, const String& taskMode, const ResourceRequest& request, const ThreadableLoaderOptions& options) 59 return adoptRef(new WorkerThreadableLoader(workerGlobalScope, client, taskMode, request, options)); 136 WorkerThreadableLoader(WorkerGlobalScope*, ThreadableLoaderClient*, const String& taskMode, const ResourceRequest&, const ThreadableLoaderOptions&); 138 RefPtr<WorkerGlobalScope> m_workerGlobalScope;
|
WorkerThreadableLoader.cpp | 38 #include "core/workers/WorkerGlobalScope.h" 54 WorkerThreadableLoader::WorkerThreadableLoader(WorkerGlobalScope* workerGlobalScope, ThreadableLoaderClient* client, const String& taskMode, const ResourceRequest& request, const ThreadableLoaderOptions& options) 55 : m_workerGlobalScope(workerGlobalScope) 57 , m_bridge(*(new MainThreadBridge(m_workerClientWrapper, m_workerGlobalScope->thread()->workerLoaderProxy(), taskMode, request, options, workerGlobalScope->url().strippedForUseAsReferrer()))) 66 void WorkerThreadableLoader::loadResourceSynchronously(WorkerGlobalScope* workerGlobalScope, const ResourceRequest& request, ThreadableLoaderClient& client, const ThreadableLoaderOptions& options) 68 WorkerRunLoop& runLoop = workerGlobalScope->thread()->runLoop(); 74 RefPtr<WorkerThreadableLoader> loader = WorkerThreadableLoader::create(workerGlobalScope, &client, mode, request, options); 77 result = runLoop.runInMode(workerGlobalScope, mode) [all...] |
/external/chromium_org/third_party/WebKit/Source/bindings/v8/ |
ScriptState.cpp | 40 #include "core/workers/WorkerGlobalScope.h" 116 ScriptState* scriptStateFromWorkerGlobalScope(WorkerGlobalScope* workerGlobalScope) 118 WorkerScriptController* script = workerGlobalScope->script();
|
WorkerScriptDebugServer.cpp | 37 #include "core/workers/WorkerGlobalScope.h" 45 WorkerScriptDebugServer::WorkerScriptDebugServer(WorkerGlobalScope* workerGlobalScope, const String& mode) 48 , m_workerGlobalScope(workerGlobalScope)
|
WorkerScriptController.cpp | 50 #include "core/workers/WorkerGlobalScope.h" 60 WorkerScriptController::WorkerScriptController(WorkerGlobalScope& workerGlobalScope) 61 : m_workerGlobalScope(workerGlobalScope) 136 V8DOMWrapper::associateObjectWithWrapper<V8WorkerGlobalScope>(PassRefPtr<WorkerGlobalScope>(m_workerGlobalScope), contextType, jsWorkerGlobalScope, isolate(), WrapperConfiguration::Dependent); 265 WorkerGlobalScope* workerGlobalScope = V8WorkerGlobalScope::toNative(global); 266 return workerGlobalScope->script();
|
WorkerScriptController.h | 52 class WorkerGlobalScope; 72 explicit WorkerScriptController(WorkerGlobalScope&); 75 WorkerGlobalScope& workerGlobalScope() { return m_workerGlobalScope; } 116 WorkerGlobalScope& m_workerGlobalScope;
|
V8Utilities.cpp | 45 #include "core/workers/WorkerGlobalScope.h" 176 return &controller->workerGlobalScope();
|
/external/chromium_org/third_party/WebKit/Source/core/fetch/ |
MemoryCache.cpp | 30 #include "core/workers/WorkerGlobalScope.h" 505 WorkerGlobalScope* workerGlobalScope = toWorkerGlobalScope(context); 506 workerGlobalScope->thread()->workerLoaderProxy().postTaskToLoader(createCallbackTask(&removeURLFromCacheInternal, url));
|