Lines Matching defs:ScriptWrappable
100 * ScriptWrappable wraps a V8 object and its WrapperTypeInfo.
102 * ScriptWrappable acts much like a v8::Persistent<> in that it keeps a
106 * - new: an empty ScriptWrappable.
111 class ScriptWrappable : public ScriptWrappableBase {
113 ScriptWrappable() : m_wrapper(0) { }
155 static bool wrapperCanBeStoredInObject(const ScriptWrappable*) { return true; }
157 static ScriptWrappable* fromObject(const void*)
163 static ScriptWrappable* fromObject(ScriptWrappable* object)
176 void markAsDependentGroup(ScriptWrappable* groupRoot, v8::Isolate* isolate)
210 static void assertWrapperSanity(ScriptWrappable* object, T* objectAsT)
225 virtual ~ScriptWrappable()
233 // With Oilpan we don't need a ScriptWrappable destructor.
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.
269 static void setWeakCallback(const v8::WeakCallbackData<v8::Object, ScriptWrappable>& data)
291 // - T inherits from ScriptWrappable and has DEFINE_WRAPPERTYPEINFO().
293 // If a DOM class T does not inherit from ScriptWrappable, you have to write
295 // IDL code generator know that T does not inherit from ScriptWrappable. Note
298 // All the derived classes of ScriptWrappable, regardless of directly or