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

1 2 3 4 56 7 8 91011>>

  /external/chromium_org/third_party/WebKit/Source/bindings/core/v8/
ScriptPromisePropertyBase.h 21 class ScriptState;
65 v8::Local<v8::Object> ensureHolderWrapper(ScriptState*);
ScriptPromiseResolver.cpp 12 ScriptPromiseResolver::ScriptPromiseResolver(ScriptState* scriptState)
13 : ActiveDOMObject(scriptState->executionContext())
15 , m_scriptState(scriptState)
18 , m_resolver(scriptState)
58 ScriptState::Scope scope(m_scriptState.get());
V8MutationCallback.cpp 39 V8MutationCallback::V8MutationCallback(v8::Handle<v8::Function> callback, v8::Handle<v8::Object> owner, ScriptState* scriptState)
40 : ActiveDOMCallback(scriptState->executionContext())
41 , m_callback(scriptState->isolate(), callback)
42 , m_scriptState(scriptState)
44 V8HiddenValue::setHiddenValue(scriptState->isolate(), owner, V8HiddenValue::callback(scriptState->isolate()), callback);
57 ScriptState::Scope scope(m_scriptState.get());
WindowProxy.h 36 #include "bindings/core/v8/ScriptState.h"
61 ScriptState* scriptState() const { return m_scriptState.get(); }
113 RefPtr<ScriptState> m_scriptState;
WorkerScriptController.h 80 ScriptState* scriptState() { return m_scriptState.get(); }
95 RefPtr<ScriptState> m_scriptState;
ScriptDebugServer.h 49 class ScriptState;
106 virtual void compileScript(ScriptState*, const String& expression, const String& sourceURL, String* scriptId, String* exceptionDetailsText, int* lineNumber, int* columnNumber, RefPtrWillBeRawPtr<ScriptCallStack>* stackTrace);
108 virtual void runScript(ScriptState*, const String& scriptId, ScriptValue* result, bool* wasThrown, String* exceptionDetailsText, int* lineNumber, int* columnNumber, RefPtrWillBeRawPtr<ScriptCallStack>* stackTrace);
127 void handleProgramBreak(ScriptState* pausedScriptState, v8::Handle<v8::Object> executionState, v8::Handle<v8::Value> exception, v8::Handle<v8::Array> hitBreakpoints);
140 RefPtr<ScriptState> m_pausedScriptState;
157 void handleV8AsyncTaskEvent(ScriptDebugListener*, ScriptState* pausedScriptState, v8::Handle<v8::Object> executionState, v8::Handle<v8::Object> eventData);
159 void handleV8PromiseEvent(ScriptDebugListener*, ScriptState* pausedScriptState, v8::Handle<v8::Object> executionState, v8::Handle<v8::Object> eventData);
V8DOMActivityLogger.cpp 83 V8PerContextData* contextData = ScriptState::from(context)->perContextData();
101 ScriptState* scriptState = ScriptState::from(context);
102 if (!scriptState->world().isIsolatedWorld())
105 V8PerContextData* contextData = scriptState->perContextData();
ScriptController.cpp 265 ScriptState* scriptState = ScriptState::forMainWorld(frame);
266 if (scriptState->contextIsValid())
269 ScriptState::Scope scope(scriptState);
273 scriptState->context()->Global()->Set(v8String(m_isolate, key), value);
374 ScriptState* scriptState = ScriptState::forMainWorld(frame)
    [all...]
  /external/chromium_org/third_party/WebKit/Source/bindings/templates/
callback_interface.cpp 17 {{v8_class}}::{{v8_class}}(v8::Handle<v8::Function> callback, ScriptState* scriptState)
18 : ActiveDOMCallback(scriptState->executionContext())
19 , m_scriptState(scriptState)
21 m_callback.set(scriptState->isolate(), callback);
39 ScriptState::Scope scope(m_scriptState.get());
attributes.cpp 43 ScriptState* scriptState = ScriptState::current(info.GetIsolate());
156 ScriptState* scriptState = ScriptState::from(info.GetIsolate()->GetCurrentContext());
157 V8PerContextData* contextData = scriptState->perContextData();
159 if (scriptState->world().isIsolatedWorld() && contextData && contextData->activityLogger())
309 ScriptState* scriptState = ScriptState::from(info.GetIsolate()->GetCurrentContext())
    [all...]
  /external/chromium_org/third_party/WebKit/Source/modules/indexeddb/
