| /external/chromium_org/third_party/WebKit/Source/core/inspector/ |
| ConsoleMessage.cpp | 90 ScriptState* ConsoleMessage::scriptState() const 97 void ConsoleMessage::setScriptState(ScriptState* scriptState) 102 if (scriptState) 103 m_scriptState = adoptPtr(new ScriptStateProtectingContext(scriptState)); 160 if (scriptState() && scriptState()->domWindow() == window) 165 if (m_scriptArguments->scriptState()->domWindow() != window)
|
| JavaScriptCallFrame.idl | 43 [CallWith=ScriptState] any setVariableValue([Default=Undefined] optional long scopeIndex, [TreatUndefinedAs=NullString, Default=Undefined] optional DOMString? variableName, [Default=Undefined] optional any newValue);
|
| PageDebuggerAgent.cpp | 123 ScriptState* scriptState = ScriptState::forMainWorld(m_pageAgent->mainFrame()); 124 return injectedScriptManager()->injectedScriptFor(scriptState);
|
| InjectedScriptCanvasModule.h | 34 #include "bindings/core/v8/ScriptState.h" 50 static InjectedScriptCanvasModule moduleForState(InjectedScriptManager*, ScriptState*);
|
| InspectorFrontendHost.cpp | 34 #include "bindings/core/v8/ScriptState.h" 215 ScriptState* frontendScriptState = ScriptState::forMainWorld(m_frontendPage->deprecatedLocalMainFrame()); 231 ScriptState* frontendScriptState = ScriptState::forMainWorld(m_frontendPage->deprecatedLocalMainFrame());
|
| InspectorProfilerAgent.h | 48 class ScriptState;
|
| JavaScriptCallFrame.h | 36 #include "bindings/core/v8/ScriptState.h" 73 ScriptValue setVariableValue(ScriptState*, int scopeNumber, const String& variableName, const ScriptValue& newValue);
|
| PageConsoleAgent.cpp | 80 virtual ScriptValue get(ScriptState* state) OVERRIDE
|
| InspectorCanvasAgent.cpp | 147 InjectedScriptCanvasModule module = injectedScriptCanvasModule(errorString, ScriptState::forMainWorld(frame)); 157 InjectedScriptCanvasModule module = injectedScriptCanvasModule(errorString, ScriptState::forMainWorld(frame)); 218 ScriptState* scriptState = wrappedContext.scriptState(); 220 if (scriptState) 221 domWindow = scriptState->domWindow(); 231 InjectedScriptCanvasModule InspectorCanvasAgent::injectedScriptCanvasModule(ErrorString* errorString, ScriptState* scriptState) 235 InjectedScriptCanvasModule module = InjectedScriptCanvasModule::moduleForState(m_injectedScriptManager, scriptState); [all...] |
| /external/chromium_org/third_party/WebKit/Source/modules/encryptedmedia/ |
| HTMLMediaElementEncryptedMedia.h | 21 class ScriptState; 41 static ScriptPromise setMediaKeys(ScriptState*, HTMLMediaElement&, MediaKeys*);
|
| /external/chromium_org/third_party/WebKit/Source/modules/indexeddb/ |
| IDBCursor.cpp | 30 #include "bindings/core/v8/ScriptState.h" 93 IDBRequest* IDBCursor::update(ScriptState* scriptState, const ScriptValue& value, ExceptionState& exceptionState) 123 return objectStore->put(scriptState, WebIDBPutModeCursorUpdate, IDBAny::create(this), value, m_primaryKey, exceptionState); 156 void IDBCursor::continueFunction(ScriptState* scriptState, const ScriptValue& keyValue, ExceptionState& exceptionState) 159 IDBKey* key = keyValue.isUndefined() || keyValue.isNull() ? nullptr : scriptValueToIDBKey(scriptState->isolate(), keyValue); 167 void IDBCursor::continuePrimaryKey(ScriptState* scriptState, const ScriptValue& keyValue, const ScriptValue& primaryKeyValue, ExceptionState& exceptionState) 170 IDBKey* key = scriptValueToIDBKey(scriptState->isolate(), keyValue) [all...] |
| IDBObjectStore.cpp | 31 #include "bindings/core/v8/ScriptState.h" 72 ScriptValue IDBObjectStore::keyPath(ScriptState* scriptState) const 74 return idbAnyToScriptValue(scriptState, IDBAny::create(m_metadata.keyPath)); 87 IDBRequest* IDBObjectStore::get(ScriptState* scriptState, const ScriptValue& key, ExceptionState& exceptionState) 102 IDBKeyRange* keyRange = IDBKeyRange::fromScriptValue(scriptState->executionContext(), key, exceptionState); 114 IDBRequest* request = IDBRequest::create(scriptState, IDBAny::create(this), m_transaction.get()); 142 IDBRequest* IDBObjectStore::add(ScriptState* scriptState, const ScriptValue& value, const ScriptValue& key, ExceptionState& exceptionState [all...] |
| /external/chromium_org/third_party/WebKit/Source/bindings/core/v8/ |
| V8LazyEventListener.cpp | 67 v8::Handle<v8::Object> toObjectWrapper(T* domObject, ScriptState* scriptState) 70 return v8::Object::New(scriptState->isolate()); 71 v8::Handle<v8::Value> value = toV8(domObject, scriptState->context()->Global(), scriptState->isolate()); 73 return v8::Object::New(scriptState->isolate()); 74 return v8::Local<v8::Object>::New(scriptState->isolate(), value.As<v8::Object>()); 79 v8::Local<v8::Object> listenerObject = getListenerObject(scriptState()->executionContext()); 88 if (!scriptState()->executionContext()->isDocument()) 91 LocalFrame* frame = toDocument(scriptState()->executionContext())->frame() [all...] |
| V8CustomElementLifecycleCallbacks.cpp | 53 PassRefPtr<V8CustomElementLifecycleCallbacks> V8CustomElementLifecycleCallbacks::create(ScriptState* scriptState, v8::Handle<v8::Object> prototype, v8::Handle<v8::Function> created, v8::Handle<v8::Function> attached, v8::Handle<v8::Function> detached, v8::Handle<v8::Function> attributeChanged) 55 v8::Isolate* isolate = scriptState->isolate(); 66 return adoptRef(new V8CustomElementLifecycleCallbacks(scriptState, prototype, created, attached, detached, attributeChanged)); 92 V8CustomElementLifecycleCallbacks::V8CustomElementLifecycleCallbacks(ScriptState* scriptState, v8::Handle<v8::Object> prototype, v8::Handle<v8::Function> created, v8::Handle<v8::Function> attached, v8::Handle<v8::Function> detached, v8::Handle<v8::Function> attributeChanged) 94 , ContextLifecycleObserver(scriptState->executionContext()) 96 , m_scriptState(scriptState) 97 , m_prototype(scriptState->isolate(), prototype) 98 , m_created(scriptState->isolate(), created [all...] |
| V8Initializer.cpp | 124 ScriptState* scriptState = ScriptState::current(isolate); 125 RefPtrWillBeRawPtr<ErrorEvent> event = ErrorEvent::create(errorMessage, resource, message->GetLineNumber(), message->GetStartColumn() + 1, &scriptState->world()); 140 if (frame && frame->script().existingWindowProxy(scriptState->world())) { 141 V8ErrorHandler::storeExceptionOnErrorEventWrapper(event.get(), data, scriptState->context()->Global(), isolate); 144 if (scriptState->world().isPrivateScriptIsolatedWorld()) { 176 return policy->allowEval(ScriptState::from(context)); 241 ScriptState* scriptState = ScriptState::current(isolate) [all...] |
| /external/chromium_org/third_party/WebKit/Source/bindings/core/v8/custom/ |
| V8HTMLCanvasElementCustom.cpp | 103 ScriptState* scriptState = ScriptState::current(isolate); 104 ScriptValue context(scriptState, v8Result); 117 ScriptState* scriptState = ScriptState::current(isolate); 118 ScriptValue glContext(scriptState, v8Result);
|
| V8MutationObserverCustom.cpp | 63 OwnPtr<MutationCallback> callback = V8MutationCallback::create(v8::Handle<v8::Function>::Cast(arg), wrapper, ScriptState::current(info.GetIsolate()));
|
| /external/chromium_org/third_party/WebKit/Source/bindings/modules/v8/ |
| IDBBindingUtilitiesTest.cpp | 52 bool injectKey(ScriptState* scriptState, IDBKey* key, ScriptValue& value, const String& keyPath) 56 ScriptValue keyValue = idbKeyToScriptValue(scriptState, key); 57 return injectV8KeyIntoV8Value(scriptState->isolate(), keyValue.v8Value(), value.v8Value(), idbKeyPath); 60 void checkInjection(ScriptState* scriptState, IDBKey* key, ScriptValue& value, const String& keyPath) 62 bool result = injectKey(scriptState, key, value, keyPath); 64 IDBKey* extractedKey = checkKeyFromValueAndKeyPathInternal(scriptState->isolate(), value, keyPath); 68 void checkInjectionFails(ScriptState* scriptState, IDBKey* key, ScriptValue& value, const String& keyPath [all...] |
| /external/chromium_org/third_party/WebKit/Source/bindings/modules/v8/custom/ |
| V8CustomSQLStatementErrorCallback.cpp | 51 ScriptState::Scope scope(m_scriptState.get());
|
| V8SubtleCryptoCustom.cpp | 32 v8SetReturnValue(info, impl->verifySignature(ScriptState::current(info.GetIsolate()), algorithm, key, signature, data).v8Value()); 47 v8SetReturnValue(info, impl->verifySignature(ScriptState::current(info.GetIsolate()), algorithm, key, signature, data).v8Value()); 62 v8SetReturnValue(info, impl->verifySignature(ScriptState::current(info.GetIsolate()), algorithm, key, signature, data).v8Value()); 77 v8SetReturnValue(info, impl->verifySignature(ScriptState::current(info.GetIsolate()), algorithm, key, signature, data).v8Value());
|
| /external/chromium_org/third_party/WebKit/Source/modules/battery/ |
| BatteryManager.h | 28 ScriptPromise startRequest(ScriptState*);
|
| /external/chromium_org/third_party/WebKit/Source/modules/serviceworkers/ |
| ServiceWorkerClients.cpp | 54 ScriptPromise ServiceWorkerClients::getAll(ScriptState* scriptState, const ServiceWorkerClientQueryParams& options) 56 RefPtr<ScriptPromiseResolver> resolver = ScriptPromiseResolver::create(scriptState); 65 ServiceWorkerGlobalScopeClient::from(scriptState->executionContext())->getClients(new CallbackPromiseAdapter<ClientArray, ServiceWorkerError>(resolver));
|
| ServiceWorkerGlobalScope.cpp | 34 #include "bindings/core/v8/ScriptState.h" 92 ScriptPromise ServiceWorkerGlobalScope::fetch(ScriptState* scriptState, Request* request) 95 return ScriptPromise::reject(scriptState, V8ThrowException::createTypeError("ServiceWorkerGlobalScope is shutting down.", scriptState->isolate())); 103 return ScriptPromise::reject(scriptState, V8ThrowException::createTypeError(exceptionState.message(), scriptState->isolate())); 105 return m_fetchManager->fetch(scriptState, r->request()); 108 ScriptPromise ServiceWorkerGlobalScope::fetch(ScriptState* scriptState, Request* request, const Dictionary& requestInit [all...] |
| /external/chromium_org/third_party/WebKit/Source/web/ |
| StorageQuotaClientImpl.cpp | 36 #include "bindings/core/v8/ScriptState.h" 77 ScriptPromise StorageQuotaClientImpl::requestPersistentQuota(ScriptState* scriptState, unsigned long long newQuotaInBytes) 79 RefPtr<ScriptPromiseResolver> resolver = ScriptPromiseResolver::create(scriptState); 82 if (scriptState->executionContext()->isDocument()) { 83 Document* document = toDocument(scriptState->executionContext());
|
| /external/chromium_org/third_party/WebKit/Source/core/testing/ |
| Internals.h | 298 ScriptPromise createResolvedPromise(ScriptState*, ScriptValue); 299 ScriptPromise createRejectedPromise(ScriptState*, ScriptValue); 300 ScriptPromise addOneToPromise(ScriptState*, ScriptPromise); 301 ScriptPromise promiseCheck(ScriptState*, long, bool, const Dictionary&, const String&, const Vector<String>&, ExceptionState&); 302 ScriptPromise promiseCheckWithoutExceptionState(ScriptState*, const Dictionary&, const String&, const Vector<String>&); 303 ScriptPromise promiseCheckRange(ScriptState*, long); 326 Iterator* iterator(ScriptState*, ExceptionState&);
|