/external/chromium_org/third_party/WebKit/Source/bindings/core/v8/ |
H A D | V8EventListenerList.cpp | 40 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 D | ScriptFunction.h | 46 // 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 D | ScriptFunctionCall.h | 44 ScriptCallArgumentHandler(ScriptState* scriptState) : m_scriptState(scriptState) { } argument
|
H A D | ScriptPromiseResolver.cpp | 12 ScriptPromiseResolver::ScriptPromiseResolver(ScriptState* scriptState) argument 13 : ActiveDOMObject(scriptState->executionContext()) 15 , m_scriptState(scriptState) 18 , m_resolver(scriptState)
|
H A D | V8ErrorHandler.h | 45 static PassRefPtr<V8ErrorHandler> create(v8::Local<v8::Object> listener, bool isInline, ScriptState* scriptState) argument 47 return adoptRef(new V8ErrorHandler(listener, isInline, scriptState));
|
H A D | V8EventListener.h | 47 static PassRefPtr<V8EventListener> create(v8::Local<v8::Object> listener, bool isAttribute, ScriptState* scriptState) argument 49 return adoptRef(new V8EventListener(listener, isAttribute, scriptState));
|
H A D | V8MutationCallback.h | 43 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 D | V8NodeFilterCondition.h | 65 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 D | V8WorkerGlobalScopeEventListener.h | 44 static PassRefPtr<V8WorkerGlobalScopeEventListener> create(v8::Local<v8::Object> listener, bool isInline, ScriptState* scriptState) argument 46 return adoptRef(new V8WorkerGlobalScopeEventListener(listener, isInline, scriptState));
|
H A D | V8EventListener.cpp | 41 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 D | V8MutationCallback.cpp | 39 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 D | MIDIOutputMap.cpp | 18 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 D | MIDIInputMap.cpp | 18 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 D | V8TestCallbackInterface.h | 19 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 D | InjectedScriptModule.cpp | 46 void InjectedScriptModule::ensureInjected(InjectedScriptManager* injectedScriptManager, ScriptState* scriptState) argument 48 InjectedScript injectedScript = injectedScriptManager->injectedScriptFor(scriptState); 59 ScriptState::Scope scope(scriptState);
|
H A D | ScriptArguments.h | 52 ScriptState* scriptState() const { return m_scriptState.get(); } function in class:blink::ScriptArguments
|
H A D | InjectedScriptBase.h | 53 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 D | WebCoreTestSupport.cpp | 42 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 D | PushManager.cpp | 31 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 D | callback_interface.h | 19 static {{v8_class}}* create(v8::Handle<v8::Function> callback, ScriptState* scriptState) argument 21 return new {{v8_class}}(callback, scriptState);
|
H A D | methods.cpp | 214 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 D | NavigatorBattery.cpp | 21 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 D | ExtendableEvent.cpp | 53 void ExtendableEvent::waitUntil(ScriptState* scriptState, const ScriptValue& value) argument 55 m_observer->waitUntil(scriptState, value);
|
H A D | FetchEvent.cpp | 34 void FetchEvent::respondWith(ScriptState* scriptState, const ScriptValue& value, ExceptionState& exceptionState) argument 36 m_observer->respondWith(scriptState, value, exceptionState);
|
H A D | InstallEvent.cpp | 57 ScriptPromise InstallEvent::reloadAll(ScriptState* scriptState) argument 63 return ScriptPromise::reject(scriptState, v8::Null(scriptState->isolate()));
|