HomeSort by relevance Sort by last modified time
    Searched refs:ScriptState (Results 151 - 175 of 299) sorted by null

1 2 3 4 5 67 8 91011>>

  /external/chromium_org/third_party/WebKit/Source/modules/serviceworkers/
ExtendableEvent.cpp 53 void ExtendableEvent::waitUntil(ScriptState* scriptState, const ScriptValue& value)
55 m_observer->waitUntil(scriptState, value);
FetchEvent.cpp 34 void FetchEvent::respondWith(ScriptState* scriptState, const ScriptValue& value, ExceptionState& exceptionState)
36 m_observer->respondWith(scriptState, value, exceptionState);
InstallEvent.cpp 57 ScriptPromise InstallEvent::reloadAll(ScriptState* scriptState)
63 return ScriptPromise::reject(scriptState, v8::Null(scriptState->isolate()));
ServiceWorker.h 46 class ScriptState;
ResponseTest.cpp 8 #include "bindings/core/v8/ScriptState.h"
25 ScriptState* scriptState() { return ScriptState::forMainWorld(m_page->document().frame()); }
26 ExecutionContext* executionContext() { return scriptState()->executionContext(); }
CacheStorage.cpp 9 #include "bindings/core/v8/ScriptState.h"
151 ScriptPromise CacheStorage::get(ScriptState* scriptState, const String& cacheName)
153 RefPtr<ScriptPromiseResolver> resolver = ScriptPromiseResolver::create(scriptState);
170 ScriptPromise CacheStorage::has(ScriptState* scriptState, const String& cacheName)
172 RefPtr<ScriptPromiseResolver> resolver = ScriptPromiseResolver::create(scriptState);
188 ScriptPromise CacheStorage::createFunction(ScriptState* scriptState, const String& cacheName)
190 RefPtr<ScriptPromiseResolver> resolver = ScriptPromiseResolver::create(scriptState);
    [all...]
  /external/chromium_org/third_party/WebKit/Source/modules/encryptedmedia/