IDBIndex.cpp 68 ScriptValue IDBIndex::keyPath(ScriptState* scriptState) const
70 return idbAnyToScriptValue(scriptState, IDBAny::create(m_metadata.keyPath));
73 IDBRequest* IDBIndex::openCursor(ScriptState* scriptState, const ScriptValue& range, const String& directionString, ExceptionState& exceptionState)
92 IDBKeyRange* keyRange = IDBKeyRange::fromScriptValue(scriptState->executionContext(), range, exceptionState);
101 return openCursor(scriptState, keyRange, direction);
104 IDBRequest* IDBIndex::openCursor(ScriptState* scriptState, IDBKeyRange* keyRange, WebIDBCursorDirection direction)
106 IDBRequest* request = IDBRequest::create(scriptState, IDBAny::create(this), m_transaction.get())
    [all...]
IDBTransaction.h 29 #include "bindings/core/v8/ScriptState.h"
60 static IDBTransaction* create(ScriptState*, int64_t, const Vector<String>& objectStoreNames, WebIDBTransactionMode, IDBDatabase*);
61 static IDBTransaction* create(ScriptState*, int64_t, IDBDatabase*, IDBOpenDBRequest*, const IDBDatabaseMetadata& previousMetadata);
110 IDBTransaction(ScriptState*, int64_t, const Vector<String>&, WebIDBTransactionMode, IDBDatabase*, IDBOpenDBRequest*, const IDBDatabaseMetadata&);
InspectorIndexedDBAgent.cpp 37 #include "bindings/core/v8/ScriptState.h"
139 ExecutableWithDatabase(ScriptState* scriptState)
140 : m_scriptState(scriptState) { }
146 ScriptState* scriptState() const { return m_scriptState.get(); }
148 RefPtr<ScriptState> m_scriptState;
181 V8PerIsolateData::from(m_executableWithDatabase->scriptState()->isolate())->ensureIDBPendingTransactionMonitor()->deactivateNewTransactions();
196 IDBOpenDBRequest* idbOpenDBRequest = idbFactory->open(scriptState(), databaseName, exceptionState);
204 static IDBTransaction* transactionForDatabase(ScriptState* scriptState, IDBDatabase* idbDatabase, const String& objectStoreName, const String& mode = Indexe (…)
    [all...]
IDBRequest.h 32 #include "bindings/core/v8/ScriptState.h"
63 static IDBRequest* create(ScriptState*, IDBAny* source, IDBTransaction*);
68 ScriptState* scriptState() { return m_scriptState.get(); }
132 IDBRequest(ScriptState*, IDBAny* source, IDBTransaction*);
149 RefPtr<ScriptState> m_scriptState;
  /external/chromium_org/third_party/WebKit/Source/modules/serviceworkers/
ServiceWorkerRegistration.h 22 class ScriptState;
56 ScriptPromise unregister(ScriptState*);
RespondWithObserver.cpp 30 static v8::Handle<v8::Function> createFunction(ScriptState* scriptState, RespondWithObserver* observer, ResolveType type)
32 ThenFunction* self = new ThenFunction(scriptState, observer, type);
43 ThenFunction(ScriptState* scriptState, RespondWithObserver* observer, ResolveType type)
44 : ScriptFunction(scriptState)
86 void RespondWithObserver::respondWith(ScriptState* scriptState, const ScriptValue& value, ExceptionState& exceptionState)
95 ScriptPromise::cast(scriptState, value).then(
96 ThenFunction::createFunction(scriptState, this, ThenFunction::Fulfilled)
    [all...]
WaitUntilObserver.cpp 29 static v8::Handle<v8::Function> createFunction(ScriptState* scriptState, WaitUntilObserver* observer, ResolveType type)
31 ThenFunction* self = new ThenFunction(scriptState, observer, type);
42 ThenFunction(ScriptState* scriptState, WaitUntilObserver* observer, ResolveType type)
43 : ScriptFunction(scriptState)
79 void WaitUntilObserver::waitUntil(ScriptState* scriptState, const ScriptValue& value)
82 ScriptPromise::cast(scriptState, value).then(
83 ThenFunction::createFunction(scriptState, this, ThenFunction::Fulfilled)
    [all...]
  /external/chromium_org/third_party/WebKit/Source/modules/webmidi/
NavigatorWebMIDI.cpp 73 ScriptPromise NavigatorWebMIDI::requestMIDIAccess(ScriptState* scriptState, Navigator& navigator, const MIDIOptions& options)
75 return NavigatorWebMIDI::from(navigator).requestMIDIAccess(scriptState, options);
78 ScriptPromise NavigatorWebMIDI::requestMIDIAccess(ScriptState* scriptState, const MIDIOptions& options)
81 RefPtr<ScriptPromiseResolver> resolver = ScriptPromiseResolver::create(scriptState);
88 return MIDIAccessInitializer::start(scriptState, options);
  /external/chromium_org/third_party/WebKit/Source/modules/crypto/
SubtleCrypto.cpp 78 static bool canAccessWebCrypto(ScriptState* scriptState, CryptoResult* result)
80 const SecurityOrigin* origin = scriptState->executionContext()->securityOrigin();
90 static ScriptPromise startCryptoOperation(ScriptState* scriptState, const Dictionary& rawAlgorithm, CryptoKey* key, WebCryptoOperation operationType, const ArrayPiece& signature, const ArrayPiece& dataBuffer)
92 RefPtr<CryptoResultImpl> result = CryptoResultImpl::create(scriptState);
95 if (!canAccessWebCrypto(scriptState, result.get()))
196 ScriptPromise SubtleCrypto::encrypt(ScriptState* scriptState, const Dictionary& rawAlgorithm, CryptoKey* key, const ArrayPiece& data)
198 return startCryptoOperation(scriptState, rawAlgorithm, key, WebCryptoOperationEncrypt, ArrayPiece(), data)
    [all...]
  /external/chromium_org/third_party/WebKit/Source/bindings/core/v8/custom/
V8InjectedScriptManager.cpp 92 ScriptValue InjectedScriptManager::createInjectedScript(const String& scriptSource, ScriptState* inspectedScriptState, int id)
95 ScriptState::Scope scope(inspectedScriptState);
120 bool InjectedScriptManager::canAccessInspectedWindow(ScriptState* scriptState)
122 ScriptState::Scope scope(scriptState);
123 v8::Local<v8::Object> global = scriptState->context()->Global();
126 v8::Handle<v8::Object> holder = V8Window::findInstanceInPrototypeChain(global, scriptState->isolate());
131 return BindingSecurity::shouldAllowAccessToFrame(scriptState->isolate(), frame, DoNotReportSecurityError);
  /external/chromium_org/third_party/WebKit/Source/core/inspector/
PageRuntimeAgent.h 34 #include "bindings/core/v8/ScriptState.h"
58 void didCreateIsolatedContext(LocalFrame*, ScriptState*, SecurityOrigin*);
  /external/chromium_org/third_party/WebKit/Source/modules/credentialmanager/
CredentialsContainer.cpp 97 CredentialManagerClient* client = CredentialManagerClient::from(resolver->scriptState()->executionContext());
103 SecurityOrigin* securityOrigin = resolver->scriptState()->executionContext()->securityOrigin();
113 ScriptPromise CredentialsContainer::request(ScriptState* scriptState, const Dictionary&)
115 RefPtr<ScriptPromiseResolver> resolver = ScriptPromiseResolver::create(scriptState);
121 CredentialManagerClient::from(scriptState->executionContext())->dispatchRequest(false, tempVector, new RequestCallbacks(resolver));
125 ScriptPromise CredentialsContainer::notifySignedIn(ScriptState* scriptState, Credential* credential)
127 RefPtr<ScriptPromiseResolver> resolver = ScriptPromiseResolver::create(scriptState);
132 CredentialManagerClient::from(scriptState->executionContext())->dispatchSignedIn(WebCredential(credential->platformCredential()), new Notifi (…)
    [all...]
  /external/chromium_org/third_party/WebKit/Source/modules/encryptedmedia/
SimpleContentDecryptionModuleResult.cpp 10 #include "bindings/core/v8/ScriptState.h"
44 SimpleContentDecryptionModuleResult::SimpleContentDecryptionModuleResult(ScriptState* scriptState)
45 : m_resolver(ScriptPromiseResolver::create(scriptState))
  /external/chromium_org/third_party/WebKit/Source/modules/push_messaging/
PushManager.cpp 11 #include "bindings/core/v8/ScriptState.h"
31 ScriptPromise PushManager::registerPushMessaging(ScriptState* scriptState, const String& senderId)
33 ASSERT(scriptState->executionContext()->isDocument());
35 Document* document = toDocument(scriptState->executionContext());
37 return ScriptPromise::rejectWithDOMException(scriptState, DOMException::create(AbortError, "Document is detached from window."));
41 return ScriptPromise::rejectWithDOMException(scriptState, DOMException::create(AbortError, "No Service Worker installed for this document."));
46 RefPtr<ScriptPromiseResolver> resolver = ScriptPromiseResolver::create(scriptState);
  /external/chromium_org/third_party/WebKit/Source/modules/screen_orientation/
ScreenScreenOrientation.cpp 8 #include "bindings/core/v8/ScriptState.h"
30 ScreenOrientation* ScreenScreenOrientation::orientation(ScriptState* state, Screen& screen)

Completed in 1354 milliseconds

1 2 3 4 56 7 8 91011>>