| /external/chromium_org/third_party/WebKit/Source/bindings/v8/ |
| V8GCController.cpp | 435 RefPtr<ScriptState> scriptState = ScriptState::create(v8::Context::New(isolate), DOMWrapperWorld::create()); 436 ScriptState::Scope scope(scriptState.get()); 438 scriptState->disposePerContextData();
|
| IDBBindingUtilities.cpp | 403 ScriptValue idbAnyToScriptValue(ScriptState* scriptState, IDBAny* any) 405 v8::Isolate* isolate = scriptState->isolate(); 407 v8::Handle<v8::Value> v8Value(toV8(any, scriptState->context()->Global(), isolate)); 408 return ScriptValue(scriptState, v8Value); 411 ScriptValue idbKeyToScriptValue(ScriptState* scriptState, IDBKey* key) 413 v8::Isolate* isolate = scriptState->isolate(); 415 v8::Handle<v8::Value> v8Value(toV8(key, scriptState->context()->Global(), isolate)); 416 return ScriptValue(scriptState, v8Value) [all...] |
| PageScriptDebugServer.cpp | 172 void PageScriptDebugServer::compileScript(ScriptState* scriptState, const String& expression, const String& sourceURL, String* scriptId, String* exceptionDetailsText, int* lineNumber, int* columnNumber, RefPtrWillBeRawPtr<ScriptCallStack>* stackTrace) 174 ExecutionContext* executionContext = scriptState->executionContext(); 176 ScriptDebugServer::compileScript(scriptState, expression, sourceURL, scriptId, exceptionDetailsText, lineNumber, columnNumber, stackTrace); 187 void PageScriptDebugServer::runScript(ScriptState* scriptState, const String& scriptId, ScriptValue* result, bool* wasThrown, String* exceptionDetailsText, int* lineNumber, int* columnNumber, RefPtrWillBeRawPtr<ScriptCallStack>* stackTrace) 191 ExecutionContext* executionContext = scriptState->executionContext(); 201 ScriptDebugServer::runScript(scriptState, scriptId, result, wasThrown, exceptionDetailsText, lineNumber, columnNumber, stackTrace);
|
| ScriptProfiler.cpp | 122 ScriptState* scriptState = ScriptState::from(object->CreationContext()); 123 return ScriptValue(scriptState, object); 230 // FIXME: This method should receive a ScriptState, from which we should retrieve an Isolate. 264 // visitNodeWrappers() should receive a ScriptState and retrieve an Isolate 265 // from the ScriptState.
|
| ScriptPromiseTest.cpp | 86 ScriptState* scriptState() const { return m_scope.scriptState(); } 96 ScriptPromise promise(scriptState(), v8::Undefined(isolate())); 103 RefPtr<ScriptPromiseResolver> resolver = ScriptPromiseResolver::create(scriptState()); 126 RefPtr<ScriptPromiseResolver> resolver = ScriptPromiseResolver::create(scriptState()); 144 RefPtr<ScriptPromiseResolver> resolver = ScriptPromiseResolver::create(scriptState()); 167 RefPtr<ScriptPromiseResolver> resolver = ScriptPromiseResolver::create(scriptState()); 185 ScriptPromise promise = ScriptPromiseResolver::create(scriptState())->promise(); 186 ScriptPromise newPromise = ScriptPromise::cast(scriptState(), promise.v8Value()) [all...] |
| V8PerContextData.cpp | 34 #include "bindings/v8/ScriptState.h" 74 return ScriptState::from(context)->perContextData();
|
| V8PerIsolateData.cpp | 155 m_scriptRegexpScriptState = ScriptState::create(context, DOMWrapperWorld::create());
|
| CustomElementConstructorBuilder.cpp | 57 CustomElementConstructorBuilder::CustomElementConstructorBuilder(ScriptState* scriptState, const Dictionary* options) 58 : m_scriptState(scriptState)
|
| /external/chromium_org/third_party/WebKit/Source/core/testing/ |
| Internals.h | 306 ScriptPromise createPromise(ScriptState*); 307 ScriptPromise createResolvedPromise(ScriptState*, ScriptValue); 308 ScriptPromise createRejectedPromise(ScriptState*, ScriptValue);
|
| Internals.idl | 269 [CallWith=ScriptState] Promise createPromise(); 270 [CallWith=ScriptState] Promise createResolvedPromise(any value); 271 [CallWith=ScriptState] Promise createRejectedPromise(any reason);
|
| /external/chromium_org/third_party/WebKit/Source/modules/indexeddb/ |
| IDBRequest.cpp | 48 IDBRequest* IDBRequest::create(ScriptState* scriptState, IDBAny* source, IDBTransaction* transaction) 50 IDBRequest* request = adoptRefCountedGarbageCollectedWillBeNoop(new IDBRequest(scriptState, source, transaction)); 58 IDBRequest::IDBRequest(ScriptState* scriptState, IDBAny* source, IDBTransaction* transaction) 59 : ActiveDOMObject(scriptState->executionContext()) 64 , m_scriptState(scriptState) 433 ScriptState::Scope scope(m_scriptState.get());
|
| IDBRequestTest.cpp | 29 #include "bindings/v8/ScriptState.h" 60 m_scope.scriptState()->setExecutionContext(m_executionContext.get()); 65 m_scope.scriptState()->setExecutionContext(0); 69 ScriptState* scriptState() const { return m_scope.scriptState(); } 70 ExecutionContext* executionContext() const { return m_scope.scriptState()->executionContext(); } 80 IDBRequest* request = IDBRequest::create(scriptState(), IDBAny::createUndefined(), transaction); 99 IDBRequest* request = IDBRequest::create(scriptState(), IDBAny::createUndefined(), transaction); 146 IDBOpenDBRequest* request = IDBOpenDBRequest::create(scriptState(), callbacks, transactionId, version) [all...] |
| IDBTransactionTest.cpp | 56 m_scope.scriptState()->setExecutionContext(m_executionContext.get()); 61 m_scope.scriptState()->setExecutionContext(0); 65 ScriptState* scriptState() const { return m_scope.scriptState(); } 66 ExecutionContext* executionContext() { return m_scope.scriptState()->executionContext(); } 110 Persistent<IDBRequest> request = IDBRequest::create(scriptState(), IDBAny::createUndefined(), transaction.get());
|
| /external/chromium_org/third_party/WebKit/Source/core/css/ |
| FontFace.cpp | 37 #include "bindings/v8/ScriptState.h" 67 static PassOwnPtr<FontFaceReadyPromiseResolver> create(ScriptState* scriptState) 69 return adoptPtr(new FontFaceReadyPromiseResolver(scriptState)); 89 FontFaceReadyPromiseResolver(ScriptState* scriptState) 90 : m_resolver(ScriptPromiseResolverWithContext::create(scriptState)) 392 ScriptPromise FontFace::fontStatusPromise(ScriptState* scriptState) 396 OwnPtr<FontFaceReadyPromiseResolver> resolver = FontFaceReadyPromiseResolver::create(scriptState); [all...] |
| /external/chromium_org/third_party/WebKit/Source/core/frame/csp/ |
| ContentSecurityPolicy.h | 29 #include "bindings/v8/ScriptState.h" 110 bool allowEval(ScriptState* = 0, ReportingStatus = SendReport) const;
|
| CSPDirectiveList.cpp | 58 void CSPDirectiveList::reportViolationWithState(const String& directiveText, const String& effectiveDirective, const String& consoleMessage, const KURL& blockedURL, ScriptState* scriptState) const 61 m_policy->executionContext()->addConsoleMessage(SecurityMessageSource, ErrorMessageLevel, message, scriptState); 122 bool CSPDirectiveList::checkEvalAndReportViolation(SourceListDirective* directive, const String& consoleMessage, ScriptState* scriptState) const 131 reportViolationWithState(directive->text(), ContentSecurityPolicy::ScriptSrc, consoleMessage + "\"" + directive->text() + "\"." + suffix + "\n", KURL(), scriptState); 256 bool CSPDirectiveList::allowEval(ScriptState* scriptState, ContentSecurityPolicy::ReportingStatus reportingStatus) const 261 checkEvalAndReportViolation(operativeDirective(m_scriptSrc.get()), consoleMessage, scriptState) :
|
| /external/chromium_org/third_party/WebKit/Source/modules/screen_orientation/ |
| ScreenOrientation.cpp | 128 ScriptPromise ScreenOrientation::lockOrientation(ScriptState* state, Screen& screen, const AtomicString& lockString)
|
| /external/chromium_org/third_party/WebKit/Source/bindings/tests/results/ |
| V8TestObject.cpp | 36 #include "bindings/v8/ScriptState.h" [all...] |
| /external/chromium_org/third_party/WebKit/Source/core/dom/ |
| ExecutionContext.cpp | 167 void ExecutionContext::addConsoleMessage(MessageSource source, MessageLevel level, const String& message, ScriptState* scriptState) 171 m_client->addMessage(source, level, message, String(), 0, scriptState);
|
| Document.h | [all...] |
| /external/chromium_org/third_party/WebKit/Source/core/inspector/ |
| InjectedScriptCanvasModule.cpp | 52 InjectedScriptCanvasModule InjectedScriptCanvasModule::moduleForState(InjectedScriptManager* injectedScriptManager, ScriptState* scriptState) 55 result.ensureInjected(injectedScriptManager, scriptState);
|
| InspectorHeapProfilerAgent.cpp | 288 InjectedScript injectedScript = m_injectedScriptManager->injectedScriptFor(heapObject.scriptState()); 306 ScriptState::Scope scope(injectedScript.scriptState());
|
| InspectorRuntimeAgent.cpp | 35 #include "bindings/v8/ScriptState.h" 203 void InspectorRuntimeAgent::addExecutionContextToFrontend(ScriptState* scriptState, bool isPageContext, const String& name, const String& frameId) 205 int executionContextId = injectedScriptManager()->injectedScriptIdFor(scriptState); 206 m_scriptStateToId.set(scriptState, executionContextId);
|
| /external/chromium_org/third_party/WebKit/Source/modules/serviceworkers/ |
| ServiceWorker.cpp | 36 #include "bindings/v8/ScriptState.h" 158 RefPtr<ServiceWorker> serviceWorker = ServiceWorker::from(resolver->scriptState()->executionContext(), worker); 159 ScriptState::Scope scope(resolver->scriptState());
|
| /external/chromium_org/third_party/WebKit/Source/web/ |
| WebDocument.cpp | 36 #include "bindings/v8/ScriptState.h" 302 ScriptValue constructor = document->registerElement(ScriptState::current(isolate), name, dictionary, exceptionState, CustomElement::EmbedderNames);
|