Lines Matching refs:GetIsolate

158     v8::HandleScope scope(GetIsolate());
161 v8::String::NewFromUtf8(GetIsolate(), kModulesField));
163 v8::String::NewFromUtf8(GetIsolate(), kModuleSystem));
192 v8::EscapableHandleScope handle_scope(GetIsolate());
194 v8::String::NewFromUtf8(GetIsolate(), module_name.c_str())));
205 v8::EscapableHandleScope handle_scope(GetIsolate());
214 v8::String::NewFromUtf8(GetIsolate(), kModulesField));
216 Warn(GetIsolate(), "Extension view no longer exists");
217 return v8::Undefined(GetIsolate());
233 v8::EscapableHandleScope handle_scope(GetIsolate());
259 v8::EscapableHandleScope handle_scope(GetIsolate());
266 v8::String::NewFromUtf8(GetIsolate(), module_name.c_str()));
273 v8::Local<v8::Primitive>(v8::Undefined(GetIsolate())));
277 v8::String::NewFromUtf8(GetIsolate(), method_name.c_str()));
281 v8::Local<v8::Primitive>(v8::Undefined(GetIsolate())));
308 v8::HandleScope handle_scope(GetIsolate());
309 RunString(v8::String::NewFromUtf8(GetIsolate(), code.c_str()),
310 v8::String::NewFromUtf8(GetIsolate(), name.c_str()));
334 v8::HandleScope handle_scope(info.GetIsolate());
340 v8::String::NewFromUtf8(info.GetIsolate(), kModuleSystem));
344 Warn(info.GetIsolate(),
354 parameters->Get(v8::String::NewFromUtf8(info.GetIsolate(),
375 parameters->Get(v8::String::NewFromUtf8(info.GetIsolate(), kModuleField))
422 v8::HandleScope handle_scope(GetIsolate());
423 v8::Handle<v8::Object> parameters = v8::Object::New(GetIsolate());
424 parameters->Set(v8::String::NewFromUtf8(GetIsolate(), kModuleName),
425 v8::String::NewFromUtf8(GetIsolate(), module_name.c_str()));
426 parameters->Set(v8::String::NewFromUtf8(GetIsolate(), kModuleField),
427 v8::String::NewFromUtf8(GetIsolate(), module_field.c_str()));
428 object->SetAccessor(v8::String::NewFromUtf8(GetIsolate(), field.c_str()),
447 v8::EscapableHandleScope handle_scope(GetIsolate());
460 v8::String::NewFromUtf8(GetIsolate(),
466 return v8::Undefined(GetIsolate());
472 return v8::Undefined(GetIsolate());
479 v8::EscapableHandleScope handle_scope(GetIsolate());
481 return v8::Undefined(GetIsolate());
483 v8::Local<v8::Value>(source_map_->GetSource(GetIsolate(), module_name)));
500 return GetIsolate()->ThrowException(
501 v8::String::NewFromUtf8(GetIsolate(), "Natives disabled"));
504 return v8::Undefined(GetIsolate());
509 v8::String::NewFromUtf8(GetIsolate(), native_name.c_str()));
516 return v8::Undefined(GetIsolate());
526 v8::Promise::Resolver::New(GetIsolate()));
529 new v8::UniquePersistent<v8::Promise::Resolver>(GetIsolate(), resolver));
533 Warn(GetIsolate(), "Extension view no longer exists");
535 GetIsolate(), "Extension view no longer exists")));
538 module_registry->LoadModule(GetIsolate(),
548 v8::EscapableHandleScope handle_scope(GetIsolate());
551 GetIsolate(),
556 v8::Handle<v8::String> right = v8::String::NewFromUtf8(GetIsolate(), "\n})");
566 v8::String::NewFromUtf8(GetIsolate(), "privates");
569 privates = v8::Object::New(args.GetIsolate());
576 v8::EscapableHandleScope handle_scope(GetIsolate());
582 return v8::Undefined(GetIsolate());
589 v8::String::NewFromUtf8(GetIsolate(), module_name.c_str()));
592 return v8::Undefined(GetIsolate());
597 v8::Handle<v8::Object> define_object = v8::Object::New(GetIsolate());
598 gin::ModuleRegistry::InstallGlobals(GetIsolate(), define_object);
600 v8::Local<v8::Value> exports = v8::Object::New(GetIsolate());
607 define_object->Get(v8::String::NewFromUtf8(GetIsolate(), "define")),
610 GetIsolate(), "require", v8::String::kInternalizedString)),
612 GetIsolate(), "requireNative", v8::String::kInternalizedString)),
614 GetIsolate(), "requireAsync", v8::String::kInternalizedString)),
619 GetIsolate(), "privates", v8::String::kInternalizedString)),
635 return v8::Undefined(GetIsolate());
656 registry->AttemptToLoadMoreModules(GetIsolate());
664 v8::HandleScope handle_scope(GetIsolate());
666 v8::Local<v8::Promise::Resolver>::New(GetIsolate(), *resolver));