Lines Matching defs:wrapper
44 * This class provides the internal pointer to be stored in the wrapper objects,
120 // Creates and returns a new wrapper object.
123 // Associates the instance with the existing wrapper. Returns |wrapper|.
124 virtual v8::Handle<v8::Object> associateWithWrapper(const WrapperTypeInfo*, v8::Handle<v8::Object> wrapper, v8::Isolate*);
126 void setWrapper(v8::Handle<v8::Object> wrapper, v8::Isolate* isolate, const WrapperTypeInfo* wrapperTypeInfo)
129 if (!*wrapper) {
133 v8::Persistent<v8::Object> persistent(isolate, wrapper);
182 v8::Persistent<v8::Object> wrapper;
183 getPersistent(&wrapper);
184 wrapper.MarkPartiallyDependent();
185 isolate->SetObjectGroupId(v8::Persistent<v8::Value>::Cast(wrapper), groupId);
227 // We must not get deleted as long as we contain a wrapper. If this happens, we screwed up ref
237 // it means that ScriptWrappable still has a wrapper. In this case, the destructor
238 // must not be called since the wrapper has a persistent handle back to this ScriptWrappable object.
257 void disposeWrapper(v8::Local<v8::Object> wrapper)
264 ASSERT(wrapper == persistent);