HomeSort by relevance Sort by last modified time
    Searched refs:executionContext (Results 51 - 75 of 253) sorted by null

1 23 4 5 6 7 8 91011

  /external/chromium_org/third_party/WebKit/Source/bindings/core/v8/
V8EventListener.cpp 47 v8::Local<v8::Function> V8EventListener::getListenerFunction(ExecutionContext*)
49 v8::Local<v8::Object> listener = getListenerObject(scriptState()->executionContext());
72 v8::Local<v8::Function> handlerFunction = getListenerFunction(scriptState()->executionContext());
77 if (!scriptState()->executionContext()->isDocument())
80 LocalFrame* frame = toDocument(scriptState()->executionContext())->frame();
ScriptPromiseProperty.h 16 class ExecutionContext;
46 // the specified ExecutionContext for a property of 'holder'
55 ScriptPromiseProperty(ExecutionContext*, PassHolderType, Name);
85 ScriptPromiseProperty<HolderType, ResolvedType, RejectedType>::ScriptPromiseProperty(ExecutionContext* executionContext, PassHolderType holder, Name name)
86 : ScriptPromisePropertyBase(executionContext, name)
99 if (!executionContext() || executionContext()->activeDOMObjectsAreStopped())
113 if (!executionContext() || executionContext()->activeDOMObjectsAreStopped()
    [all...]
ScriptPromiseResolver.h 13 #include "core/dom/ExecutionContext.h"
25 // ExecutionContext state. When the ExecutionContext is suspended,
44 // the associated ExecutionContext is stopped.
85 // promise is pending and the associated ExecutionContext isn't stopped.
115 if (m_state != Pending || !executionContext() || executionContext()->activeDOMObjectsAreStopped())
125 if (!executionContext()->activeDOMObjectsAreSuspended())
ScriptState.cpp 9 #include "core/dom/ExecutionContext.h"
74 ExecutionContext* ScriptState::executionContext() const
80 void ScriptState::setExecutionContext(ExecutionContext*)
112 ExecutionContext* ScriptStateForTesting::executionContext() const
117 void ScriptStateForTesting::setExecutionContext(ExecutionContext* executionContext)
119 m_executionContext = executionContext;
V8ErrorHandler.cpp 39 #include "core/dom/ExecutionContext.h"
60 v8::Local<v8::Object> listener = getListenerObject(scriptState()->executionContext());
73 if (scriptState()->executionContext()->isWorkerGlobalScope())
74 returnValue = V8ScriptRunner::callFunction(callFunction, scriptState()->executionContext(), thisValue, WTF_ARRAY_LENGTH(parameters), parameters, isolate());
76 returnValue = ScriptController::callFunction(scriptState()->executionContext(), callFunction, thisValue, WTF_ARRAY_LENGTH(parameters), parameters, isolate());
  /external/chromium_org/third_party/WebKit/Source/core/workers/
WorkerObjectProxy.cpp 37 #include "core/dom/ExecutionContext.h"
45 PassOwnPtr<WorkerObjectProxy> WorkerObjectProxy::create(ExecutionContext* executionContext, WorkerMessagingProxy* messagingProxy)
47 return adoptPtr(new WorkerObjectProxy(executionContext, messagingProxy));
102 WorkerObjectProxy::WorkerObjectProxy(ExecutionContext* executionContext, WorkerMessagingProxy* messagingProxy)
103 : m_executionContext(executionContext)
Worker.cpp 46 inline Worker::Worker(ExecutionContext* context)
52 PassRefPtrWillBeRawPtr<Worker> Worker::create(ExecutionContext* context, const String& url, ExceptionState& exceptionState)
83 ASSERT(executionContext()); // The context is protected by worker context proxy, so it cannot be destroyed while a Worker exists.
92 void Worker::postMessage(ExecutionContext*, PassRefPtr<SerializedScriptValue> message, const MessagePortArray* ports, ExceptionState& exceptionState)
121 InspectorInstrumentation::didReceiveScriptResponse(executionContext(), identifier);
131 if (InspectorInstrumentation::shouldPauseDedicatedWorkerOnStart(executionContext()))
133 m_contextProxy->startWorkerGlobalScope(m_scriptLoader->url(), executionContext()->userAgent(m_scriptLoader->url()), m_scriptLoader->script(), startMode);
134 InspectorInstrumentation::scriptImported(executionContext(), m_scriptLoader->identifier(), m_scriptLoader->script());
WorkerScriptLoader.cpp 31 #include "core/dom/ExecutionContext.h"
57 void WorkerScriptLoader::loadSynchronously(ExecutionContext& executionContext, const KURL& url, CrossOriginRequestPolicy crossOriginRequestPolicy)
65 ASSERT_WITH_SECURITY_IMPLICATION(executionContext.isWorkerGlobalScope());
75 WorkerThreadableLoader::loadResourceSynchronously(toWorkerGlobalScope(executionContext), *request, *this, options, resourceLoaderOptions);
78 void WorkerScriptLoader::loadAsynchronously(ExecutionContext& executionContext, const KURL& url, CrossOriginRequestPolicy crossOriginRequestPolicy, WorkerScriptLoaderClient* client)
96 m_threadableLoader = ThreadableLoader::create(executionContext, this, *request, options, resourceLoaderOptions);
WorkerConsole.cpp 62 ExecutionContext* WorkerConsole::context()
66 return m_scope->executionContext();
  /external/chromium_org/third_party/WebKit/Source/modules/serviceworkers/
ResponseTest.cpp 26 ExecutionContext* executionContext() { return scriptState()->executionContext(); }
40 Response* response = Response::create(executionContext(), fetchResponseData);
59 Response* response = Response::create(executionContext(), webResponse);
RequestTest.cpp 27 ExecutionContext* executionContext() { return scriptState()->executionContext(); }
38 Request* request = Request::create(executionContext(), url, exceptionState);
49 Request* request1 = Request::create(executionContext(), url, exceptionState);
52 Request* request2 = Request::create(executionContext(), request1, exceptionState);
74 Request* request = Request::create(executionContext(), webRequest);
  /external/chromium_org/third_party/WebKit/Source/modules/webmidi/
MIDIAccess.h 45 class ExecutionContext;
56 static MIDIAccess* create(PassOwnPtr<MIDIAccessor> accessor, bool sysexEnabled, const Vector<MIDIAccessInitializer::PortDescriptor>& ports, ExecutionContext* executionContext)
58 MIDIAccess* access = adoptRefCountedGarbageCollectedWillBeNoop(new MIDIAccess(accessor, sysexEnabled, ports, executionContext));
74 virtual ExecutionContext* executionContext() const OVERRIDE { return ActiveDOMObject::executionContext(); }
96 MIDIAccess(PassOwnPtr<MIDIAccessor>, bool sysexEnabled, const Vector<MIDIAccessInitializer::PortDescriptor>&, ExecutionContext*);
  /external/chromium_org/third_party/WebKit/Source/web/
SharedWorkerRepositoryClientImpl.cpp 37 #include "core/dom/ExecutionContext.h"
117 ASSERT(worker->executionContext()->isDocument());
118 Document* document = toDocument(worker->executionContext());
119 OwnPtr<WebSharedWorkerConnector> webWorkerConnector = adoptPtr(m_client->createSharedWorkerConnector(url, name, getId(document), worker->executionContext()->contentSecurityPolicy()->deprecatedHeader(), static_cast<WebContentSecurityPolicyType>(worker->executionContext()->contentSecurityPolicy()->deprecatedHeaderType())));
  /external/chromium_org/third_party/WebKit/Source/core/dom/
MessagePort.cpp 35 #include "core/dom/ExecutionContext.h"
45 PassRefPtrWillBeRawPtr<MessagePort> MessagePort::create(ExecutionContext& executionContext)
47 RefPtrWillBeRawPtr<MessagePort> port = adoptRefWillBeNoop(new MessagePort(executionContext));
52 MessagePort::MessagePort(ExecutionContext& executionContext)
53 : ActiveDOMObject(&executionContext)
65 void MessagePort::postMessage(ExecutionContext*, PassRefPtr<SerializedScriptValue> message, const MessagePortArray* ports, ExceptionState& exceptionState)
69 ASSERT(executionContext());
105 PassOwnPtrWillBeRawPtr<MessagePortArray> MessagePort::toMessagePortArray(ExecutionContext* context, const WebMessagePortChannelArray& webChannels
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/fileapi/
FileReaderLoader.cpp 36 #include "core/dom/ExecutionContext.h"
83 void FileReaderLoader::startInternal(ExecutionContext& executionContext, const Stream* stream, PassRefPtr<BlobDataHandle> blobData)
86 m_urlForReading = BlobURL::createPublicURL(executionContext.securityOrigin());
94 BlobRegistry::registerPublicBlobURL(executionContext.securityOrigin(), m_urlForReading, blobData);
97 BlobRegistry::registerStreamURL(executionContext.securityOrigin(), m_urlForReading, stream->url());
122 m_loader = ThreadableLoader::create(executionContext, this, request, options, resourceLoaderOptions);
124 ThreadableLoader::loadResourceSynchronously(executionContext, request, *this, options, resourceLoaderOptions);
127 void FileReaderLoader::start(ExecutionContext* executionContext, PassRefPtr<BlobDataHandle> blobData
    [all...]
  /external/chromium_org/third_party/WebKit/Source/modules/filesystem/
InspectorFileSystemAgent.cpp 125 void start(ExecutionContext*);
149 void FileSystemRootRequest::start(ExecutionContext* executionContext)
151 ASSERT(executionContext);
161 KURL rootURL = DOMFileSystemBase::createFileSystemRootURL(executionContext->securityOrigin()->toString(), type);
168 OwnPtr<AsyncFileSystemCallbacks> fileSystemCallbacks = ResolveURICallbacks::create(successCallback, errorCallback, executionContext);
169 LocalFileSystem::from(*executionContext)->resolveURL(executionContext, rootURL, fileSystemCallbacks.release());
195 void start(ExecutionContext*);
224 void DirectoryContentRequest::start(ExecutionContext* executionContext
    [all...]
  /external/chromium_org/third_party/WebKit/Source/modules/webdatabase/
DatabaseContext.cpp 32 #include "core/dom/ExecutionContext.h"
49 // 1. ExecutionContext
60 // Once a DatabaseContext is associated with a ExecutionContext, it will
61 // live until after the ExecutionContext destructs. This is true even if
63 // succeed in opening Databases for this ExecutionContext, the Database
69 // 1. "outlive" the ExecutionContext.
71 // ExecutionContext's ActiveDOMObject list and ContextLifecycleObserver
73 // rely on the ExecutionContext's shutdown process to call
82 // During shutdown, the ExecutionContext is shutting down on the script thread
84 // a race condition as to whether the ExecutionContext or the Database
    [all...]
  /external/chromium_org/third_party/WebKit/Source/bindings/tests/results/core/
V8TestCallbackInterface.cpp 14 #include "core/dom/ExecutionContext.h"
22 : ActiveDOMCallback(scriptState->executionContext())
43 ScriptController::callFunction(m_scriptState->executionContext(), m_callback.newLocal(m_scriptState->isolate()), m_scriptState->context()->Global(), 0, argv, m_scriptState->isolate());
59 ScriptController::callFunction(m_scriptState->executionContext(), m_callback.newLocal(m_scriptState->isolate()), m_scriptState->context()->Global(), 0, argv, m_scriptState->isolate());
80 ScriptController::callFunction(m_scriptState->executionContext(), m_callback.newLocal(m_scriptState->isolate()), m_scriptState->context()->Global(), 1, argv, m_scriptState->isolate());
100 ScriptController::callFunction(m_scriptState->executionContext(), m_callback.newLocal(m_scriptState->isolate()), m_scriptState->context()->Global(), 1, argv, m_scriptState->isolate());
120 ScriptController::callFunction(m_scriptState->executionContext(), m_callback.newLocal(m_scriptState->isolate()), m_scriptState->context()->Global(), 1, argv, m_scriptState->isolate());
140 ScriptController::callFunction(m_scriptState->executionContext(), m_callback.newLocal(m_scriptState->isolate()), m_scriptState->context()->Global(), 1, argv, m_scriptState->isolate());
166 ScriptController::callFunction(m_scriptState->executionContext(), m_callback.newLocal(m_scriptState->isolate()), m_scriptState->context()->Global(), 2, argv, m_scriptState->isolate());
192 ScriptController::callFunction(m_scriptState->executionContext(), m_callback.newLocal(m_scriptState->isolate()), thisHandle, 1, argv, m_scriptState->isolate())
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/events/
Event.cpp 103 bool Event::legacyReturnValue(ExecutionContext* executionContext) const
107 UseCounter::count(executionContext, UseCounter::EventGetReturnValueTrue);
109 UseCounter::count(executionContext, UseCounter::EventGetReturnValueFalse);
113 void Event::setLegacyReturnValue(ExecutionContext* executionContext, bool returnValue)
116 UseCounter::count(executionContext, UseCounter::EventSetReturnValueTrue);
118 UseCounter::count(executionContext, UseCounter::EventSetReturnValueFalse);
  /external/chromium_org/third_party/WebKit/Source/modules/credentialmanager/
CredentialsContainer.cpp 13 #include "core/dom/ExecutionContext.h"
97 CredentialManagerClient* client = CredentialManagerClient::from(resolver->scriptState()->executionContext());
103 SecurityOrigin* securityOrigin = resolver->scriptState()->executionContext()->securityOrigin();
121 CredentialManagerClient::from(scriptState->executionContext())->dispatchRequest(false, tempVector, new RequestCallbacks(resolver));
132 CredentialManagerClient::from(scriptState->executionContext())->dispatchSignedIn(WebCredential(credential->platformCredential()), new NotificationCallbacks(resolver));
143 CredentialManagerClient::from(scriptState->executionContext())->dispatchFailedSignIn(WebCredential(credential->platformCredential()), new NotificationCallbacks(resolver));
154 CredentialManagerClient::from(scriptState->executionContext())->dispatchSignedOut(new NotificationCallbacks(resolver));
  /external/chromium_org/third_party/WebKit/Source/modules/indexeddb/
IDBTransactionTest.cpp 62 ExecutionContext* executionContext() { return m_scope.scriptState()->executionContext(); }
71 RefPtrWillBePersistent<ExecutionContext> m_executionContext;
100 Persistent<IDBDatabase> db = IDBDatabase::create(executionContext(), backend.release(), FakeIDBDatabaseCallbacks::create());
119 executionContext()->stopActiveDOMObjects();
130 Persistent<IDBDatabase> db = IDBDatabase::create(executionContext(), backend.release(), FakeIDBDatabaseCallbacks::create());
152 executionContext()->stopActiveDOMObjects();
  /external/chromium_org/third_party/WebKit/Source/modules/mediastream/
UserMediaRequest.cpp 68 UserMediaRequest* UserMediaRequest::create(ExecutionContext* context, UserMediaController* controller, const Dictionary& options, NavigatorUserMediaSuccessCallback* successCallback, NavigatorUserMediaErrorCallback* errorCallback, ExceptionState& exceptionState)
86 UserMediaRequest::UserMediaRequest(ExecutionContext* context, UserMediaController* controller, WebMediaConstraints audio, WebMediaConstraints video, NavigatorUserMediaSuccessCallback* successCallback, NavigatorUserMediaErrorCallback* errorCallback)
122 if (ExecutionContext* context = executionContext()) {
137 if (!executionContext())
140 RefPtrWillBeRawPtr<MediaStream> stream = MediaStream::create(executionContext(), streamDescriptor);
157 if (!executionContext())
165 if (!executionContext())
173 if (!executionContext())
  /external/chromium_org/third_party/WebKit/Source/modules/speech/
SpeechSynthesis.cpp 30 #include "core/dom/ExecutionContext.h"
37 SpeechSynthesis* SpeechSynthesis::create(ExecutionContext* context)
42 SpeechSynthesis::SpeechSynthesis(ExecutionContext* context)
54 ExecutionContext* SpeechSynthesis::executionContext() const
56 return ContextLifecycleObserver::executionContext();
62 if (executionContext() && !executionContext()->activeDOMObjectsAreStopped())
147 if (executionContext() && !executionContext()->activeDOMObjectsAreStopped()
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/inspector/
ConsoleMessageStorage.cpp 16 ConsoleMessageStorage::ConsoleMessageStorage(ExecutionContext* context)
38 InspectorInstrumentation::addMessageToConsole(executionContext(), message.get());
50 InspectorInstrumentation::consoleMessagesCleared(executionContext());
92 ExecutionContext* ConsoleMessageStorage::executionContext() const
InspectorInstrumentation.cpp 149 void appendAsyncCallStack(ExecutionContext* executionContext, ScriptCallStack* callStack)
151 InstrumentingAgents* instrumentingAgents = instrumentingAgentsFor(executionContext);
158 bool canvasAgentEnabled(ExecutionContext* executionContext)
160 InstrumentingAgents* instrumentingAgents = instrumentingAgentsFor(executionContext);
164 bool consoleAgentEnabled(ExecutionContext* executionContext)
166 InstrumentingAgents* instrumentingAgents = instrumentingAgentsFor(executionContext);
171 bool timelineAgentEnabled(ExecutionContext* executionContext
    [all...]

Completed in 661 milliseconds

1 23 4 5 6 7 8 91011