Home
last modified time | relevance | path

Searched refs:WrapperTypeInfo (Results 1 – 25 of 78) sorted by relevance

1234

/external/chromium_org/third_party/WebKit/Source/bindings/v8/
DV8DOMWrapper.h41 struct WrapperTypeInfo;
50 …:Object> createWrapper(v8::Handle<v8::Object> creationContext, const WrapperTypeInfo*, void*, v8::…
53 …::Handle<v8::Object> associateObjectWithWrapper(PassRefPtr<T>, const WrapperTypeInfo*, v8::Handle<…
54 static inline void setNativeInfo(v8::Handle<v8::Object>, const WrapperTypeInfo*, void*);
55 static inline void clearNativeInfo(v8::Handle<v8::Object>, const WrapperTypeInfo*);
58 static bool isWrapperOfType(v8::Handle<v8::Value>, const WrapperTypeInfo*);
61 …inline void V8DOMWrapper::setNativeInfo(v8::Handle<v8::Object> wrapper, const WrapperTypeInfo* typ… in setNativeInfo()
67 …wrapper->SetAlignedPointerInInternalField(v8DOMWrapperTypeIndex, const_cast<WrapperTypeInfo*>(type… in setNativeInfo()
70 …inline void V8DOMWrapper::clearNativeInfo(v8::Handle<v8::Object> wrapper, const WrapperTypeInfo* t… in clearNativeInfo()
74 …wrapper->SetAlignedPointerInInternalField(v8DOMWrapperTypeIndex, const_cast<WrapperTypeInfo*>(type… in clearNativeInfo()
[all …]
DWrapperTypeInfo.h80 struct WrapperTypeInfo { struct
82 static const WrapperTypeInfo* unwrap(v8::Handle<v8::Value> typeInfoWrapper) in unwrap() argument
84 … return reinterpret_cast<const WrapperTypeInfo*>(v8::External::Cast(*typeInfoWrapper)->Value()); in unwrap()
88 bool equals(const WrapperTypeInfo* that) const in equals() argument
93 bool isSubclass(const WrapperTypeInfo* that) const in isSubclass() argument
95 for (const WrapperTypeInfo* current = this; current; current = current->parentClass) { in isSubclass()
148 const WrapperTypeInfo* parentClass; argument
153 …COMPILE_ASSERT(offsetof(struct WrapperTypeInfo, ginEmbedder) == offsetof(struct gin::WrapperInfo, … argument
181 inline const WrapperTypeInfo* toWrapperTypeInfo(const v8::Persistent<v8::Object>& object) in toWrapperTypeInfo()
183 return getInternalField<WrapperTypeInfo, v8DOMWrapperTypeIndex>(object); in toWrapperTypeInfo()
[all …]
DCustomElementBinding.h40 struct WrapperTypeInfo;
44 …stomElementBinding> create(v8::Isolate*, v8::Handle<v8::Object> prototype, const WrapperTypeInfo*);
49 const WrapperTypeInfo* wrapperType() { return m_wrapperType; } in wrapperType()
52 CustomElementBinding(v8::Isolate*, v8::Handle<v8::Object> prototype, const WrapperTypeInfo*);
56 const WrapperTypeInfo* m_wrapperType;
DScriptWrappable.h83 const WrapperTypeInfo* typeInfo() in typeInfo()
86 return reinterpret_cast<const WrapperTypeInfo*>(m_wrapperOrTypeInfo); in typeInfo()
94 void setTypeInfo(const WrapperTypeInfo* info) in setTypeInfo()
113 static const WrapperTypeInfo* getTypeInfoFromObject(void* object) in getTypeInfoFromObject()
119 static const WrapperTypeInfo* getTypeInfoFromObject(ScriptWrappable* object) in getTypeInfoFromObject()
124 static void setTypeInfoInObject(void* object, const WrapperTypeInfo* info) in setTypeInfoInObject()
129 static void setTypeInfoInObject(ScriptWrappable* object, const WrapperTypeInfo* info) in setTypeInfoInObject()
178 inline void disposeWrapper(v8::Local<v8::Object> value, const WrapperTypeInfo* info) in disposeWrapper()
197 const WrapperTypeInfo* info = toWrapperTypeInfo(data.GetValue()); in setWeakCallback()
DV8DOMWrapper.cpp74 …Wrapper::createWrapper(v8::Handle<v8::Object> creationContext, const WrapperTypeInfo* type, void* … in createWrapper()
106 …const WrapperTypeInfo* typeInfo = static_cast<const WrapperTypeInfo*>(object->GetAlignedPointerFro… in maybeDOMWrapper()
123 …const WrapperTypeInfo* typeInfo = static_cast<const WrapperTypeInfo*>(wrapper->GetAlignedPointerFr… in isDOMWrapper()
129 bool V8DOMWrapper::isWrapperOfType(v8::Handle<v8::Value> value, const WrapperTypeInfo* type) in isWrapperOfType()
138 …const WrapperTypeInfo* typeInfo = static_cast<const WrapperTypeInfo*>(wrapper->GetAlignedPointerFr… in isWrapperOfType()
DV8PerContextData.h127 v8::Local<v8::Object> createWrapperFromCache(const WrapperTypeInfo* type) in createWrapperFromCache()
133 v8::Local<v8::Function> constructorForType(const WrapperTypeInfo* type) in constructorForType()
141 v8::Local<v8::Object> prototypeForType(const WrapperTypeInfo*);
173 v8::Local<v8::Object> createWrapperFromCacheSlowCase(const WrapperTypeInfo*);
174 v8::Local<v8::Function> constructorForTypeSlowCase(const WrapperTypeInfo*);
178 … typedef WTF::HashMap<const WrapperTypeInfo*, UnsafePersistent<v8::Object> > WrapperBoilerplateMap;
181 typedef WTF::HashMap<const WrapperTypeInfo*, UnsafePersistent<v8::Function> > ConstructorMap;
DCustomElementConstructorBuilder.h54 struct WrapperTypeInfo;
81 bool hasValidPrototypeChainFor(const WrapperTypeInfo*) const;
88 const WrapperTypeInfo* m_wrapperType;
DV8DOMConfiguration.h53 const WrapperTypeInfo* data;
67 const WrapperTypeInfo* data;
80 … v8::External::New(isolate, const_cast<WrapperTypeInfo*>(attribute.data)), in installAttribute()
99 v8::External::New(isolate, const_cast<WrapperTypeInfo*>(attribute.data)), in installAttribute()
DCustomElementBinding.cpp36 …:create(v8::Isolate* isolate, v8::Handle<v8::Object> prototype, const WrapperTypeInfo* wrapperType) in create()
41 …Binding(v8::Isolate* isolate, v8::Handle<v8::Object> prototype, const WrapperTypeInfo* wrapperType) in CustomElementBinding()
DV8PerIsolateData.h45 struct WrapperTypeInfo;
137 v8::Handle<v8::FunctionTemplate> rawDOMTemplate(const WrapperTypeInfo*, WrapperWorldType);
139 bool hasInstance(const WrapperTypeInfo*, v8::Handle<v8::Value>, WrapperWorldType);
DV8PerContextData.cpp94 v8::Local<v8::Object> V8PerContextData::createWrapperFromCacheSlowCase(const WrapperTypeInfo* type) in createWrapperFromCacheSlowCase()
108 v8::Local<v8::Function> V8PerContextData::constructorForTypeSlowCase(const WrapperTypeInfo* type) in constructorForTypeSlowCase()
132 …Object->SetAlignedPointerInInternalField(v8PrototypeTypeIndex, const_cast<WrapperTypeInfo*>(type)); in constructorForTypeSlowCase()
143 v8::Local<v8::Object> V8PerContextData::prototypeForType(const WrapperTypeInfo* type) in prototypeForType()
DV8Initializer.cpp59 const WrapperTypeInfo* type = WrapperTypeInfo::unwrap(data); in findFrame()
114 const WrapperTypeInfo* type = toWrapperTypeInfo(obj); in messageHandlerInMainThread()
DNPV8Object.h46 const WrapperTypeInfo* npObjectTypeInfo();
/external/chromium_org/third_party/WebKit/Source/bindings/tests/results/
DV8TestInterfaceNamedConstructor.h46 static const WrapperTypeInfo wrapperTypeInfo;
59 static const WrapperTypeInfo wrapperTypeInfo;
82 …static const WrapperTypeInfo* wrapperTypeInfo() { return &V8TestInterfaceNamedConstructor::wrapper… in wrapperTypeInfo()
DV8TestNamedConstructor.h46 static const WrapperTypeInfo wrapperTypeInfo;
59 static const WrapperTypeInfo wrapperTypeInfo;
82 …static const WrapperTypeInfo* wrapperTypeInfo() { return &V8TestNamedConstructor::wrapperTypeInfo;… in wrapperTypeInfo()
DV8TestInterfacePython.h55 static const WrapperTypeInfo wrapperTypeInfo;
78 …static const WrapperTypeInfo* wrapperTypeInfo() { return &V8TestInterfacePython::wrapperTypeInfo; } in wrapperTypeInfo()
DV8TestInterfaceNamedConstructor.cpp66 const WrapperTypeInfo V8TestInterfaceNamedConstructor::wrapperTypeInfo = { gin::kEmbedderBlink, V8T…
74 const WrapperTypeInfo V8TestInterfaceNamedConstructorConstructor::wrapperTypeInfo = { gin::kEmbedde…
179 const WrapperTypeInfo* actualInfo = ScriptWrappable::getTypeInfoFromObject(impl.get()); in createWrapper()
DV8TestNamedConstructor.cpp66 const WrapperTypeInfo V8TestNamedConstructor::wrapperTypeInfo = { gin::kEmbedderBlink, V8TestNamedC…
74 const WrapperTypeInfo V8TestNamedConstructorConstructor::wrapperTypeInfo = { gin::kEmbedderBlink, V…
190 const WrapperTypeInfo* actualInfo = ScriptWrappable::getTypeInfoFromObject(impl.get()); in createWrapper()
DV8TestInterfaceEmpty.cpp65 const WrapperTypeInfo V8TestInterfaceEmpty::wrapperTypeInfo = { gin::kEmbedderBlink, V8TestInterfac…
123 const WrapperTypeInfo* actualInfo = ScriptWrappable::getTypeInfoFromObject(impl.get()); in createWrapper()
DV8TestInterfacePython2.h53 static const WrapperTypeInfo wrapperTypeInfo;
76 …static const WrapperTypeInfo* wrapperTypeInfo() { return &V8TestInterfacePython2::wrapperTypeInfo;… in wrapperTypeInfo()
DV8TestInterfaceEventTarget.cpp65 const WrapperTypeInfo V8TestInterfaceEventTarget::wrapperTypeInfo = { gin::kEmbedderBlink, V8TestIn…
128 const WrapperTypeInfo* actualInfo = ScriptWrappable::getTypeInfoFromObject(impl.get()); in createWrapper()
DV8TestInterfaceDoNotCheckConstants.cpp65 const WrapperTypeInfo V8TestInterfaceDoNotCheckConstants::wrapperTypeInfo = { gin::kEmbedderBlink, …
128 const WrapperTypeInfo* actualInfo = ScriptWrappable::getTypeInfoFromObject(impl.get()); in createWrapper()
/external/chromium_org/third_party/WebKit/Source/build/scripts/templates/
DElementWrapperFactory.cpp.tmpl74 const WrapperTypeInfo* findWrapperTypeFor{{namespace}}TagName(const AtomicString& name)
76 typedef HashMap<StringImpl*, const WrapperTypeInfo*> NameTypeMap;
86 if (const WrapperTypeInfo* result = map.get(name.impl()))
/external/chromium_org/third_party/WebKit/Source/bindings/v8/custom/
DV8TypedArrayCustom.h62 static const WrapperTypeInfo wrapperTypeInfo;
137 static const WrapperTypeInfo* info() { return &V8TypedArray<TypedArray>::wrapperTypeInfo; } in info()
179 const WrapperTypeInfo V8TypedArray<TypedArray>::wrapperTypeInfo = {
/external/chromium_org/third_party/WebKit/Source/bindings/templates/
Dinterface.h52 static const WrapperTypeInfo wrapperTypeInfo;
66 static const WrapperTypeInfo wrapperTypeInfo;
143 static const WrapperTypeInfo* wrapperTypeInfo() { return &{{v8_class}}::wrapperTypeInfo; }

1234