Home | History | Annotate | Download | only in js

Lines Matching refs:HandleWrapper

19 class HandleWrapper : public gin::Wrappable<HandleWrapper> {
23 static gin::Handle<HandleWrapper> Create(v8::Isolate* isolate,
25 return gin::CreateHandle(isolate, new HandleWrapper(handle));
36 HandleWrapper(MojoHandle handle);
37 virtual ~HandleWrapper();
59 struct Converter<gin::Handle<gin::HandleWrapper> > {
61 v8::Isolate* isolate, const gin::Handle<gin::HandleWrapper>& val) {
66 gin::Handle<gin::HandleWrapper>* out) {
68 *out = HandleWrapper::Create(isolate, MOJO_HANDLE_INVALID);
72 gin::HandleWrapper* object = NULL;
73 if (!Converter<gin::HandleWrapper*>::FromV8(isolate, val, &object)) {
76 *out = gin::Handle<gin::HandleWrapper>(val, object);