Home
last modified time | relevance | path

Searched refs:v8Context (Results 1 – 4 of 4) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/bindings/core/v8/
DV8LazyEventListener.cpp112 v8::Local<v8::Context> v8Context = toV8Context(context, world()); in handleEvent() local
113 if (v8Context.IsEmpty()) in handleEvent()
115 setScriptState(ScriptState::from(v8Context)); in handleEvent()
125 v8::Local<v8::Context> v8Context = toV8Context(context, world()); in prepareListenerObject() local
126 if (v8Context.IsEmpty()) in prepareListenerObject()
128 setScriptState(ScriptState::from(v8Context)); in prepareListenerObject()
DScriptEventListener.cpp151 v8::Handle<v8::Context> v8Context = frame->script().windowProxy(v8Listener->world())->context(); in eventListenerHandlerScriptState() local
152 return ScriptState::from(v8Context); in eventListenerHandlerScriptState()
DScriptController.cpp289 v8::Local<v8::Context> v8Context = m_windowProxy->context(); in disableEval() local
290 v8Context->AllowCodeGenerationFromStrings(false); in disableEval()
291 v8Context->SetErrorMessageForCodeGenerationFromStrings(v8String(m_isolate, errorMessage)); in disableEval()
/external/pdfium/fpdfsdk/src/jsapi/
Dfxjs_v8.cpp240 …v8::Handle<v8::Context> v8Context = v8::Context::New(isolate, NULL, v8::Local<v8::ObjectTemplate>:… in JS_InitialRuntime() local
241 v8::Context::Scope context_scope(v8Context); in JS_InitialRuntime()
244 v8Context->SetEmbedderData(1, ptr); in JS_InitialRuntime()
267 v8Context->Global()->GetPrototype()->ToObject()->SetInternalField(0, ptr); in JS_InitialRuntime()
270 …pObjDef->m_pConstructor(context, v8Context->Global()->GetPrototype()->ToObject(), v8Context->Globa… in JS_InitialRuntime()
276 v8Context->Global()->Set(objName, obj); in JS_InitialRuntime()
280 v8PersistentContext.Reset(isolate, v8Context); in JS_InitialRuntime()