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

1 2 3 4 5 6 7 891011>>

  /external/chromium_org/third_party/WebKit/Source/bindings/templates/
methods.cpp 127 {{argument.name}} = V8EventListenerList::getEventListener(ScriptState::current(info.GetIsolate()), info[{{argument.index}}], false, ListenerFindOnly);
129 {{argument.name}} = V8EventListenerList::getEventListener(ScriptState::current(info.GetIsolate()), info[{{argument.index}}], false, ListenerFindOrCreate);
142 {{argument.name}} = V8{{argument.idl_type}}::create(v8::Handle<v8::Function>::Cast(info[{{argument.index}}]), ScriptState::current(info.GetIsolate()));
153 {{argument.name}} = {% if argument.is_nullable %}info[{{argument.index}}]->IsNull() ? nullptr : {% endif %}V8{{argument.idl_type}}::create(v8::Handle<v8::Function>::Cast(info[{{argument.index}}]), ScriptState::current(info.GetIsolate()));
213 {# [CallWith=ScriptState] #}
214 ScriptState* scriptState = ScriptState::current(info.GetIsolate());
223 RefPtrWillBeRawPtr<ScriptArguments> scriptArguments(createScriptArguments(scriptState, info, {{method.number_of_arguments}}));
328 v8SetReturnValue(info, exceptionState.reject(ScriptState::current(info.GetIsolate())).v8Value()
    [all...]
  /external/chromium_org/third_party/WebKit/Source/bindings/core/v8/custom/
V8WindowCustom.cpp 85 ScriptState* scriptState = ScriptState::current(info.GetIsolate());
124 action = adoptPtr(new ScheduledAction(scriptState, v8::Handle<v8::Function>::Cast(function), paramCount, params.get(), info.GetIsolate()));
131 action = adoptPtr(new ScheduledAction(scriptState, functionString, KURL(), info.GetIsolate()));
305 explicit DialogHandler(v8::Handle<v8::Value> dialogArguments, ScriptState* scriptState)
306 : m_scriptState(scriptState)
315 RefPtr<ScriptState> m_scriptState;
316 RefPtr<ScriptState> m_scriptStateForDialogFrame
    [all...]
  /external/chromium_org/third_party/WebKit/Source/bindings/core/v8/
WindowProxy.cpp 124 ScriptState::Scope scope(m_scriptState.get());
199 ScriptState::Scope scope(m_scriptState.get());
267 m_scriptState = ScriptState::create(context, m_world);
330 ScriptState::Scope scope(m_scriptState.get());
462 ScriptState::Scope scope(m_scriptState.get());
479 ScriptState::Scope scope(m_scriptState.get());
V8AbstractEventListener.cpp 46 V8AbstractEventListener::V8AbstractEventListener(bool isAttribute, ScriptState* scriptState)
49 , m_scriptState(scriptState)
50 , m_isolate(scriptState->isolate())
78 if (scriptState()->contextIsValid())
80 if (!scriptState()->executionContext())
83 if (scriptState()->executionContext()->isJSExecutionForbidden())
92 ScriptState::Scope scope(scriptState());
95 v8::Handle<v8::Value> jsEvent = toV8(event, scriptState()->context()->Global(), isolate())
    [all...]
ScriptDebugServer.cpp 378 ScriptState* scriptState = m_pausedScriptState ? m_pausedScriptState.get() : ScriptState::current(m_isolate);
379 ScriptState::Scope scope(scriptState);
380 return ScriptValue(scriptState, toV8(currentCallFrame.release(), scriptState->context()->Global(), m_isolate));
429 ScriptState* pausedScriptState = ScriptState::current(thisPtr->m_isolate);
435 void ScriptDebugServer::handleProgramBreak(ScriptState* pausedScriptState, v8::Handle<v8::Object> executionState, v8::Handle<v8::Value> exception, v8::Ha (…)
    [all...]
V8EventListener.cpp 41 V8EventListener::V8EventListener(v8::Local<v8::Object> listener, bool isAttribute, ScriptState* scriptState)
42 : V8AbstractEventListener(isAttribute, scriptState)
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();
ScriptEventListener.cpp 35 #include "bindings/core/v8/ScriptState.h"
142 return ScriptValue(ScriptState::from(context), function);
145 ScriptState* eventListenerHandlerScriptState(LocalFrame* frame, EventListener* listener)
152 return ScriptState::from(v8Context);
ScriptPromiseTest.cpp 51 static v8::Handle<v8::Function> createFunction(ScriptState* scriptState, String* value)
53 Function* self = new Function(scriptState, value);
58 Function(ScriptState* scriptState, String* value)
59 : ScriptFunction(scriptState)
90 ScriptState* scriptState() const { return m_scope.scriptState(); }
101 ScriptPromise promise(scriptState(), v8::Undefined(isolate()))
    [all...]
ScriptStreamer.cpp 217 void ScriptStreamer::startStreaming(PendingScript& script, Settings* settings, ScriptState* scriptState, PendingScript::Type scriptType)
222 bool startedStreaming = startStreamingInternal(script, settings, scriptState, scriptType);
374 bool ScriptStreamer::startStreamingInternal(PendingScript& script, Settings* settings, ScriptState* scriptState, PendingScript::Type scriptType)
413 if (scriptState->contextIsValid())
415 ScriptState::Scope scope(scriptState);
428 v8::ScriptCompiler::ScriptStreamingTask* scriptStreamingTask = v8::ScriptCompiler::StartStreamingScript(scriptState->isolate(), &(streamer->m_source), compileOption);
WorkerScriptController.cpp 172 m_scriptState = ScriptState::create(context, m_world);
174 ScriptState::Scope scope(m_scriptState.get());
202 ScriptState::Scope scope(m_scriptState.get());
V8ErrorHandler.cpp 45 V8ErrorHandler::V8ErrorHandler(v8::Local<v8::Object> listener, bool isInline, ScriptState* scriptState)
46 : V8EventListener(listener, isInline, scriptState)
60 v8::Local<v8::Object> listener = getListenerObject(scriptState()->executionContext());
64 v8::Local<v8::Object> thisValue = scriptState()->context()->Global();
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());
V8NodeFilterCondition.cpp 43 V8NodeFilterCondition::V8NodeFilterCondition(v8::Handle<v8::Value> filter, v8::Handle<v8::Object> owner, ScriptState* scriptState)
44 : m_scriptState(scriptState)
50 V8HiddenValue::setHiddenValue(scriptState->isolate(), owner, V8HiddenValue::condition(scriptState->isolate()), filter);
51 m_filter.set(scriptState->isolate(), filter);
  /external/chromium_org/third_party/WebKit/Source/modules/indexeddb/
IDBKeyRange.cpp 68 ScriptValue IDBKeyRange::lowerValue(ScriptState* scriptState) const
70 return idbKeyToScriptValue(scriptState, m_lower);
73 ScriptValue IDBKeyRange::upperValue(ScriptState* scriptState) const
75 return idbKeyToScriptValue(scriptState, m_upper);
IDBOpenDBRequest.cpp 41 IDBOpenDBRequest* IDBOpenDBRequest::create(ScriptState* scriptState, IDBDatabaseCallbacks* callbacks, int64_t transactionId, int64_t version)
43 IDBOpenDBRequest* request = adoptRefCountedGarbageCollectedWillBeNoop(new IDBOpenDBRequest(scriptState, callbacks, transactionId, version));
48 IDBOpenDBRequest::IDBOpenDBRequest(ScriptState* scriptState, IDBDatabaseCallbacks* callbacks, int64_t transactionId, int64_t version)
49 : IDBRequest(scriptState, IDBAny::createNull(), 0)
105 m_transaction = IDBTransaction::create(scriptState(), m_transactionId, idbDatabase, this, oldMetadata);
IDBTransaction.cpp 47 IDBTransaction* IDBTransaction::create(ScriptState* scriptState, int64_t id, const Vector<String>& objectStoreNames, WebIDBTransactionMode mode, IDBDatabase* db)
50 IDBTransaction* transaction = adoptRefCountedGarbageCollectedWillBeNoop(new IDBTransaction(scriptState, id, objectStoreNames, mode, db, openDBRequest, IDBDatabaseMetadata()));
55 IDBTransaction* IDBTransaction::create(ScriptState* scriptState, int64_t id, IDBDatabase* db, IDBOpenDBRequest* openDBRequest, const IDBDatabaseMetadata& previousMetadata)
57 IDBTransaction* transaction = adoptRefCountedGarbageCollectedWillBeNoop(new IDBTransaction(scriptState, id, Vector<String>(), WebIDBTransactionModeVersionChange, db, openDBRequest, previousMetadata));
62 IDBTransaction::IDBTransaction(ScriptState* scriptState, int64_t id, const Vector<String>& objectStoreNames, WebIDBTransactionMode mode, IDBDatabase* db, IDBOpenDBRequest* openDBRequest, const IDBDatabaseMetadata& previousMetadata)
63 : ActiveDOMObject(scriptState->executionContext())
80 V8PerIsolateData::from(scriptState->isolate())->ensureIDBPendingTransactionMonitor()->addNewTransaction(*this)
    [all...]
  /external/chromium_org/third_party/WebKit/Source/modules/serviceworkers/
CacheTest.cpp 161 ScriptState* scriptState() { return ScriptState::forMainWorld(m_page->document().frame()); }
162 ExecutionContext* executionContext() { return scriptState()->executionContext(); }
163 v8::Isolate* isolate() { return scriptState()->isolate(); }
177 promise.then(UnreachableFunction::create(scriptState()), TestFunction::create(scriptState(), &onReject));
191 promise.then(TestFunction::create(scriptState(), &onResolve), UnreachableFunction::create(scriptState()));
206 static v8::Handle<v8::Function> create(ScriptState* scriptState
    [all...]
RequestTest.cpp 8 #include "bindings/core/v8/ScriptState.h"
26 ScriptState* scriptState() { return ScriptState::forMainWorld(m_page->document().frame()); }
27 ExecutionContext* executionContext() { return scriptState()->executionContext(); }
FetchManager.cpp 10 #include "bindings/core/v8/ScriptState.h"
330 ScriptState* state = m_resolver->scriptState();
331 ScriptState::Scope scope(state);
354 ScriptPromise FetchManager::fetch(ScriptState* scriptState, const FetchRequestData* request)
356 RefPtr<ScriptPromiseResolver> resolver = ScriptPromiseResolver::create(scriptState);
ServiceWorker.cpp 36 #include "bindings/core/v8/ScriptState.h"
50 static v8::Handle<v8::Function> createFunction(ScriptState* scriptState, PassRefPtrWillBeRawPtr<ServiceWorker> observer)
52 ThenFunction* self = new ThenFunction(scriptState, observer);
63 ThenFunction(ScriptState* scriptState, PassRefPtrWillBeRawPtr<ServiceWorker> observer)
64 : ScriptFunction(scriptState)
169 RefPtrWillBeRawPtr<ServiceWorker> serviceWorker = getOrCreate(resolver->scriptState()->executionContext(), worker);
170 ScriptState::Scope scope(resolver->scriptState());
    [all...]
ServiceWorkerContainer.cpp 36 #include "bindings/core/v8/ScriptState.h"
103 ScriptPromise ServiceWorkerContainer::registerServiceWorker(ScriptState* scriptState, const String& url, const RegistrationOptionList& options)
106 RefPtr<ScriptPromiseResolver> resolver = ScriptPromiseResolver::create(scriptState);
116 ExecutionContext* executionContext = scriptState->executionContext();
156 ScriptPromise ServiceWorkerContainer::getRegistration(ScriptState* scriptState, const String& documentURL)
159 RefPtr<ScriptPromiseResolver> resolver = ScriptPromiseResolver::create(scriptState);
164 ExecutionContext* executionContext = scriptState->executionContext();
187 ScriptPromise ServiceWorkerContainer::ready(ScriptState* callerState
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/inspector/
InspectorTimelineAgent.h 74 class ScriptState;
196 void consoleTimeEnd(ExecutionContext*, const String&, ScriptState*);
197 void consoleTimeline(ExecutionContext*, const String& title, ScriptState*);
198 void consoleTimelineEnd(ExecutionContext*, const String& title, ScriptState*);
  /external/chromium_org/third_party/WebKit/Source/modules/webmidi/
MIDIAccessInitializer.cpp 20 MIDIAccessInitializer::MIDIAccessInitializer(ScriptState* scriptState, const MIDIOptions& options)
21 : ScriptPromiseResolver(scriptState)
95 return scriptState()->executionContext();
  /external/chromium_org/third_party/WebKit/Source/core/frame/csp/
CSPDirectiveList.h 39 bool allowEval(ScriptState*, ContentSecurityPolicy::ReportingStatus) const;
85 void reportViolationWithState(const String& directiveText, const String& effectiveDirective, const String& message, const KURL& blockedURL, ScriptState*) const;
97 bool checkEvalAndReportViolation(SourceListDirective*, const String& consoleMessage, ScriptState*) const;
  /external/chromium_org/third_party/WebKit/Source/core/testing/
Internals.idl 256 [CallWith=ScriptState] Promise createResolvedPromise(any value);
257 [CallWith=ScriptState] Promise createRejectedPromise(any reason);
258 [CallWith=ScriptState] Promise addOneToPromise(Promise promise);
259 [CallWith=ScriptState, RaisesException] Promise promiseCheck(long arg1, boolean arg2, Dictionary arg3, DOMString arg4, DOMString[] arg5);
260 [CallWith=ScriptState] Promise promiseCheckWithoutExceptionState(Dictionary arg1, DOMString arg2, DOMString... variadic);
261 [CallWith=ScriptState] Promise promiseCheckRange([EnforceRange] octet arg1);
  /external/chromium_org/third_party/WebKit/Source/core/css/
FontFaceSet.cpp 31 #include "bindings/core/v8/ScriptState.h"
53 static PassRefPtrWillBeRawPtr<LoadFontPromiseResolver> create(FontFaceArray faces, ScriptState* scriptState)
55 return adoptRefWillBeNoop(new LoadFontPromiseResolver(faces, scriptState));
67 LoadFontPromiseResolver(FontFaceArray faces, ScriptState* scriptState)
70 , m_resolver(ScriptPromiseResolver::create(scriptState))
118 static PassOwnPtr<FontsReadyPromiseResolver> create(ScriptState* scriptState)
120 return adoptPtr(new FontsReadyPromiseResolver(scriptState));
    [all...]

Completed in 1306 milliseconds

1 2 3 4 5 6 7 891011>>