/external/chromium_org/third_party/WebKit/Source/core/inspector/ |
JavaScriptCallFrame.cpp | 40 : m_isolate(v8::Isolate::GetCurrent()) 41 , m_debuggerContext(m_isolate, debuggerContext) 42 , m_callFrame(m_isolate, callFrame) 54 v8::HandleScope handleScope(m_isolate); 55 v8::Handle<v8::Context> debuggerContext = m_debuggerContext.newLocal(m_isolate); 57 v8::Handle<v8::Value> callerFrame = m_callFrame.newLocal(m_isolate)->Get(v8AtomicString(m_isolate, "caller")); 67 v8::HandleScope handleScope(m_isolate); 68 v8::Context::Scope contextScope(m_debuggerContext.newLocal(m_isolate)); 69 v8::Handle<v8::Value> result = m_callFrame.newLocal(m_isolate)->Get(v8AtomicString(m_isolate, "sourceID")) [all...] |
/external/chromium_org/third_party/WebKit/Source/bindings/v8/ |
ArrayValue.cpp | 37 m_isolate = other.m_isolate; 63 ASSERT(m_isolate); 64 ASSERT(m_isolate == v8::Isolate::GetCurrent()); 65 v8::Local<v8::Value> indexedValue = m_array->Get(v8::Integer::NewFromUnsigned(index, m_isolate)); 69 value = Dictionary(indexedValue, m_isolate);
|
ArrayValue.h | 38 ArrayValue() : m_isolate(0) { } 41 , m_isolate(isolate) 43 ASSERT(m_isolate); 61 v8::Isolate* m_isolate; member in class:WebCore::ArrayValue
|
ScriptPromiseResolverTest.cpp | 48 : m_isolate(v8::Isolate::GetCurrent()) 49 , m_handleScope(m_isolate) 50 , m_context(m_isolate, v8::Context::New(m_isolate)) 51 , m_contextScope(m_context.newLocal(m_isolate)) 57 v8::Handle<v8::Context> context(m_context.newLocal(m_isolate)); 89 v8::Isolate* m_isolate; member in class:WebCore::__anon10598::ScriptPromiseResolverTest 111 m_resolver->resolve(ScriptValue(v8::Integer::New(3, m_isolate), m_isolate)); 125 m_resolver->reject(ScriptValue(v8::Integer::New(3, m_isolate), m_isolate)) [all...] |
ScriptPreprocessor.cpp | 66 m_isolate = context->GetIsolate(); 68 m_context.set(m_isolate, context); 69 m_preprocessorFunction.set(m_isolate, v8::Handle<v8::Function>::Cast(preprocessorFunction.v8Value())); 77 return preprocessSourceCode(sourceCode, sourceName, v8::Undefined(m_isolate)); 85 v8::Handle<v8::String> functionNameString = v8String(m_isolate, functionName); 94 v8::HandleScope handleScope(m_isolate); 95 v8::Context::Scope contextScope(m_context.newLocal(m_isolate)); 97 v8::Handle<v8::String> sourceCodeString = v8String(m_isolate, sourceCode); 98 v8::Handle<v8::String> sourceNameString = v8String(m_isolate, sourceName); 104 v8::Handle<v8::Value> resultValue = V8ScriptRunner::callAsFunction(m_preprocessorFunction.newLocal(m_isolate), m_context.newLocal(m_isolate)->Global(), WTF_ARRAY_LENGTH(argv), argv) [all...] |
ScriptValue.h | 48 : m_isolate(0) 54 : m_isolate(isolate) 60 : m_isolate(value.m_isolate) 67 if (!m_isolate) 68 m_isolate = v8::Isolate::GetCurrent(); 69 return m_isolate; 92 m_isolate = value.m_isolate; 164 return m_value.get() ? m_value->newLocal(m_isolate) : v8::Handle<v8::Value>() 173 mutable v8::Isolate* m_isolate; member in class:WebCore::ScriptValue [all...] |
ScriptPromiseResolver.cpp | 45 : m_isolate(promise.isolate()) 73 ASSERT(m_isolate->InContext()); 84 ASSERT(m_isolate->InContext()); 87 V8PromiseCustom::resolve(m_promise.v8Value().As<v8::Object>(), value, m_isolate); 93 ASSERT(m_isolate->InContext()); 96 V8PromiseCustom::reject(m_promise.v8Value().As<v8::Object>(), value, m_isolate); 102 ASSERT(m_isolate->InContext()); 108 ASSERT(m_isolate->InContext());
|
ScriptDebugServer.cpp | 68 v8::Handle<v8::Object> debuggerScript = m_debuggerScript.newLocal(m_isolate); 69 v8::Handle<v8::Function> function = v8::Local<v8::Function>::Cast(debuggerScript->Get(v8AtomicString(m_isolate, functionName))); 70 ASSERT(m_isolate->InContext()); 71 return V8ScriptRunner::callInternalFunction(function, debuggerScript, argc, argv, m_isolate); 77 , m_isolate(isolate) 88 v8::HandleScope scope(m_isolate); 93 info->Set(v8AtomicString(m_isolate, "sourceID"), v8String(debuggerContext->GetIsolate(), sourceID)); 94 info->Set(v8AtomicString(m_isolate, "lineNumber"), v8::Integer::New(scriptBreakpoint.lineNumber, debuggerContext->GetIsolate())); 95 info->Set(v8AtomicString(m_isolate, "columnNumber"), v8::Integer::New(scriptBreakpoint.columnNumber, debuggerContext->GetIsolate())); 96 info->Set(v8AtomicString(m_isolate, "interstatementLocation"), v8Boolean(interstatementLocation, debuggerContext->GetIsolate())) [all...] |
ExceptionState.cpp | 49 ASSERT(m_isolate); 56 setException(V8ThrowException::createDOMException(ec, processedMessage, m_creationContext, m_isolate)); 61 ASSERT(m_isolate); 65 setException(V8ThrowException::createDOMException(SecurityError, finalSanitized, finalUnsanitized, m_creationContext, m_isolate)); 76 m_exception.set(m_isolate, exception); 81 ASSERT(m_isolate); 83 setException(V8ThrowException::createTypeError(addExceptionContext(message), m_isolate));
|
V8MutationCallback.cpp | 43 , m_isolate(isolate) 45 owner->SetHiddenValue(V8HiddenPropertyName::callback(m_isolate), callback); 54 v8::HandleScope handleScope(m_isolate); 62 v8::Handle<v8::Function> callback = m_callback.newLocal(m_isolate); 66 v8::Handle<v8::Value> observerHandle = toV8(observer, v8::Handle<v8::Object>(), m_isolate); 77 v8::Handle<v8::Value> argv[] = { v8Array(mutations, m_isolate), observerHandle }; 81 ScriptController::callFunction(executionContext(), callback, thisObject, 2, argv, m_isolate); local
|
V8PerIsolateData.cpp | 40 : m_isolate(isolate) 77 m_liveRoot.set(m_isolate, v8::Null(m_isolate)); 91 m_toStringTemplate.set(m_isolate, v8::FunctionTemplate::New(m_isolate, constructorOfToString)); 92 return m_toStringTemplate.newLocal(m_isolate); 100 return result->value.newLocal(m_isolate); 101 v8::Local<v8::FunctionTemplate> templ = v8::FunctionTemplate::New(m_isolate, callback, data, signature, length); 102 templates.add(privatePointer, UnsafePersistent<v8::FunctionTemplate>(m_isolate, templ)); 111 return result->value.newLocal(m_isolate); [all...] |
V8WindowShell.cpp | 88 , m_isolate(isolate) 99 v8::HandleScope handleScope(m_isolate); 131 v8::HandleScope handleScope(m_isolate); 142 v8::Handle<v8::Object> windowWrapper = m_global.newLocal(m_isolate)->FindInstanceInPrototypeChain(V8Window::domTemplate(m_isolate, worldTypeInMainThread(m_isolate))); 190 v8::HandleScope handleScope(m_isolate); 207 m_global.set(m_isolate, context->Global()); 237 context->SetErrorMessageForCodeGenerationFromStrings(v8String(m_isolate, csp->evalDisabledErrorMessage())); 250 ScriptState* scriptState = ScriptState::forContext(v8::Local<v8::Context>::New(m_isolate, context)) 329 V8DOMWrapper::associateObjectWithWrapper<V8Window>(PassRefPtr<DOMWindow>(window), &V8Window::wrapperTypeInfo, windowWrapper, m_isolate, WrapperConfiguration::Dependent); local [all...] |
DOMRequestState.h | 42 , m_isolate(toIsolate(executionContext)) 73 return m_isolate; 81 v8::Isolate* m_isolate; member in class:WebCore::DOMRequestState
|
ScriptState.h | 53 m_exception.set(m_isolate, exception); 55 v8::Local<v8::Value> exception() { return m_exception.newLocal(m_isolate); } 60 return m_context.newLocal(m_isolate); 65 return m_isolate; 78 : m_isolate(v8::Isolate::GetCurrent()) 92 v8::Isolate* m_isolate; member in class:WebCore::ScriptState
|
CustomElementBinding.h | 48 v8::Handle<v8::Object> prototype() { return m_prototype.newLocal(m_isolate); } 54 v8::Isolate* m_isolate; member in class:WebCore::CustomElementBinding
|
WorkerScriptDebugServer.cpp | 51 ASSERT(m_isolate); 56 v8::HandleScope scope(m_isolate); 64 v8::Local<v8::Object> debuggerScript = m_debuggerScript.newLocal(m_isolate); 66 v8::Debug::SetDebugEventListener2(&WorkerScriptDebugServer::v8DebugEventCallback, v8::External::New(m_isolate, this)); 68 v8::Handle<v8::Function> getScriptsFunction = v8::Local<v8::Function>::Cast(debuggerScript->Get(v8AtomicString(m_isolate, "getWorkerScripts"))); 69 v8::Handle<v8::Value> value = V8ScriptRunner::callInternalFunction(getScriptsFunction, debuggerScript, 0, 0, m_isolate); 75 dispatchDidParseSource(listener, v8::Handle<v8::Object>::Cast(scriptsArray->Get(v8::Integer::New(i, m_isolate)))); 88 interruptAndRun(task, m_isolate);
|
ScheduledAction.cpp | 52 , m_isolate(isolate) 56 m_info.append(UnsafePersistent<v8::Value>(m_isolate, argv[i])); 62 , m_isolate(isolate) 88 v8::HandleScope handleScope(m_isolate); 90 v8::Handle<v8::Context> context = m_context.newLocal(m_isolate); 100 frame->script().callFunction(m_function.newLocal(m_isolate), context->Global(), info.size(), info.data()); 111 v8::HandleScope handleScope(m_isolate); 112 v8::Handle<v8::Context> context = m_context.newLocal(m_isolate); 118 V8ScriptRunner::callFunction(m_function.newLocal(m_isolate), worker, context->Global(), info.size(), info.data(), m_isolate); [all...] |
ScriptState.cpp | 48 , m_isolate(context->GetIsolate()) 59 v8::HandleScope handleScope(m_isolate); 60 return toDOMWindow(m_context.newLocal(m_isolate)); 65 v8::HandleScope handleScope(m_isolate); 66 return toExecutionContext(m_context.newLocal(m_isolate)); 100 v8::HandleScope handleScope(m_isolate); 106 v8::HandleScope handleScope(m_isolate);
|
ScriptPromiseResolver.h | 92 void resolve(T* value, v8::Handle<v8::Object> creationContext) { resolve(toV8NoInline(value, creationContext, m_isolate)); } 94 void reject(T* value, v8::Handle<v8::Object> creationContext) { reject(toV8NoInline(value, creationContext, m_isolate)); } 129 v8::Isolate* m_isolate; member in class:WebCore::ScriptPromiseResolver 136 ASSERT(m_isolate->InContext()); 144 ASSERT(m_isolate->InContext()); 152 ASSERT(m_isolate->InContext()); 153 resolve(value, v8::Object::New(m_isolate)); 159 ASSERT(m_isolate->InContext()); 160 reject(value, v8::Object::New(m_isolate));
|
ExceptionState.h | 62 , m_isolate(isolate) { } 70 , m_isolate(isolate) { } 78 , m_isolate(isolate) { ASSERT(m_context == ConstructionContext); } 101 V8ThrowException::throwError(m_exception.newLocal(m_isolate), m_isolate); 122 v8::Isolate* m_isolate; member in class:WebCore::ExceptionState
|
V8PerContextData.cpp | 53 v8::HandleScope handleScope(m_isolate); 54 V8PerContextDataHolder::from(v8::Local<v8::Context>::New(m_isolate, m_context))->setPerContextData(0); 66 v8::Handle<v8::String> symbol = v8::String::NewFromUtf8(m_isolate, #Name, v8::String::kInternalizedString); \ 69 v8::Handle<v8::Object> object = v8::Handle<v8::Object>::Cast(v8::Local<v8::Context>::New(m_isolate, m_context)->Global()->Get(symbol)); \ 75 m_##name##Prototype.set(m_isolate, prototypeValue); \ 80 v8::Handle<v8::Context> context = v8::Local<v8::Context>::New(m_isolate, m_context); 83 v8::Handle<v8::String> prototypeString = v8AtomicString(m_isolate, "prototype"); 98 v8::Context::Scope scope(v8::Local<v8::Context>::New(m_isolate, m_context)); 102 m_wrapperBoilerplates.set(type, UnsafePersistent<v8::Object>(m_isolate, instanceTemplate)); 112 v8::Context::Scope scope(v8::Local<v8::Context>::New(m_isolate, m_context)) [all...] |
Dictionary.cpp | 62 : m_isolate(0) 68 , m_isolate(isolate) 70 ASSERT(m_isolate); 80 m_isolate = optionsObject.m_isolate; 103 ASSERT(m_isolate); 104 ASSERT(m_isolate == v8::Isolate::GetCurrent()); 105 v8::Handle<v8::String> v8Key = v8String(m_isolate, key); 119 ASSERT(m_isolate); 120 ASSERT(m_isolate == v8::Isolate::GetCurrent()) [all...] |
V8AbstractEventListener.h | 87 return m_listener.newLocal(m_isolate); 92 return m_listener.newLocal(m_isolate); 113 v8::Isolate* isolate() const { return m_isolate; } 143 v8::Isolate* m_isolate; member in class:WebCore::V8AbstractEventListener
|
/external/chromium_org/third_party/WebKit/Source/bindings/v8/custom/ |
V8CustomXPathNSResolver.cpp | 53 , m_isolate(isolate) 64 v8::Handle<v8::String> lookupNamespaceURIName = v8AtomicString(m_isolate, "lookupNamespaceURI"); 85 v8::Handle<v8::Value> argv[argc] = { v8String(m_isolate, prefix) }; 88 v8::Handle<v8::Value> retval = ScriptController::callFunction(activeExecutionContext(), function, m_resolver, argc, argv, m_isolate);
|
V8CustomXPathNSResolver.h | 56 v8::Isolate* m_isolate; member in class:WebCore::V8CustomXPathNSResolver
|