MediaKeySession.cpp 32 #include "bindings/core/v8/ScriptState.h"
151 NewSessionResult(ScriptState* scriptState, MediaKeySession* session)
152 : m_resolver(ScriptPromiseResolver::create(scriptState))
208 MediaKeySession* MediaKeySession::create(ScriptState* scriptState, MediaKeys* mediaKeys, const String& sessionType)
210 RefPtrWillBeRawPtr<MediaKeySession> session = adoptRefCountedGarbageCollectedWillBeNoop(new MediaKeySession(scriptState, mediaKeys, sessionType));
215 MediaKeySession::MediaKeySession(ScriptState* scriptState, MediaKeys* mediaKeys, const String& sessionType)
216 : ActiveDOMObject(scriptState->executionContext()
    [all...]
  /external/chromium_org/third_party/WebKit/Source/bindings/core/v8/
PageScriptDebugServer.h 67 virtual void compileScript(ScriptState*, const String& expression, const String& sourceURL, String* scriptId, String* exceptionDetailsText, int* lineNumber, int* columnNumber, RefPtrWillBeRawPtr<ScriptCallStack>* stackTrace) OVERRIDE;
69 virtual void runScript(ScriptState*, const String& scriptId, ScriptValue* result, bool* wasThrown, String* exceptionDetailsText, int* lineNumber, int* columnNumber, RefPtrWillBeRawPtr<ScriptCallStack>* stackTrace) OVERRIDE;
NPV8Object.cpp 89 static ScriptState* mainWorldScriptState(v8::Isolate* isolate, NPP npp, NPObject* npObject)
98 return ScriptState::from(context);
258 ScriptState* scriptState = mainWorldScriptState(isolate, npp, npObject);
259 if (!scriptState)
262 ScriptState::Scope scope(scriptState);
314 ScriptState* scriptState = mainWorldScriptState(isolate, npp, npObject);
315 if (!scriptState)
    [all...]
ScriptPromisePropertyBase.cpp 9 #include "bindings/core/v8/ScriptState.h"
43 ScriptState* scriptState = ScriptState::from(context);
44 ScriptState::Scope scope(scriptState);
46 v8::Handle<v8::Object> wrapper = ensureHolderWrapper(scriptState);
51 return ScriptPromise(scriptState, cachedPromise);
69 return ScriptPromise(scriptState, promise);
92 ScriptState::Scope scope(ScriptState::from(wrapper->CreationContext()))
    [all...]
PrivateScriptRunner.cpp 116 static v8::Handle<v8::Object> classObjectOfPrivateScript(ScriptState* scriptState, String className)
118 ASSERT(scriptState->perContextData());
119 ASSERT(scriptState->executionContext());
120 v8::Isolate* isolate = scriptState->isolate();
121 v8::Handle<v8::Value> compiledClass = scriptState->perContextData()->compiledPrivateScript(className);
123 v8::Handle<v8::Value> installedClasses = scriptState->perContextData()->compiledPrivateScript("PrivateScriptRunner");
126 scriptState->perContextData()->setCompiledPrivateScript("PrivateScriptRunner", installedClasses);
135 scriptState->perContextData()->setCompiledPrivateScript(className, compiledClass);
140 static void initializeHolderIfNeeded(ScriptState* scriptState, v8::Handle<v8::Object> classObject, v8::Handle<v8::Value> holder
    [all...]
ExceptionState.h 44 class ScriptState;
99 ScriptPromise reject(ScriptState*);
ScriptController.h 56 class ScriptState;
121 void collectIsolatedContexts(Vector<std::pair<ScriptState*, SecurityOrigin*> >&);
ScriptPreprocessor.cpp 51 m_scriptState = ScriptState::from(toV8Context(frame, *world));
98 ScriptState::Scope scope(m_scriptState.get());
V8WorkerGlobalScopeEventListener.cpp 48 V8WorkerGlobalScopeEventListener::V8WorkerGlobalScopeEventListener(v8::Local<v8::Object> listener, bool isInline, ScriptState* scriptState)
49 : V8EventListener(listener, isInline, scriptState)
59 WorkerScriptController* script = toWorkerGlobalScope(scriptState()->executionContext())->script();
63 if (scriptState()->contextIsValid())
65 ScriptState::Scope scope(scriptState());
68 v8::Handle<v8::Value> jsEvent = toV8(event, scriptState()->context()->Global(), isolate());
75 v8::Local<v8::Function> handlerFunction = getListenerFunction(scriptState()->executionContext());
80 TRACE_EVENT1(TRACE_DISABLED_BY_DEFAULT("devtools.timeline"), "FunctionCall", "data", devToolsTraceEventData(scriptState()->executionContext(), handlerFunction, isolate()))
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/inspector/
InspectorConsoleAgent.h 28 #include "bindings/core/v8/ScriptState.h"
86 void consoleTimeline(ExecutionContext*, const String& title, ScriptState*);
87 void consoleTimelineEnd(ExecutionContext*, const String& title, ScriptState*);
ScriptArguments.cpp 167 PassRefPtrWillBeRawPtr<ScriptArguments> ScriptArguments::create(ScriptState* scriptState, Vector<ScriptValue>& arguments)
169 return adoptRefWillBeNoop(new ScriptArguments(scriptState, arguments));
172 ScriptArguments::ScriptArguments(ScriptState* scriptState, Vector<ScriptValue>& arguments)
173 : m_scriptState(scriptState)
190 ScriptState::Scope scope(m_scriptState.get());
PromiseTracker.cpp 10 #include "bindings/core/v8/ScriptState.h"
23 static PassRefPtrWillBeRawPtr<PromiseData> create(ScriptState* scriptState, int promiseHash, int promiseId, v8::Handle<v8::Object> promise)
25 return adoptRefWillBeNoop(new PromiseData(scriptState, promiseHash, promiseId, promise));
52 PromiseData(ScriptState* scriptState, int promiseHash, int promiseId, v8::Handle<v8::Object> promise)
53 : m_scriptState(scriptState)
56 , m_promise(scriptState->isolate(), promise)
65 RefPtr<ScriptState> m_scriptState;
195 PassRefPtrWillBeRawPtr<PromiseTracker::PromiseData> PromiseTracker::createPromiseDataIfNeeded(ScriptState* scriptState, v8::Handle<v8::Object> promise
    [all...]
  /external/chromium_org/third_party/WebKit/Source/modules/quota/
StorageQuota.cpp 85 ScriptPromise StorageQuota::queryInfo(ScriptState* scriptState, String type)
87 RefPtr<ScriptPromiseResolver> resolver = ScriptPromiseResolver::create(scriptState);
90 SecurityOrigin* securityOrigin = scriptState->executionContext()->securityOrigin();
102 ScriptPromise StorageQuota::requestPersistentQuota(ScriptState* scriptState, unsigned long long newQuota)
104 StorageQuotaClient* client = StorageQuotaClient::from(scriptState->executionContext());
106 RefPtr<ScriptPromiseResolver> resolver = ScriptPromiseResolver::create(scriptState);
112 return client->requestPersistentQuota(scriptState, newQuota);
  /external/chromium_org/third_party/WebKit/Source/core/css/
FontFace.h 87 ScriptPromise loaded(ScriptState* scriptState) { return fontStatusPromise(scriptState); }
89 ScriptPromise load(ScriptState*);
125 ScriptPromise fontStatusPromise(ScriptState*);
FontFaceSet.h 78 ScriptPromise load(ScriptState*, const String& font, const String& text);
79 ScriptPromise ready(ScriptState*);
  /external/chromium_org/third_party/WebKit/Source/core/streams/
ReadableStream.cpp 119 ScriptPromise ReadableStream::wait(ScriptState* scriptState)
123 return m_wait->promise(scriptState->world());
126 ScriptPromise ReadableStream::cancel(ScriptState* scriptState, ScriptValue reason)
129 RefPtr<ScriptPromiseResolver> resolver = ScriptPromiseResolver::create(scriptState);
135 return ScriptPromise::cast(scriptState, v8::Undefined(scriptState->isolate()));
148 return m_source->cancelSource(scriptState, reason);
151 ScriptPromise ReadableStream::closed(ScriptState* scriptState
    [all...]
  /external/chromium_org/third_party/WebKit/Source/bindings/
IDLExtendedAttributes.txt 38 CallWith=ExecutionContext|ScriptState|ScriptArguments|ActiveWindow|FirstWindow|ThisValue
  /external/chromium_org/third_party/WebKit/Source/bindings/core/v8/custom/
V8WorkerGlobalScopeCustom.cpp 63 ScriptState* scriptState = ScriptState::current(info.GetIsolate());
72 action = adoptPtr(new ScheduledAction(scriptState, toCoreString(function.As<v8::String>()), KURL(), info.GetIsolate()));
82 action = adoptPtr(new ScheduledAction(scriptState, v8::Handle<v8::Function>::Cast(function), paramCount, params.get(), info.GetIsolate()));
  /external/chromium_org/third_party/WebKit/Source/bindings/modules/v8/custom/
V8SQLTransactionCustom.cpp 100 callback = V8SQLStatementCallback::create(v8::Handle<v8::Function>::Cast(info[2]), ScriptState::current(info.GetIsolate()));
112 errorCallback = V8SQLStatementErrorCallback::create(v8::Handle<v8::Function>::Cast(info[3]), ScriptState::current(info.GetIsolate()));

Completed in 1269 milliseconds

1 2 3 4 5 67 8 91011>>