Searched refs:executionContext (Results 1 - 25 of 231) sorted by relevance

12345678910

/external/chromium_org/third_party/WebKit/Source/modules/webdatabase/
H A DDatabaseBase.cpp34 DatabaseBase::DatabaseBase(ExecutionContext* executionContext) argument
36 ASSERT_UNUSED(executionContext, executionContext->isContextThread());
H A DSQLTransactionClient.cpp56 ExecutionContext* executionContext = database->databaseContext()->executionContext(); local
57 if (!executionContext->isContextThread()) {
58 executionContext->postTask(bind(&databaseModified, PassRefPtrWillBeRawPtr<DatabaseBackendBase>(database)));
69 ASSERT(database->databaseContext()->executionContext()->isContextThread());
/external/chromium_org/third_party/WebKit/Source/modules/mediasource/
H A DURLMediaSource.cpp40 String URLMediaSource::createObjectURL(ExecutionContext* executionContext, MediaSource* source) argument
45 if (!executionContext)
47 return DOMURL::createPublicURL(executionContext, source);
/external/chromium_org/third_party/WebKit/Source/modules/mediastream/
H A DURLMediaStream.cpp40 String URLMediaStream::createObjectURL(ExecutionContext* executionContext, MediaStream* stream) argument
45 if (!executionContext || !stream)
47 return DOMURL::createPublicURL(executionContext, stream);
/external/chromium_org/third_party/WebKit/Source/core/dom/
H A DActiveDOMObject.cpp34 ActiveDOMObject::ActiveDOMObject(ExecutionContext* executionContext) argument
35 : ContextLifecycleObserver(executionContext, ActiveDOMObjectType)
41 ASSERT(!executionContext || executionContext->isContextThread());
52 if (!executionContext())
56 ASSERT(executionContext()->isContextThread());
65 if (ExecutionContext* context = executionContext())
H A DDOMURL.cpp66 String DOMURL::createObjectURL(ExecutionContext* executionContext, Blob* blob, ExceptionState& exceptionState) argument
68 if (!executionContext || !blob)
74 return createPublicURL(executionContext, blob, blob->uuid());
77 String DOMURL::createPublicURL(ExecutionContext* executionContext, URLRegistrable* registrable, const String& uuid) argument
79 KURL publicURL = BlobURL::createPublicURL(executionContext->securityOrigin());
83 executionContext->publicURLManager().registerURL(executionContext->securityOrigin(), publicURL, registrable, uuid);
88 void DOMURL::revokeObjectURL(ExecutionContext* executionContext, const String& urlString) argument
90 if (!executionContext)
94 MemoryCache::removeURLFromCache(executionContext, ur
98 revokeObjectUUID(ExecutionContext* executionContext, const String& uuid) argument
[all...]
H A DContextLifecycleObserver.cpp44 ContextLifecycleObserver::ContextLifecycleObserver(ExecutionContext* executionContext, Type type) argument
45 : LifecycleObserver<ExecutionContext>(executionContext, type)
/external/chromium_org/third_party/WebKit/Source/core/workers/
H A DAbstractWorker.cpp54 KURL scriptURL = executionContext()->completeURL(url);
61 if (!executionContext()->securityOrigin()->canRequest(scriptURL)) {
62 exceptionState.throwSecurityError("Script at '" + scriptURL.elidedString() + "' cannot be accessed from origin '" + executionContext()->securityOrigin()->toString() + "'.");
66 if (executionContext()->contentSecurityPolicy() && !executionContext()->contentSecurityPolicy()->allowWorkerContextFromSource(scriptURL)) {
H A DAbstractWorker.h55 virtual ExecutionContext* executionContext() const OVERRIDE FINAL { return ActiveDOMObject::executionContext(); }
/external/chromium_org/third_party/WebKit/Source/modules/quota/
H A DDeprecatedStorageQuota.cpp55 void DeprecatedStorageQuota::queryUsageAndQuota(ExecutionContext* executionContext, PassOwnPtr<StorageUsageCallback> successCallback, PassOwnPtr<StorageErrorCallback> errorCallback) argument
57 ASSERT(executionContext);
62 executionContext->postTask(StorageErrorCallback::CallbackTask::create(errorCallback, NotSupportedError));
66 SecurityOrigin* securityOrigin = executionContext->securityOrigin();
68 executionContext->postTask(StorageErrorCallback::CallbackTask::create(errorCallback, NotSupportedError));
77 void DeprecatedStorageQuota::requestQuota(ExecutionContext* executionContext, unsigned long long newQuotaInBytes, PassOwnPtr<StorageQuotaCallback> successCallback, PassOwnPtr<StorageErrorCallback> errorCallback) argument
79 ASSERT(executionContext);
84 executionContext->postTask(StorageErrorCallback::CallbackTask::create(errorCallback, NotSupportedError));
88 StorageQuotaClient* client = StorageQuotaClient::from(executionContext);
90 executionContext
[all...]
H A DDeprecatedStorageInfo.cpp54 void DeprecatedStorageInfo::queryUsageAndQuota(ExecutionContext* executionContext, int storageType, PassOwnPtr<StorageUsageCallback> successCallback, PassOwnPtr<StorageErrorCallback> errorCallback) argument
60 executionContext->postTask(StorageErrorCallback::CallbackTask::create(errorCallback, NotSupportedError));
63 storageQuota->queryUsageAndQuota(executionContext, successCallback, errorCallback);
66 void DeprecatedStorageInfo::requestQuota(ExecutionContext* executionContext, int storageType, unsigned long long newQuotaInBytes, PassOwnPtr<StorageQuotaCallback> successCallback, PassOwnPtr<StorageErrorCallback> errorCallback) argument
72 executionContext->postTask(StorageErrorCallback::CallbackTask::create(errorCallback, NotSupportedError));
75 storageQuota->requestQuota(executionContext, newQuotaInBytes, successCallback, errorCallback);
/external/chromium_org/third_party/WebKit/Source/web/
H A DDatabaseClientImpl.cpp54 bool DatabaseClientImpl::allowDatabase(ExecutionContext* executionContext, const String& name, const String& displayName, unsigned long estimatedSize) argument
56 ASSERT(executionContext->isContextThread());
57 ASSERT(executionContext->isDocument() || executionContext->isWorkerGlobalScope());
58 if (executionContext->isDocument()) {
59 Document* document = toDocument(executionContext);
66 WorkerGlobalScope& workerGlobalScope = *toWorkerGlobalScope(executionContext);
H A DMediaKeysClientImpl.cpp22 PassOwnPtr<WebContentDecryptionModule> MediaKeysClientImpl::createContentDecryptionModule(WebCore::ExecutionContext* executionContext, const String& keySystem) argument
24 Document* document = toDocument(executionContext);
26 WebSecurityOrigin securityOrigin(executionContext->securityOrigin());
H A DStorageQuotaClientImpl.cpp64 void StorageQuotaClientImpl::requestQuota(ExecutionContext* executionContext, WebStorageQuotaType storageType, unsigned long long newQuotaInBytes, PassOwnPtr<StorageQuotaCallback> successCallback, PassOwnPtr<StorageErrorCallback> errorCallback) argument
66 ASSERT(executionContext);
68 if (executionContext->isDocument()) {
69 Document* document = toDocument(executionContext);
75 executionContext->postTask(StorageErrorCallback::CallbackTask::create(errorCallback, NotSupportedError));
84 if (scriptState->executionContext()->isDocument()) {
85 Document* document = toDocument(scriptState->executionContext());
/external/chromium_org/third_party/WebKit/Source/modules/serviceworkers/
H A DServiceWorkerContainer.cpp60 PassRefPtr<ServiceWorkerContainer> ServiceWorkerContainer::create(ExecutionContext* executionContext) argument
62 return adoptRef(new ServiceWorkerContainer(executionContext));
90 ExecutionContext* executionContext = scriptState->executionContext(); local
91 RefPtr<SecurityOrigin> documentOrigin = executionContext->securityOrigin();
92 KURL patternURL = executionContext->completeURL(options.scope);
99 KURL scriptURL = executionContext->completeURL(url);
134 RefPtr<SecurityOrigin> documentOrigin = scriptState->executionContext()->securityOrigin();
135 KURL patternURL = scriptState->executionContext()->completeURL(pattern);
170 if (!executionContext()) {
214 ServiceWorkerContainer(ExecutionContext* executionContext) argument
[all...]
/external/chromium_org/third_party/WebKit/Source/core/frame/
H A DDOMWindowTimers.cpp45 return DOMTimer::install(eventTarget.executionContext(), action, timeout, true);
50 return DOMTimer::install(eventTarget.executionContext(), action, timeout, false);
55 if (ExecutionContext* context = eventTarget.executionContext())
61 if (ExecutionContext* context = eventTarget.executionContext())
/external/chromium_org/third_party/WebKit/Source/core/testing/v8/
H A DWebCoreTestSupport.cpp45 ExecutionContext* executionContext = scriptState->executionContext(); local
46 if (executionContext->isDocument())
47 global->Set(v8::String::NewFromUtf8(scriptState->isolate(), Internals::internalsId), toV8(Internals::create(toDocument(executionContext)), global, scriptState->isolate()));
58 Page* page = toDocument(scriptState->executionContext())->frame()->page();
/external/chromium_org/third_party/WebKit/Source/core/fileapi/
H A DFileReaderSync.cpp49 PassRefPtr<ArrayBuffer> FileReaderSync::readAsArrayBuffer(ExecutionContext* executionContext, Blob* blob, ExceptionState& exceptionState) argument
57 startLoading(executionContext, loader, *blob, exceptionState);
62 String FileReaderSync::readAsBinaryString(ExecutionContext* executionContext, Blob* blob, ExceptionState& exceptionState) argument
70 startLoading(executionContext, loader, *blob, exceptionState);
74 String FileReaderSync::readAsText(ExecutionContext* executionContext, Blob* blob, const String& encoding, ExceptionState& exceptionState) argument
83 startLoading(executionContext, loader, *blob, exceptionState);
87 String FileReaderSync::readAsDataURL(ExecutionContext* executionContext, Blob* blob, ExceptionState& exceptionState) argument
96 startLoading(executionContext, loader, *blob, exceptionState);
100 void FileReaderSync::startLoading(ExecutionContext* executionContext, FileReaderLoader& loader, const Blob& blob, ExceptionState& exceptionState) argument
102 loader.start(executionContext, blo
[all...]
/external/chromium_org/third_party/WebKit/Source/bindings/v8/
H A DActiveDOMCallback.cpp51 ExecutionContext* context = executionContext();
57 ExecutionContext* context = executionContext();
H A DScriptPromiseResolverWithContext.cpp13 : ActiveDOMObject(scriptState->executionContext())
23 if (executionContext()->activeDOMObjectsAreStopped())
63 ASSERT(!executionContext()->activeDOMObjectsAreStopped());
64 ASSERT(!executionContext()->activeDOMObjectsAreSuspended());
69 V8RecursionScope scope(m_scriptState->isolate(), m_scriptState->executionContext());
/external/chromium_org/third_party/WebKit/Source/core/page/
H A DNetworkStateNotifierTest.cpp105 ExecutionContext* executionContext() function in class:WebCore::NetworkStateNotifierTest
127 observer->setNotificationCallback(bind(&NetworkStateNotifier::addObserver, &m_notifier, observerToAdd, executionContext()));
132 observer->setNotificationCallback(bind(&NetworkStateNotifier::removeObserver, &m_notifier, observerToRemove, executionContext()));
143 m_notifier.addObserver(&observer, executionContext());
154 m_notifier.addObserver(&observer1, executionContext());
155 m_notifier.removeObserver(&observer1, executionContext());
156 m_notifier.addObserver(&observer2, executionContext());
166 m_notifier.addObserver(&observer1, executionContext());
167 m_notifier.removeObserver(&observer1, executionContext());
176 m_notifier.addObserver(&observer1, executionContext());
[all...]
/external/chromium_org/third_party/WebKit/Source/modules/indexeddb/
H A DIDBFactory.cpp81 if (!isContextValid(scriptState->executionContext()))
83 if (!scriptState->executionContext()->securityOrigin()->canAccessDatabase()) {
90 if (!m_permissionClient->allowIndexedDB(scriptState->executionContext(), "Database Listing")) {
95 blink::Platform::current()->idbFactory()->getDatabaseNames(WebIDBCallbacksImpl::create(request).leakPtr(), createDatabaseIdentifierFromSecurityOrigin(scriptState->executionContext()->securityOrigin()));
117 if (!isContextValid(scriptState->executionContext()))
119 if (!scriptState->executionContext()->securityOrigin()->canAccessDatabase()) {
128 if (!m_permissionClient->allowIndexedDB(scriptState->executionContext(), name)) {
133 blink::Platform::current()->idbFactory()->open(name, version, transactionId, WebIDBCallbacksImpl::create(request).leakPtr(), WebIDBDatabaseCallbacksImpl::create(databaseCallbacks).leakPtr(), createDatabaseIdentifierFromSecurityOrigin(scriptState->executionContext()->securityOrigin()));
151 if (!isContextValid(scriptState->executionContext()))
153 if (!scriptState->executionContext()
[all...]
/external/chromium_org/third_party/WebKit/Source/modules/webmidi/
H A DMIDIAccessInitializer.cpp30 Document* document = toDocument(executionContext());
46 Document* document = toDocument(executionContext());
73 resolve(MIDIAccess::create(m_accessor.release(), m_sysexEnabled, m_portDescriptors, executionContext()));
90 return executionContext()->securityOrigin();
93 ExecutionContext* MIDIAccessInitializer::executionContext() const function in class:WebCore::MIDIAccessInitializer
95 return scriptState()->executionContext();
/external/chromium_org/third_party/WebKit/Source/modules/filesystem/
H A DDOMFileSystem.h90 scheduleCallback(executionContext(), callback, callbackArg);
96 scheduleCallback(executionContext(), callback, callbackArg);
102 scheduleCallback(executionContext(), callback, callbackArg);
187 void DOMFileSystem::scheduleCallback(ExecutionContext* executionContext, PassOwnPtr<CB> callback, PassRefPtrWillBeRawPtr<CBArg> arg) argument
189 ASSERT(executionContext->isContextThread());
191 executionContext->postTask(adoptPtr(new DispatchCallbackRefPtrArgTask<CB, CBArg>(callback, arg)));
195 void DOMFileSystem::scheduleCallback(ExecutionContext* executionContext, PassOwnPtr<CB> callback, CBArg* arg) argument
197 ASSERT(executionContext->isContextThread());
199 executionContext->postTask(adoptPtr(new DispatchCallbackPtrArgTask<CB, CBArg>(callback, arg)));
203 void DOMFileSystem::scheduleCallback(ExecutionContext* executionContext, PassOwnPt argument
211 scheduleCallback(ExecutionContext* executionContext, PassOwnPtr<CB> callback, const CBArg& arg) argument
219 scheduleCallback(ExecutionContext* executionContext, PassOwnPtr<CB> callback) argument
[all...]
H A DDataTransferItemFileSystem.cpp51 Entry* DataTransferItemFileSystem::webkitGetAsEntry(ExecutionContext* executionContext, DataTransferItem& item) argument
63 DOMFileSystem* domFileSystem = DraggedIsolatedFileSystem::getDOMFileSystem(item.clipboard()->dataObject().get(), executionContext);

Completed in 581 milliseconds

12345678910