OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:workerGlobalScope
(Results
1 - 24
of
24
) sorted by null
/external/chromium_org/third_party/WebKit/Source/core/inspector/
WorkerConsoleAgent.cpp
34
#include "core/workers/
WorkerGlobalScope
.h"
38
WorkerConsoleAgent::WorkerConsoleAgent(InspectorTimelineAgent* timelineAgent, InjectedScriptManager* injectedScriptManager,
WorkerGlobalScope
*
workerGlobalScope
)
40
, m_workerGlobalScope(
workerGlobalScope
)
WorkerConsoleAgent.h
39
class
WorkerGlobalScope
;
44
static PassOwnPtrWillBeRawPtr<WorkerConsoleAgent> create(InspectorTimelineAgent* timelineAgent, InjectedScriptManager* injectedScriptManager,
WorkerGlobalScope
*
workerGlobalScope
)
46
return adoptPtrWillBeNoop(new WorkerConsoleAgent(timelineAgent, injectedScriptManager,
workerGlobalScope
));
56
WorkerConsoleAgent(InspectorTimelineAgent*, InjectedScriptManager*,
WorkerGlobalScope
*);
59
WorkerGlobalScope
* m_workerGlobalScope;
WorkerInspectorController.cpp
51
#include "core/workers/
WorkerGlobalScope
.h"
63
explicit PageInspectorProxy(
WorkerGlobalScope
*
workerGlobalScope
) : m_workerGlobalScope(
workerGlobalScope
) { }
71
WorkerGlobalScope
* m_workerGlobalScope;
77
WorkerStateClient(
WorkerGlobalScope
* context) : m_workerGlobalScope(context) { }
86
WorkerGlobalScope
* m_workerGlobalScope;
91
WorkerInspectorController::WorkerInspectorController(
WorkerGlobalScope
*
workerGlobalScope
)
92
: m_workerGlobalScope(
workerGlobalScope
)
[
all
...]
WorkerRuntimeAgent.cpp
39
#include "core/workers/
WorkerGlobalScope
.h"
44
WorkerRuntimeAgent::WorkerRuntimeAgent(InjectedScriptManager* injectedScriptManager, ScriptDebugServer* scriptDebugServer,
WorkerGlobalScope
*
workerGlobalScope
)
46
, m_workerGlobalScope(
workerGlobalScope
)
109
void WorkerRuntimeAgent::willEvaluateWorkerScript(
WorkerGlobalScope
* context, int workerThreadStartMode)
InspectorInstrumentation.cpp
49
#include "core/workers/
WorkerGlobalScope
.h"
224
InstrumentingAgents* instrumentingAgentsFor(
WorkerGlobalScope
*
workerGlobalScope
)
226
if (!
workerGlobalScope
)
228
return instrumentationForWorkerGlobalScope(
workerGlobalScope
);
266
InstrumentingAgents* instrumentationForWorkerGlobalScope(
WorkerGlobalScope
*
workerGlobalScope
)
268
if (WorkerInspectorController* controller =
workerGlobalScope
->workerInspectorController())
/external/chromium_org/third_party/WebKit/Source/modules/performance/
WorkerPerformance.cpp
36
#include "core/workers/
WorkerGlobalScope
.h"
49
WorkerGlobalScope
*
workerGlobalScope
= toWorkerGlobalScope(context);
50
return 1000.0 * (monotonicallyIncreasingTime() -
workerGlobalScope
->timeOrigin());
/external/chromium_org/third_party/WebKit/Source/web/
IndexedDBClientImpl.cpp
34
#include "core/workers/
WorkerGlobalScope
.h"
61
WorkerGlobalScope
&
workerGlobalScope
= *toWorkerGlobalScope(context);
62
return WorkerPermissionClient::from(
workerGlobalScope
)->allowIndexedDB(name);
ServiceWorkerGlobalScopeProxy.cpp
41
#include "core/workers/
WorkerGlobalScope
.h"
144
void ServiceWorkerGlobalScopeProxy::workerGlobalScopeStarted(
WorkerGlobalScope
*
workerGlobalScope
)
147
m_workerGlobalScope =
workerGlobalScope
;
WebSharedWorkerImpl.cpp
48
#include "core/workers/
WorkerGlobalScope
.h"
292
void WebSharedWorkerImpl::workerGlobalScopeStarted(
WorkerGlobalScope
*)
333
WorkerGlobalScope
*
workerGlobalScope
= toWorkerGlobalScope(context);
334
ASSERT_WITH_SECURITY_IMPLICATION(
workerGlobalScope
->isSharedWorkerGlobalScope());
335
workerGlobalScope
->dispatchEvent(createConnectEvent(port.release()));
/external/chromium_org/third_party/WebKit/Source/core/workers/
WorkerThread.cpp
132
ASSERT(m_workerThread->
workerGlobalScope
());
133
if (m_sharedTimerFunction && m_running && !m_workerThread->
workerGlobalScope
()->isClosing())
155
WorkerGlobalScope
*
workerGlobalScope
= m_workerThread.
workerGlobalScope
();
158
if (!
workerGlobalScope
)
162
InspectorInstrumentation::willPerformExecutionContextTask(
workerGlobalScope
, m_task.get());
163
if ((!
workerGlobalScope
->isClosing() && !m_workerThread.terminated()) || m_task->isCleanupTask())
164
m_task->performTask(
workerGlobalScope
);
166
InspectorInstrumentation::didPerformExecutionContextTask(
workerGlobalScope
);
[
all
...]
DedicatedWorkerThread.cpp
57
PassRefPtrWillBeRawPtr<
WorkerGlobalScope
> DedicatedWorkerThread::createWorkerGlobalScope(PassOwnPtrWillBeRawPtr<WorkerThreadStartupData> startupData)
66
m_workerObjectProxy.reportPendingActivity(
workerGlobalScope
()->hasPendingActivity());
WorkerThread.h
32
#include "core/workers/
WorkerGlobalScope
.h"
49
class
WorkerGlobalScope
;
90
WorkerGlobalScope
*
workerGlobalScope
() const { return m_workerGlobalScope.get(); }
105
virtual PassRefPtrWillBeRawPtr<
WorkerGlobalScope
> createWorkerGlobalScope(PassOwnPtrWillBeRawPtr<WorkerThreadStartupData>) = 0;
133
RefPtrWillBePersistent<
WorkerGlobalScope
> m_workerGlobalScope;
WorkerGlobalScope.cpp
29
#include "core/workers/
WorkerGlobalScope
.h"
74
WorkerGlobalScope
*
workerGlobalScope
= toWorkerGlobalScope(context);
76
workerGlobalScope
->thread()->workerReportingProxy().workerGlobalScopeClosed();
82
WorkerGlobalScope
::
WorkerGlobalScope
(const KURL& url, const String& userAgent, WorkerThread* thread, double timeOrigin, PassOwnPtrWillBeRawPtr<WorkerClients> workerClients)
99
WorkerGlobalScope
::~
WorkerGlobalScope
()
103
void
WorkerGlobalScope
::applyContentSecurityPolicyFromString(const String& policy, ContentSecurityPolicyHeaderType contentSecurityPolicyType)
112
ExecutionContext*
WorkerGlobalScope
::executionContext() cons
[
all
...]
/external/chromium_org/third_party/WebKit/Source/bindings/core/v8/custom/
V8WorkerGlobalScopeCustom.cpp
43
#include "core/workers/
WorkerGlobalScope
.h"
50
WorkerGlobalScope
*
workerGlobalScope
= V8WorkerGlobalScope::toImpl(info.Holder());
51
ASSERT(
workerGlobalScope
);
59
WorkerScriptController* script =
workerGlobalScope
->script();
66
if (ContentSecurityPolicy* policy =
workerGlobalScope
->contentSecurityPolicy()) {
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
...]
/external/chromium_org/third_party/WebKit/Source/modules/websockets/
WebSocketChannel.cpp
39
#include "core/workers/
WorkerGlobalScope
.h"
63
WorkerGlobalScope
*
workerGlobalScope
= toWorkerGlobalScope(context);
64
return WorkerThreadableWebSocketChannel::create(*
workerGlobalScope
, client, sourceURL, lineNumber);
WorkerThreadableWebSocketChannel.h
52
class
WorkerGlobalScope
;
58
static WebSocketChannel* create(
WorkerGlobalScope
&
workerGlobalScope
, WebSocketChannelClient* client, const String& sourceURL, unsigned lineNumber)
60
return adoptRefCountedGarbageCollected(new WorkerThreadableWebSocketChannel(
workerGlobalScope
, client, sourceURL, lineNumber));
130
Bridge(WebSocketChannelClient*,
WorkerGlobalScope
&);
154
RefPtrWillBeMember<
WorkerGlobalScope
> m_workerGlobalScope;
161
WorkerThreadableWebSocketChannel(
WorkerGlobalScope
&, WebSocketChannelClient*, const String& sourceURL, unsigned lineNumber);
WorkerThreadableWebSocketChannel.cpp
43
#include "core/workers/
WorkerGlobalScope
.h"
112
WorkerThreadableWebSocketChannel::WorkerThreadableWebSocketChannel(
WorkerGlobalScope
&
workerGlobalScope
, WebSocketChannelClient* client, const String& sourceURL, unsigned lineNumber)
113
: m_bridge(new Bridge(client,
workerGlobalScope
))
380
Bridge::Bridge(WebSocketChannelClient* client,
WorkerGlobalScope
&
workerGlobalScope
)
382
, m_workerGlobalScope(
workerGlobalScope
)
/external/chromium_org/third_party/WebKit/Source/core/loader/
ThreadableLoader.cpp
40
#include "core/workers/
WorkerGlobalScope
.h"
50
WorkerGlobalScope
&
workerGlobalScope
= toWorkerGlobalScope(context);
52
OwnPtr<ThreadableLoaderClient> clientBridge(WorkerLoaderClientBridge::create(clientWrapper,
workerGlobalScope
.thread()->workerLoaderProxy()));
53
return WorkerThreadableLoader::create(
workerGlobalScope
, clientWrapper, clientBridge.release(), request, options, resourceLoaderOptions);
WorkerThreadableLoader.cpp
39
#include "core/workers/
WorkerGlobalScope
.h"
54
WorkerThreadableLoader::WorkerThreadableLoader(
WorkerGlobalScope
&
workerGlobalScope
, PassRefPtr<ThreadableLoaderClientWrapper> clientWrapper, PassOwnPtr<ThreadableLoaderClient> clientBridge, const ResourceRequest& request, const ThreadableLoaderOptions& options, const ResourceLoaderOptions& resourceLoaderOptions)
55
: m_workerGlobalScope(&
workerGlobalScope
)
57
, m_bridge(*(new MainThreadBridge(m_workerClientWrapper, clientBridge,
workerGlobalScope
.thread()->workerLoaderProxy(), request, options, resourceLoaderOptions,
workerGlobalScope
.url().strippedForUseAsReferrer())))
66
void WorkerThreadableLoader::loadResourceSynchronously(
WorkerGlobalScope
&
workerGlobalScope
, const ResourceRequest& request, ThreadableLoaderClient& client, const ThreadableLoaderOptions& options, const ResourceLoaderOptions& resourceLoaderOptions)
69
workerGlobalScope
.thread()->shutdownEvent();
83
RefPtr<WorkerThreadableLoader> loader = WorkerThreadableLoader::create(
workerGlobalScope
, clientWrapper, clientBridge.release(), request, options, resourceLoaderOptions)
[
all
...]
WorkerThreadableLoader.h
48
class
WorkerGlobalScope
;
55
static void loadResourceSynchronously(
WorkerGlobalScope
&, const ResourceRequest&, ThreadableLoaderClient&, const ThreadableLoaderOptions&, const ResourceLoaderOptions&);
56
static PassRefPtr<WorkerThreadableLoader> create(
WorkerGlobalScope
&
workerGlobalScope
, PassRefPtr<ThreadableLoaderClientWrapper> clientWrapper, PassOwnPtr<ThreadableLoaderClient> clientBridge, const ResourceRequest& request, const ThreadableLoaderOptions& options, const ResourceLoaderOptions& resourceLoaderOptions)
58
return adoptRef(new WorkerThreadableLoader(
workerGlobalScope
, clientWrapper, clientBridge, request, options, resourceLoaderOptions));
128
WorkerThreadableLoader(
WorkerGlobalScope
&, PassRefPtr<ThreadableLoaderClientWrapper>, PassOwnPtr<ThreadableLoaderClient>, const ResourceRequest&, const ThreadableLoaderOptions&, const ResourceLoaderOptions&);
130
RefPtrWillBePersistent<
WorkerGlobalScope
> m_workerGlobalScope;
/external/chromium_org/third_party/WebKit/Source/bindings/core/v8/
WorkerScriptDebugServer.cpp
37
#include "core/workers/
WorkerGlobalScope
.h"
45
WorkerScriptDebugServer::WorkerScriptDebugServer(
WorkerGlobalScope
*
workerGlobalScope
)
48
, m_workerGlobalScope(
workerGlobalScope
)
WorkerScriptController.cpp
51
#include "core/workers/
WorkerGlobalScope
.h"
107
WorkerScriptController::WorkerScriptController(
WorkerGlobalScope
&
workerGlobalScope
)
109
, m_workerGlobalScope(
workerGlobalScope
)
/external/chromium_org/third_party/WebKit/Source/core/fileapi/
FileReader.cpp
44
#include "core/workers/
WorkerGlobalScope
.h"
102
WorkerGlobalScope
*
workerGlobalScope
= toWorkerGlobalScope(context);
103
ThrottlingController* controller = static_cast<ThrottlingController*>(WillBeHeapSupplement<WorkerClients>::from(
workerGlobalScope
->clients(), supplementName()));
108
WillBeHeapSupplement<WorkerClients>::provideTo(*
workerGlobalScope
->clients(), supplementName(), adoptPtrWillBeNoop(controller));
/external/chromium_org/third_party/WebKit/Source/core/fetch/
MemoryCache.cpp
29
#include "core/workers/
WorkerGlobalScope
.h"
588
WorkerGlobalScope
*
workerGlobalScope
= toWorkerGlobalScope(context);
589
workerGlobalScope
->thread()->workerLoaderProxy().postTaskToLoader(createCrossThreadTask(&removeURLFromCacheInternal, url));
Completed in 1971 milliseconds