/external/chromium_org/third_party/WebKit/Source/modules/serviceworkers/ |
FetchManager.cpp | 29 Loader(ExecutionContext*, FetchManager*, PassRefPtr<ScriptPromiseResolver>, const FetchRequestData*); 48 ExecutionContext* m_executionContext; 60 FetchManager::Loader::Loader(ExecutionContext* executionContext, FetchManager* fetchManager, PassRefPtr<ScriptPromiseResolver> resolver, const FetchRequestData* request) 61 : m_executionContext(executionContext) 85 if (!m_resolver->executionContext() || m_resolver->executionContext()->activeDOMObjectsAreStopped()) 115 m_resolver->resolve(Response::create(m_resolver->executionContext(), response)); 327 if (!m_resolver->executionContext() || m_resolver->executionContext()->activeDOMObjectsAreStopped() [all...] |
ServiceWorker.cpp | 83 void ServiceWorker::postMessage(ExecutionContext*, PassRefPtr<SerializedScriptValue> message, const MessagePortArray* ports, ExceptionState& exceptionState) 153 PassRefPtrWillBeRawPtr<ServiceWorker> ServiceWorker::from(ExecutionContext* executionContext, WebType* worker) 158 RefPtrWillBeRawPtr<ServiceWorker> serviceWorker = getOrCreate(executionContext, worker); 169 RefPtrWillBeRawPtr<ServiceWorker> serviceWorker = getOrCreate(resolver->scriptState()->executionContext(), worker); 240 PassRefPtrWillBeRawPtr<ServiceWorker> ServiceWorker::getOrCreate(ExecutionContext* executionContext, WebType* outerWorker) 248 ASSERT(existingServiceWorker->executionContext() == executionContext); 252 RefPtrWillBeRawPtr<ServiceWorker> worker = adoptRefWillBeNoop(new ServiceWorker(executionContext, adoptPtr(outerWorker))) [all...] |
Cache.cpp | 42 m_resolver->resolve(Response::create(m_resolver->scriptState()->executionContext(), *webResponse)); 67 responses.append(Response::create(m_resolver->scriptState()->executionContext(), (*webResponses)[i])); 93 requests.append(Request::create(m_resolver->scriptState()->executionContext(), (*webRequests)[i])); 128 Request* request = Request::create(scriptState->executionContext(), originalRequest, exceptionState); 139 Request* request = Request::create(scriptState->executionContext(), requestString, exceptionState); 150 Request* request = Request::create(scriptState->executionContext(), originalRequest, exceptionState); 161 Request* request = Request::create(scriptState->executionContext(), requestString, exceptionState); 172 Request* request = Request::create(scriptState->executionContext(), originalRequest, exceptionState); 183 Request* request = Request::create(scriptState->executionContext(), requestString, exceptionState); 200 Request* request = Request::create(scriptState->executionContext(), originalRequest, exceptionState) [all...] |
ServiceWorkerRegistration.h | 36 virtual ExecutionContext* executionContext() const OVERRIDE { return ActiveDOMObject::executionContext(); } 46 static ServiceWorkerRegistration* from(ExecutionContext*, WebType* registration); 63 static ServiceWorkerRegistration* getOrCreate(ExecutionContext*, WebServiceWorkerRegistration*); 64 ServiceWorkerRegistration(ExecutionContext*, PassOwnPtr<WebServiceWorkerRegistration>);
|
/external/chromium_org/third_party/WebKit/Source/bindings/core/v8/ |
V8CustomElementLifecycleCallbacks.cpp | 41 #include "core/dom/ExecutionContext.h" 94 , ContextLifecycleObserver(scriptState->executionContext()) 115 if (!executionContext()) 156 if (!executionContext() || executionContext()->activeDOMObjectsAreStopped()) 190 ScriptController::callFunction(executionContext(), callback, receiver, 0, 0, isolate); 208 if (!executionContext() || executionContext()->activeDOMObjectsAreStopped()) 233 ScriptController::callFunction(executionContext(), callback, receiver, WTF_ARRAY_LENGTH(argv), argv, isolate); 241 if (!executionContext() || executionContext()->activeDOMObjectsAreStopped() [all...] |
V8MutationCallback.cpp | 34 #include "core/dom/ExecutionContext.h" 40 : ActiveDOMCallback(scriptState->executionContext()) 76 ScriptController::callFunction(executionContext(), m_callback.newLocal(isolate), thisObject, WTF_ARRAY_LENGTH(argv), argv, isolate);
|
V8AbstractEventListener.cpp | 76 void V8AbstractEventListener::handleEvent(ExecutionContext*, Event* event) 80 if (!scriptState()->executionContext()) 83 if (scriptState()->executionContext()->isJSExecutionForbidden()) 133 if (scriptState()->executionContext()->isWorkerGlobalScope()) 134 toWorkerGlobalScope(scriptState()->executionContext())->script()->forbidExecution();
|
/external/chromium_org/third_party/WebKit/Source/core/page/ |
EventSource.cpp | 41 #include "core/dom/ExecutionContext.h" 62 inline EventSource::EventSource(ExecutionContext* context, const KURL& url, const EventSourceInit& eventSourceInit) 75 PassRefPtrWillBeRawPtr<EventSource> EventSource::create(ExecutionContext* context, const String& url, const EventSourceInit& eventSourceInit, ExceptionState& exceptionState) 126 ASSERT(executionContext()); 128 ExecutionContext& executionContext = *this->executionContext(); 137 SecurityOrigin* origin = executionContext.securityOrigin(); 142 options.contentSecurityPolicyEnforcement = ContentSecurityPolicy::shouldBypassMainWorld(&executionContext) ? DoNotEnforceContentSecurityPolicy : EnforceConnectSrcDirective; 151 m_loader = ThreadableLoader::create(executionContext, this, request, options, resourceLoaderOptions) [all...] |
/external/chromium_org/third_party/WebKit/Source/core/dom/ |
MessagePort.h | 47 class ExecutionContext; 64 static PassRefPtrWillBeRawPtr<MessagePort> create(ExecutionContext&); 67 void postMessage(ExecutionContext*, PassRefPtr<SerializedScriptValue> message, const MessagePortArray*, ExceptionState&); 76 static PassOwnPtrWillBeRawPtr<MessagePortArray> toMessagePortArray(ExecutionContext*, const WebMessagePortChannelArray&); 82 static PassOwnPtrWillBeRawPtr<MessagePortArray> entanglePorts(ExecutionContext&, PassOwnPtr<MessagePortChannelArray>); 87 virtual ExecutionContext* executionContext() const OVERRIDE { return ActiveDOMObject::executionContext(); } 108 explicit MessagePort(ExecutionContext&);
|
MutationObserver.cpp | 75 InspectorInstrumentation::didClearAllMutationRecords(m_callback->executionContext(), this); 142 InspectorInstrumentation::didClearAllMutationRecords(m_callback->executionContext(), this); 149 InspectorInstrumentation::didClearAllMutationRecords(m_callback->executionContext(), this); 193 InspectorInstrumentation::didEnqueueMutationRecord(m_callback->executionContext(), this); 212 return !m_callback->executionContext()->activeDOMObjectsAreSuspended(); 235 InspectorInstrumentation::willDeliverMutationRecords(m_callback->executionContext(), this); 237 InspectorInstrumentation::didDeliverMutationRecords(m_callback->executionContext());
|
ContextLifecycleNotifier.cpp | 31 #include "core/dom/ExecutionContext.h" 36 ContextLifecycleNotifier::ContextLifecycleNotifier(ExecutionContext* context) 37 : LifecycleNotifier<ExecutionContext>(context) 47 LifecycleNotifier<ExecutionContext>::addObserver(observer); 58 LifecycleNotifier<ExecutionContext>::removeObserver(observer); 79 ASSERT((*iter)->executionContext() == context()); 95 ASSERT((*iter)->executionContext() == context()); 111 ASSERT((*iter)->executionContext() == context());
|
/external/chromium_org/third_party/WebKit/Source/core/workers/ |
WorkerGlobalScope.cpp | 72 virtual void performTask(ExecutionContext *context) 108 csp->bindToExecutionContext(executionContext()); 112 ExecutionContext* WorkerGlobalScope::executionContext() const 218 ASSERT(executionContext()); 220 ExecutionContext& executionContext = *this->executionContext(); 225 const KURL& url = executionContext.completeURL(*it); 241 scriptLoader->loadSynchronously(executionContext, *it, AllowCrossOriginRequests) [all...] |
/external/chromium_org/third_party/WebKit/Source/core/xml/ |
XMLHttpRequestUpload.cpp | 48 ExecutionContext* XMLHttpRequestUpload::executionContext() const 50 return m_xmlHttpRequest->executionContext();
|
XMLHttpRequest.cpp | 99 static void logConsoleError(ExecutionContext* context, const String& message) 136 PassRefPtrWillBeRawPtr<XMLHttpRequest> XMLHttpRequest::create(ExecutionContext* context, PassRefPtr<SecurityOrigin> securityOrigin) 144 XMLHttpRequest::XMLHttpRequest(ExecutionContext* context, PassRefPtr<SecurityOrigin> securityOrigin) 179 ASSERT(executionContext()->isDocument()); 180 return toDocument(executionContext()); 185 return m_securityOrigin ? m_securityOrigin.get() : executionContext()->securityOrigin(); 220 || executionContext()->isWorkerGlobalScope()) { 353 if (executionContext()->isDocument() && !m_async) { 378 if (!m_async && executionContext()->isDocument()) { 472 if (!executionContext()) [all...] |
/external/chromium_org/third_party/WebKit/Source/modules/battery/ |
BatteryManager.h | 25 static BatteryManager* create(ExecutionContext*); 32 virtual ExecutionContext* executionContext() const OVERRIDE { return ContextLifecycleObserver::executionContext(); } 66 explicit BatteryManager(ExecutionContext*);
|
/external/chromium_org/third_party/WebKit/Source/modules/filesystem/ |
FileWriter.h | 35 #include "core/dom/ExecutionContext.h" 47 class ExecutionContext; 54 static FileWriter* create(ExecutionContext*); 80 virtual ExecutionContext* executionContext() const OVERRIDE { return ActiveDOMObject::executionContext(); } 99 FileWriter(ExecutionContext*);
|
/external/chromium_org/third_party/WebKit/Source/web/ |
WebUserMediaRequest.cpp | 86 ASSERT(!isNull() && m_private->executionContext()); 87 return WebSecurityOrigin(m_private->executionContext()->securityOrigin());
|
/external/chromium_org/third_party/WebKit/Source/bindings/tests/results/core/ |
V8TestInterfaceConstructor.cpp | 41 ExecutionContext* executionContext = currentExecutionContext(info.GetIsolate()); 43 RefPtr<TestInterfaceConstructor> impl = TestInterfaceConstructor::create(executionContext, document, exceptionState); 84 ExecutionContext* executionContext = currentExecutionContext(info.GetIsolate()); 86 RefPtr<TestInterfaceConstructor> impl = TestInterfaceConstructor::create(executionContext, document, doubleArg, stringArg, testInterfaceEmptyArg, dictionaryArg, sequenceStringArg, sequenceDictionaryArg, optionalDictionaryArg, optionalTestInterfaceEmptyArg, exceptionState); 104 ExecutionContext* executionContext = currentExecutionContext(info.GetIsolate()); 106 RefPtr<TestInterfaceConstructor> impl = TestInterfaceConstructor::create(executionContext, document, arg, exceptionState); 118 ExecutionContext* executionContext = currentExecutionContext(info.GetIsolate()) [all...] |
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/components/ |
ExecutionContextSelector.js | 12 WebInspector.context.addFlavorChangeListener(WebInspector.ExecutionContext, this._executionContextChanged, this); 39 var currentExecutionContext = WebInspector.context.flavor(WebInspector.ExecutionContext); 53 var newContext = /** @type {?WebInspector.ExecutionContext} */ (event.data); 64 var currentContext = WebInspector.context.flavor(WebInspector.ExecutionContext); 78 WebInspector.context.setFlavor(WebInspector.ExecutionContext, newContext); 86 var executionContext = /** @type {!WebInspector.ExecutionContext}*/ (event.data); 87 if (!WebInspector.context.flavor(WebInspector.ExecutionContext)) 88 WebInspector.context.setFlavor(WebInspector.ExecutionContext, executionContext); [all...] |
/external/chromium_org/third_party/WebKit/Source/modules/indexeddb/ |
IDBRequest.cpp | 35 #include "core/dom/ExecutionContext.h" 61 : ActiveDOMObject(scriptState->executionContext()) 80 ASSERT(m_readyState == DONE || m_readyState == EarlyDeath || !executionContext()); 110 if (m_contextStopped || !executionContext()) 129 if (m_contextStopped || !executionContext()) 148 if (m_contextStopped || !executionContext()) 154 EventQueue* eventQueue = executionContext()->eventQueue(); 178 ASSERT(executionContext()); 232 if (m_contextStopped || !executionContext()) 426 ExecutionContext* IDBRequest::executionContext() cons [all...] |
IDBOpenDBRequest.cpp | 31 #include "core/dom/ExecutionContext.h" 84 if (m_contextStopped || !executionContext()) { 95 IDBDatabase* idbDatabase = IDBDatabase::create(executionContext(), backend, m_databaseCallbacks.release()); 116 if (m_contextStopped || !executionContext()) { 135 idbDatabase = IDBDatabase::create(executionContext(), backend, m_databaseCallbacks.release()); 157 if (m_contextStopped || !executionContext())
|
IDBRequestTest.cpp | 32 #include "core/dom/ExecutionContext.h" 68 ExecutionContext* executionContext() const { return m_scope.scriptState()->executionContext(); } 72 RefPtrWillBePersistent<ExecutionContext> m_executionContext; 80 executionContext()->stopActiveDOMObjects(); 147 executionContext()->stopActiveDOMObjects(); 156 executionContext()->stopActiveDOMObjects();
|
/external/chromium_org/third_party/WebKit/Source/modules/mediastream/ |
RTCPeerConnection.cpp | 39 #include "core/dom/ExecutionContext.h" 210 RTCPeerConnection* RTCPeerConnection::create(ExecutionContext* context, const Dictionary& rtcConfiguration, const Dictionary& mediaConstraints, ExceptionState& exceptionState) 228 RTCPeerConnection::RTCPeerConnection(ExecutionContext* context, RTCConfiguration* configuration, WebMediaConstraints constraints, ExceptionState& exceptionState) 237 Document* document = toDocument(executionContext()); 284 RTCSessionDescriptionRequest* request = RTCSessionDescriptionRequestImpl::create(executionContext(), this, successCallback, errorCallback); 308 RTCSessionDescriptionRequest* request = RTCSessionDescriptionRequestImpl::create(executionContext(), this, successCallback, errorCallback); 322 RTCVoidRequest* request = RTCVoidRequestImpl::create(executionContext(), this, successCallback, errorCallback); 345 RTCVoidRequest* request = RTCVoidRequestImpl::create(executionContext(), this, successCallback, errorCallback); 403 RTCVoidRequest* request = RTCVoidRequestImpl::create(executionContext(), this, successCallback, errorCallback); 540 RTCStatsRequest* statsRequest = RTCStatsRequestImpl::create(executionContext(), this, successCallback, selector) [all...] |
/external/chromium_org/third_party/WebKit/Source/core/fileapi/ |
FileReader.cpp | 38 #include "core/dom/ExecutionContext.h" 77 // FIXME: Oilpan: if ExecutionContext is moved to the heap, consider 78 // making this object an ExecutionContext supplement (only.) 82 static ThrottlingController* from(ExecutionContext* context) 116 static void pushReader(ExecutionContext* context, FileReader* reader) 126 static FinishReaderType removeReader(ExecutionContext* context, FileReader* reader) 135 static void finishReader(ExecutionContext* context, FileReader* reader, FinishReaderType nextStep) 216 PassRefPtrWillBeRawPtr<FileReader> FileReader::create(ExecutionContext* context) 223 FileReader::FileReader(ExecutionContext* context) 250 ThrottlingController::finishReader(executionContext(), this, ThrottlingController::removeReader(executionContext(), this)) [all...] |
/external/chromium_org/third_party/WebKit/Source/core/inspector/ |
AsyncCallStackTracker.cpp | 36 #include "core/dom/ExecutionContext.h" 61 ASSERT(executionContext()); 62 OwnPtrWillBeRawPtr<ExecutionContextData> self = m_tracker->m_executionContextDataMap.take(executionContext()); 138 void AsyncCallStackTracker::didInstallTimer(ExecutionContext* context, int timerId, bool singleShot, const ScriptValue& callFrames) 151 void AsyncCallStackTracker::didRemoveTimer(ExecutionContext* context, int timerId) 164 void AsyncCallStackTracker::willFireTimer(ExecutionContext* context, int timerId) 180 void AsyncCallStackTracker::didRequestAnimationFrame(ExecutionContext* context, int callbackId, const ScriptValue& callFrames) 191 void AsyncCallStackTracker::didCancelAnimationFrame(ExecutionContext* context, int callbackId) 201 void AsyncCallStackTracker::willFireAnimationFrame(ExecutionContext* context, int callbackId) 215 ASSERT(eventTarget->executionContext()); [all...] |