Searched defs:scriptState (Results 1 - 25 of 148) sorted by relevance

123456

/external/chromium_org/third_party/WebKit/Source/bindings/core/v8/
H A DV8EventListenerList.cpp40 PassRefPtr<EventListener> V8EventListenerList::getEventListener(ScriptState* scriptState, v8::Local<v8::Value> value, bool isAttribute, ListenerLookupType lookup) argument
42 ASSERT(!scriptState->contextIsValid());
47 return V8EventListenerList::findWrapper(value, scriptState);
49 if (toDOMWindow(scriptState->context()))
50 return V8EventListenerList::findOrCreateWrapper<V8EventListener>(value, isAttribute, scriptState);
51 return V8EventListenerList::findOrCreateWrapper<V8WorkerGlobalScopeEventListener>(value, isAttribute, scriptState);
H A DScriptFunction.h46 // static v8::Handle<v8::Function> createFunction(ScriptState* scriptState)
48 // DerivedFunction* self = new DerivedFunction(scriptState);
55 ScriptState* scriptState() const { return m_scriptState.get(); } function in class:blink::ScriptFunction
59 explicit ScriptFunction(ScriptState* scriptState) argument
60 : m_scriptState(scriptState)
H A DScriptFunctionCall.h44 ScriptCallArgumentHandler(ScriptState* scriptState) : m_scriptState(scriptState) { } argument
H A DScriptPromiseResolver.cpp12 ScriptPromiseResolver::ScriptPromiseResolver(ScriptState* scriptState) argument
13 : ActiveDOMObject(scriptState->executionContext())
15 , m_scriptState(scriptState)
18 , m_resolver(scriptState)
H A DV8ErrorHandler.h45 static PassRefPtr<V8ErrorHandler> create(v8::Local<v8::Object> listener, bool isInline, ScriptState* scriptState) argument
47 return adoptRef(new V8ErrorHandler(listener, isInline, scriptState));
H A DV8EventListener.h47 static PassRefPtr<V8EventListener> create(v8::Local<v8::Object> listener, bool isAttribute, ScriptState* scriptState) argument
49 return adoptRef(new V8EventListener(listener, isAttribute, scriptState));
H A DV8MutationCallback.h43 static PassOwnPtr<V8MutationCallback> create(v8::Handle<v8::Function> callback, v8::Handle<v8::Object> owner, ScriptState* scriptState) argument
45 return adoptPtr(new V8MutationCallback(callback, owner, scriptState));
H A DV8NodeFilterCondition.h65 static PassRefPtrWillBeRawPtr<V8NodeFilterCondition> create(v8::Handle<v8::Value> filter, v8::Handle<v8::Object> owner, ScriptState* scriptState) argument
67 return adoptRefWillBeNoop(new V8NodeFilterCondition(filter, owner, scriptState));
H A DV8WorkerGlobalScopeEventListener.h44 static PassRefPtr<V8WorkerGlobalScopeEventListener> create(v8::Local<v8::Object> listener, bool isInline, ScriptState* scriptState) argument
46 return adoptRef(new V8WorkerGlobalScopeEventListener(listener, isInline, scriptState));
H A DV8EventListener.cpp41 V8EventListener::V8EventListener(v8::Local<v8::Object> listener, bool isAttribute, ScriptState* scriptState) argument
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();
H A DV8MutationCallback.cpp39 V8MutationCallback::V8MutationCallback(v8::Handle<v8::Function> callback, v8::Handle<v8::Object> owner, ScriptState* scriptState) argument
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);
/external/chromium_org/third_party/WebKit/Source/modules/webmidi/
H A DMIDIOutputMap.cpp18 ScriptValue MIDIOutputMap::getForBinding(ScriptState* scriptState, const String& id) argument
22 return ScriptValue(scriptState, toV8(result, scriptState->context()->Global(), scriptState->isolate()));
23 return ScriptValue(scriptState, v8::Undefined(scriptState->isolate()));
H A DMIDIInputMap.cpp18 ScriptValue MIDIInputMap::getForBinding(ScriptState* scriptState, const String& id) argument
22 return ScriptValue(scriptState, toV8(result, scriptState->context()->Global(), scriptState->isolate()));
23 return ScriptValue(scriptState, v8::Undefined(scriptState->isolate()));
/external/chromium_org/third_party/WebKit/Source/bindings/tests/results/core/
H A DV8TestCallbackInterface.h19 static V8TestCallbackInterface* create(v8::Handle<v8::Function> callback, ScriptState* scriptState) argument
21 return new V8TestCallbackInterface(callback, scriptState);
/external/chromium_org/third_party/WebKit/Source/core/inspector/
H A DInjectedScriptModule.cpp46 void InjectedScriptModule::ensureInjected(InjectedScriptManager* injectedScriptManager, ScriptState* scriptState) argument
48 InjectedScript injectedScript = injectedScriptManager->injectedScriptFor(scriptState);
59 ScriptState::Scope scope(scriptState);
H A DScriptArguments.h52 ScriptState* scriptState() const { return m_scriptState.get(); } function in class:blink::ScriptArguments
H A DInjectedScriptBase.h53 ScriptState* scriptState() const function in class:blink::InjectedScriptBase
56 return m_injectedScriptObject.scriptState();
/external/chromium_org/third_party/WebKit/Source/core/testing/v8/
H A DWebCoreTestSupport.cpp42 ScriptState* scriptState = ScriptState::from(context); local
43 ScriptState::Scope scope(scriptState);
44 v8::Handle<v8::Object> global = scriptState->context()->Global();
45 ExecutionContext* executionContext = scriptState->executionContext();
47 global->Set(v8::String::NewFromUtf8(scriptState->isolate(), Internals::internalsId), toV8(Internals::create(toDocument(executionContext)), global, scriptState->isolate()));
56 ScriptState* scriptState = ScriptState::from(context);
57 ScriptState::Scope scope(scriptState);
58 Page* page = toDocument(scriptState->executionContext())->frame()->page();
/external/chromium_org/third_party/WebKit/Source/modules/push_messaging/
H A DPushManager.cpp31 ScriptPromise PushManager::registerPushMessaging(ScriptState* scriptState, const String& senderId) argument
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/bindings/templates/
H A Dcallback_interface.h19 static {{v8_class}}* create(v8::Handle<v8::Function> callback, ScriptState* scriptState) argument
21 return new {{v8_class}}(callback, scriptState);
H A Dmethods.cpp214 ScriptState* scriptState = ScriptState::current(info.GetIsolate()); variable
223 RefPtrWillBeRawPtr<ScriptArguments> scriptArguments(createScriptArguments(scriptState, info, {{method.number_of_arguments}}));
434 ScriptState* scriptState = ScriptState::from(info.GetIsolate()->GetCurrentContext());
435 V8PerContextData* contextData = scriptState->perContextData();
437 if (scriptState->world().isIsolatedWorld() && contextData && contextData->activityLogger())
514 ScriptState* scriptState = ScriptState::from(contextInPrivateScript);
516 if (!scriptState->executionContext())
519 ScriptState::Scope scope(scriptState);
520 v8::Handle<v8::Value> holder = toV8(holderImpl, scriptState->context()->Global(), scriptState
[all...]
/external/chromium_org/third_party/WebKit/Source/modules/battery/
H A DNavigatorBattery.cpp21 ScriptPromise NavigatorBattery::getBattery(ScriptState* scriptState, Navigator& navigator) argument
23 return NavigatorBattery::from(navigator).getBattery(scriptState);
26 ScriptPromise NavigatorBattery::getBattery(ScriptState* scriptState) argument
29 m_batteryManager = BatteryManager::create(scriptState->executionContext());
31 return m_batteryManager->startRequest(scriptState);
/external/chromium_org/third_party/WebKit/Source/modules/serviceworkers/
H A DExtendableEvent.cpp53 void ExtendableEvent::waitUntil(ScriptState* scriptState, const ScriptValue& value) argument
55 m_observer->waitUntil(scriptState, value);
H A DFetchEvent.cpp34 void FetchEvent::respondWith(ScriptState* scriptState, const ScriptValue& value, ExceptionState& exceptionState) argument
36 m_observer->respondWith(scriptState, value, exceptionState);
H A DInstallEvent.cpp57 ScriptPromise InstallEvent::reloadAll(ScriptState* scriptState) argument
63 return ScriptPromise::reject(scriptState, v8::Null(scriptState->isolate()));

Completed in 6839 milliseconds

123456