/external/chromium_org/third_party/WebKit/Source/bindings/core/v8/ |
H A D | ScheduledAction.cpp | 49 ScheduledAction::ScheduledAction(ScriptState* scriptState, v8::Handle<v8::Function> function, int argc, v8::Handle<v8::Value> argv[], v8::Isolate* isolate) argument 51 , m_function(isolate, function) 52 , m_info(isolate) 60 ScheduledAction::ScheduledAction(ScriptState* scriptState, const String& code, const KURL& url, v8::Isolate* isolate) argument 62 , m_info(isolate) 103 frame->script().callFunction(m_function.newLocal(m_scriptState->isolate()), m_scriptState->context()->Global(), info.size(), info.data()); 120 V8ScriptRunner::callFunction(m_function.newLocal(m_scriptState->isolate()), worker, m_scriptState->context()->Global(), info.size(), info.data(), m_scriptState->isolate());
|
H A D | ScopedPersistent.h | 45 ScopedPersistent(v8::Isolate* isolate, v8::Handle<T> handle) argument 46 : m_handle(isolate, handle) 55 ALWAYS_INLINE v8::Local<T> newLocal(v8::Isolate* isolate) const 57 return v8::Local<T>::New(isolate, m_handle); 69 void set(v8::Isolate* isolate, v8::Handle<T> handle) argument 71 m_handle.Reset(isolate, handle);
|
H A D | ScriptFunctionCall.cpp | 56 v8::Isolate* isolate = m_scriptState->isolate(); local 58 m_arguments.append(ScriptValue(m_scriptState.get(), v8String(isolate, argument))); 63 v8::Isolate* isolate = m_scriptState->isolate(); local 65 m_arguments.append(ScriptValue(m_scriptState.get(), v8String(isolate, argument))); 70 v8::Isolate* isolate = m_scriptState->isolate(); local 72 m_arguments.append(ScriptValue(m_scriptState.get(), v8::Number::New(isolate, argument))); 77 v8::Isolate* isolate local 84 v8::Isolate* isolate = m_scriptState->isolate(); local 91 v8::Isolate* isolate = m_scriptState->isolate(); local 98 v8::Isolate* isolate = m_scriptState->isolate(); local 105 v8::Isolate* isolate = m_scriptState->isolate(); local 111 v8::Isolate* isolate = m_scriptState->isolate(); local 125 v8::Isolate* isolate = m_scriptState->isolate(); local [all...] |
H A D | ScriptPromise.h | 85 v8::Isolate* isolate() const function in class:blink::FINAL 87 return m_promise.isolate();
|
H A D | ScriptRegexp.cpp | 41 v8::Isolate* isolate = v8::Isolate::GetCurrent(); local 42 v8::HandleScope handleScope(isolate); 43 v8::Context::Scope contextScope(V8PerIsolateData::from(isolate)->ensureScriptRegexpContext()); 52 v8::Local<v8::RegExp> regex = v8::RegExp::New(v8String(isolate, pattern), static_cast<v8::RegExp::Flags>(flags)); 56 m_regex.set(isolate, regex); 73 v8::Isolate* isolate = v8::Isolate::GetCurrent(); local 74 v8::HandleScope handleScope(isolate); 75 v8::Context::Scope contextScope(V8PerIsolateData::from(isolate)->ensureScriptRegexpContext()); 78 v8::Local<v8::RegExp> regex = m_regex.newLocal(isolate); 79 v8::Local<v8::Function> exec = regex->Get(v8AtomicString(isolate, "exe [all...] |
H A D | ScriptValue.h | 51 , m_value(value.IsEmpty() ? nullptr : SharedPersistent<v8::Value>::create(value, scriptState->isolate())) 68 v8::Isolate* isolate() const function in class:blink::FINAL 70 return m_scriptState ? m_scriptState->isolate() : v8::Isolate::GetCurrent();
|
H A D | V8DOMActivityLogger.cpp | 74 v8::Isolate* isolate = v8::Isolate::GetCurrent(); local 75 if (!isolate->InContext()) 78 v8::HandleScope handleScope(isolate); 79 v8::Handle<v8::Context> context = isolate->GetCurrentContext(); 92 v8::Isolate* isolate = v8::Isolate::GetCurrent(); local 93 if (!isolate->InContext()) 96 v8::HandleScope handleScope(isolate); 97 v8::Handle<v8::Context> context = isolate->GetCurrentContext();
|
H A D | V8ErrorHandler.cpp | 58 return v8::Null(isolate()); 66 v8::Local<v8::Value> error = V8HiddenValue::getHiddenValue(isolate(), jsEvent->ToObject(), V8HiddenValue::error(isolate())); 68 error = v8::Null(isolate()); 70 v8::Handle<v8::Value> parameters[5] = { v8String(isolate(), errorEvent->message()), v8String(isolate(), errorEvent->filename()), v8::Integer::New(isolate(), errorEvent->lineno()), v8::Integer::New(isolate(), errorEvent->colno()), error }; 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()); 82 storeExceptionOnErrorEventWrapper(ErrorEvent* event, v8::Handle<v8::Value> data, v8::Handle<v8::Object> creationContext, v8::Isolate* isolate) argument [all...] |
H A D | V8EventListenerList.h | 52 ASSERT(scriptState->isolate()->InContext()); 56 v8::Handle<v8::String> wrapperProperty = getHiddenProperty(false, scriptState->isolate()); 63 static void clearWrapper(v8::Handle<v8::Object> listenerObject, bool isAttribute, v8::Isolate* isolate) argument 65 v8::Handle<v8::String> wrapperProperty = getHiddenProperty(isAttribute, isolate); 74 v8::HandleScope scope(scriptState->isolate()); 75 ASSERT(scriptState->isolate()->InContext()); 82 static inline v8::Handle<v8::String> getHiddenProperty(bool isAttribute, v8::Isolate* isolate) argument 84 return isAttribute ? v8AtomicString(isolate, "attributeListener") : v8AtomicString(isolate, "listener"); 91 v8::Isolate* isolate local [all...] |
H A D | V8LazyEventListener.h | 51 static PassRefPtr<V8LazyEventListener> create(const AtomicString& functionName, const AtomicString& eventParameterName, const String& code, const String& sourceURL, const TextPosition& position, Node* node, v8::Isolate* isolate) argument 53 return adoptRef(new V8LazyEventListener(functionName, eventParameterName, code, sourceURL, position, node, isolate));
|
H A D | V8NodeFilterCondition.cpp | 50 V8HiddenValue::setHiddenValue(scriptState->isolate(), owner, V8HiddenValue::condition(scriptState->isolate()), filter); 51 m_filter.set(scriptState->isolate(), filter); 62 v8::Isolate* isolate = m_scriptState->isolate(); local 64 v8::HandleScope handleScope(isolate); 65 v8::Handle<v8::Value> filter = m_filter.newLocal(isolate); 77 v8::Local<v8::Value> value = filter->ToObject()->Get(v8AtomicString(isolate, "acceptNode")); 87 info[0] = toV8(node, context, isolate); 89 v8::Handle<v8::Value> result = ScriptController::callFunction(m_scriptState->executionContext(), callback, context, 1, info.get(), isolate); [all...] |
H A D | V8ScriptRunnerTest.cpp | 36 v8::Isolate* isolate() const function in class:blink::__anon10909::V8ScriptRunnerTest 38 return m_scope.isolate(); 67 v8String(isolate(), code()), filename(), WTF::TextPosition(), 68 m_resource.get(), 0, isolate(), NotSharableCrossOrigin, cacheOptions)
|
/external/chromium_org/third_party/WebKit/Source/bindings/core/v8/custom/ |
H A D | V8ArrayBufferCustom.h | 78 inline v8::Handle<v8::Object> wrap(ArrayBuffer* impl, v8::Handle<v8::Object> creationContext, v8::Isolate* isolate) argument 81 ASSERT(!DOMDataStore::containsWrapper<V8ArrayBuffer>(impl, isolate)); 82 return V8ArrayBuffer::createWrapper(impl, creationContext, isolate); 85 inline v8::Handle<v8::Value> toV8(ArrayBuffer* impl, v8::Handle<v8::Object> creationContext, v8::Isolate* isolate) argument 88 return v8::Null(isolate); 89 v8::Handle<v8::Value> wrapper = DOMDataStore::getWrapper<V8ArrayBuffer>(impl, isolate); 92 return wrap(impl, creationContext, isolate); 135 inline v8::Handle<v8::Value> toV8(PassRefPtr< ArrayBuffer > impl, v8::Handle<v8::Object> creationContext, v8::Isolate* isolate) argument 137 return toV8(impl.get(), creationContext, isolate);
|
H A D | V8CustomXPathNSResolver.cpp | 46 PassRefPtrWillBeRawPtr<V8CustomXPathNSResolver> V8CustomXPathNSResolver::create(v8::Handle<v8::Object> resolver, v8::Isolate* isolate) argument 48 return adoptRefWillBeNoop(new V8CustomXPathNSResolver(resolver, isolate)); 51 V8CustomXPathNSResolver::V8CustomXPathNSResolver(v8::Handle<v8::Object> resolver, v8::Isolate* isolate) argument 53 , m_isolate(isolate)
|
H A D | V8DataViewCustom.h | 62 inline v8::Handle<v8::Object> wrap(DataView* impl, v8::Handle<v8::Object> creationContext, v8::Isolate* isolate) argument 64 return V8TypedArray<DataView>::wrap(impl, creationContext, isolate); 67 inline v8::Handle<v8::Value> toV8(DataView* impl, v8::Handle<v8::Object> creationContext, v8::Isolate* isolate) argument 69 return V8TypedArray<DataView>::toV8(impl, creationContext, isolate); 90 inline v8::Handle<v8::Value> toV8(PassRefPtr< DataView > impl, v8::Handle<v8::Object> creationContext, v8::Isolate* isolate) argument 92 return toV8(impl.get(), creationContext, isolate);
|
H A D | V8ElementCustom.cpp | 160 v8::Isolate* isolate = info.GetIsolate(); local 161 ExceptionState exceptionState(ExceptionState::ExecutionContext, "animate", "Element", info.Holder(), isolate); 177 if (V8AnimationEffect::hasInstance(info[0], isolate)) { 184 UseCounter::count(callingExecutionContext(isolate), UseCounter::ElementAnimateKeyframeListEffectNoTiming); 202 if (V8AnimationEffect::hasInstance(info[0], isolate) 208 if (V8AnimationEffect::hasInstance(info[0], isolate)) { 215 UseCounter::count(callingExecutionContext(isolate), UseCounter::ElementAnimateKeyframeListEffectObjectTiming); 222 UseCounter::count(callingExecutionContext(isolate), UseCounter::ElementAnimateKeyframeListEffectDoubleTiming);
|
H A D | V8Float32ArrayCustom.h | 62 inline v8::Handle<v8::Object> wrap(Float32Array* impl, v8::Handle<v8::Object> creationContext, v8::Isolate* isolate) argument 64 return V8TypedArray<Float32Array>::wrap(impl, creationContext, isolate); 67 inline v8::Handle<v8::Value> toV8(Float32Array* impl, v8::Handle<v8::Object> creationContext, v8::Isolate* isolate) argument 69 return V8TypedArray<Float32Array>::toV8(impl, creationContext, isolate); 90 inline v8::Handle<v8::Value> toV8(PassRefPtr< Float32Array > impl, v8::Handle<v8::Object> creationContext, v8::Isolate* isolate) argument 92 return toV8(impl.get(), creationContext, isolate);
|
H A D | V8Float64ArrayCustom.h | 62 inline v8::Handle<v8::Object> wrap(Float64Array* impl, v8::Handle<v8::Object> creationContext, v8::Isolate* isolate) argument 64 return V8TypedArray<Float64Array>::wrap(impl, creationContext, isolate); 67 inline v8::Handle<v8::Value> toV8(Float64Array* impl, v8::Handle<v8::Object> creationContext, v8::Isolate* isolate) argument 69 return V8TypedArray<Float64Array>::toV8(impl, creationContext, isolate); 90 inline v8::Handle<v8::Value> toV8(PassRefPtr< Float64Array > impl, v8::Handle<v8::Object> creationContext, v8::Isolate* isolate) argument 92 return toV8(impl.get(), creationContext, isolate);
|
H A D | V8Int16ArrayCustom.h | 62 inline v8::Handle<v8::Object> wrap(Int16Array* impl, v8::Handle<v8::Object> creationContext, v8::Isolate* isolate) argument 64 return V8TypedArray<Int16Array>::wrap(impl, creationContext, isolate); 67 inline v8::Handle<v8::Value> toV8(Int16Array* impl, v8::Handle<v8::Object> creationContext, v8::Isolate* isolate) argument 69 return V8TypedArray<Int16Array>::toV8(impl, creationContext, isolate); 90 inline v8::Handle<v8::Value> toV8(PassRefPtr< Int16Array > impl, v8::Handle<v8::Object> creationContext, v8::Isolate* isolate) argument 92 return toV8(impl.get(), creationContext, isolate);
|
H A D | V8Int32ArrayCustom.h | 62 inline v8::Handle<v8::Object> wrap(Int32Array* impl, v8::Handle<v8::Object> creationContext, v8::Isolate* isolate) argument 64 return V8TypedArray<Int32Array>::wrap(impl, creationContext, isolate); 67 inline v8::Handle<v8::Value> toV8(Int32Array* impl, v8::Handle<v8::Object> creationContext, v8::Isolate* isolate) argument 69 return V8TypedArray<Int32Array>::toV8(impl, creationContext, isolate); 90 inline v8::Handle<v8::Value> toV8(PassRefPtr< Int32Array > impl, v8::Handle<v8::Object> creationContext, v8::Isolate* isolate) argument 92 return toV8(impl.get(), creationContext, isolate);
|
H A D | V8Int8ArrayCustom.h | 62 inline v8::Handle<v8::Object> wrap(Int8Array* impl, v8::Handle<v8::Object> creationContext, v8::Isolate* isolate) argument 64 return V8TypedArray<Int8Array>::wrap(impl, creationContext, isolate); 67 inline v8::Handle<v8::Value> toV8(Int8Array* impl, v8::Handle<v8::Object> creationContext, v8::Isolate* isolate) argument 69 return V8TypedArray<Int8Array>::toV8(impl, creationContext, isolate); 90 inline v8::Handle<v8::Value> toV8(PassRefPtr< Int8Array > impl, v8::Handle<v8::Object> creationContext, v8::Isolate* isolate) argument 92 return toV8(impl.get(), creationContext, isolate);
|
H A D | V8Uint16ArrayCustom.h | 62 inline v8::Handle<v8::Object> wrap(Uint16Array* impl, v8::Handle<v8::Object> creationContext, v8::Isolate* isolate) argument 64 return V8TypedArray<Uint16Array>::wrap(impl, creationContext, isolate); 67 inline v8::Handle<v8::Value> toV8(Uint16Array* impl, v8::Handle<v8::Object> creationContext, v8::Isolate* isolate) argument 69 return V8TypedArray<Uint16Array>::toV8(impl, creationContext, isolate); 90 inline v8::Handle<v8::Value> toV8(PassRefPtr< Uint16Array > impl, v8::Handle<v8::Object> creationContext, v8::Isolate* isolate) argument 92 return toV8(impl.get(), creationContext, isolate);
|
H A D | V8Uint32ArrayCustom.h | 62 inline v8::Handle<v8::Object> wrap(Uint32Array* impl, v8::Handle<v8::Object> creationContext, v8::Isolate* isolate) argument 64 return V8TypedArray<Uint32Array>::wrap(impl, creationContext, isolate); 67 inline v8::Handle<v8::Value> toV8(Uint32Array* impl, v8::Handle<v8::Object> creationContext, v8::Isolate* isolate) argument 69 return V8TypedArray<Uint32Array>::toV8(impl, creationContext, isolate); 90 inline v8::Handle<v8::Value> toV8(PassRefPtr< Uint32Array > impl, v8::Handle<v8::Object> creationContext, v8::Isolate* isolate) argument 92 return toV8(impl.get(), creationContext, isolate);
|
H A D | V8Uint8ArrayCustom.h | 62 inline v8::Handle<v8::Object> wrap(Uint8Array* impl, v8::Handle<v8::Object> creationContext, v8::Isolate* isolate) argument 64 return V8TypedArray<Uint8Array>::wrap(impl, creationContext, isolate); 67 inline v8::Handle<v8::Value> toV8(Uint8Array* impl, v8::Handle<v8::Object> creationContext, v8::Isolate* isolate) argument 69 return V8TypedArray<Uint8Array>::toV8(impl, creationContext, isolate); 90 inline v8::Handle<v8::Value> toV8(PassRefPtr< Uint8Array > impl, v8::Handle<v8::Object> creationContext, v8::Isolate* isolate) argument 92 return toV8(impl.get(), creationContext, isolate);
|
H A D | V8Uint8ClampedArrayCustom.h | 62 inline v8::Handle<v8::Object> wrap(Uint8ClampedArray* impl, v8::Handle<v8::Object> creationContext, v8::Isolate* isolate) argument 64 return V8TypedArray<Uint8ClampedArray>::wrap(impl, creationContext, isolate); 67 inline v8::Handle<v8::Value> toV8(Uint8ClampedArray* impl, v8::Handle<v8::Object> creationContext, v8::Isolate* isolate) argument 69 return V8TypedArray<Uint8ClampedArray>::toV8(impl, creationContext, isolate); 90 inline v8::Handle<v8::Value> toV8(PassRefPtr< Uint8ClampedArray > impl, v8::Handle<v8::Object> creationContext, v8::Isolate* isolate) argument 92 return toV8(impl.get(), creationContext, isolate);
|