Home
last modified time | relevance | path

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

1234

/external/chromium_org/third_party/WebKit/Source/bindings/v8/
DV8DOMWrapper.h42 struct WrapperTypeInfo;
46 …:Object> createWrapper(v8::Handle<v8::Object> creationContext, const WrapperTypeInfo*, void*, v8::…
49 …::Handle<v8::Object> associateObjectWithWrapper(PassRefPtr<T>, const WrapperTypeInfo*, v8::Handle<…
51 …andle<v8::Object> associateObjectWithWrapper(RawPtr<T> object, const WrapperTypeInfo* wrapperTypeI… in associateObjectWithWrapper()
56 …static inline v8::Handle<v8::Object> associateObjectWithWrapper(T*, const WrapperTypeInfo*, v8::Ha…
57 static inline void setNativeInfo(v8::Handle<v8::Object>, const WrapperTypeInfo*, void*);
58 …c inline void setNativeInfoForHiddenWrapper(v8::Handle<v8::Object>, const WrapperTypeInfo*, void*);
59 …void setNativeInfoWithPersistentHandle(v8::Handle<v8::Object>, const WrapperTypeInfo*, void*, Pers…
60 static inline void clearNativeInfo(v8::Handle<v8::Object>, const WrapperTypeInfo*);
65 …inline void V8DOMWrapper::setNativeInfo(v8::Handle<v8::Object> wrapper, const WrapperTypeInfo* wra… in setNativeInfo()
[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()
145 const WrapperTypeInfo* parentClass; argument
151 …COMPILE_ASSERT(offsetof(struct WrapperTypeInfo, ginEmbedder) == offsetof(struct gin::WrapperInfo, … argument
179 inline const WrapperTypeInfo* toWrapperTypeInfo(const v8::Persistent<v8::Object>& wrapper) in toWrapperTypeInfo()
181 return getInternalField<WrapperTypeInfo, v8DOMWrapperTypeIndex>(wrapper); 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;
DV8PerContextData.h74 v8::Local<v8::Object> createWrapperFromCache(const WrapperTypeInfo* type) in createWrapperFromCache()
80 v8::Local<v8::Function> constructorForType(const WrapperTypeInfo* type) in constructorForType()
86 v8::Local<v8::Object> prototypeForType(const WrapperTypeInfo*);
100 v8::Local<v8::Object> createWrapperFromCacheSlowCase(const WrapperTypeInfo*);
101 v8::Local<v8::Function> constructorForTypeSlowCase(const WrapperTypeInfo*);
105 typedef V8PersistentValueMap<const WrapperTypeInfo*, v8::Object, false> WrapperBoilerplateMap;
108 typedef V8PersistentValueMap<const WrapperTypeInfo*, v8::Function, false> ConstructorMap;
DV8PerIsolateData.h46 struct WrapperTypeInfo;
92 bool hasInstance(const WrapperTypeInfo*, v8::Handle<v8::Value>);
93 …v8::Handle<v8::Object> findInstanceInPrototypeChain(const WrapperTypeInfo*, v8::Handle<v8::Value>);
106 bool hasInstance(const WrapperTypeInfo*, v8::Handle<v8::Value>, DOMTemplateMap&);
107 …v8::Handle<v8::Object> findInstanceInPrototypeChain(const WrapperTypeInfo*, v8::Handle<v8::Value>,…
DCustomElementConstructorBuilder.h53 struct WrapperTypeInfo;
80 bool hasValidPrototypeChainFor(const WrapperTypeInfo*) const;
87 const WrapperTypeInfo* m_wrapperType;
DV8DOMConfiguration.h53 const WrapperTypeInfo* data;
67 const WrapperTypeInfo* data;
88 v8::External::New(isolate, const_cast<WrapperTypeInfo*>(attribute.data)), in installAttribute()
122 …static v8::Handle<v8::FunctionTemplate> domClassTemplate(v8::Isolate*, WrapperTypeInfo*, void (*)(…
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()
DV8DOMWrapper.cpp71 …Wrapper::createWrapper(v8::Handle<v8::Object> creationContext, const WrapperTypeInfo* type, void* … in createWrapper()
96 …const WrapperTypeInfo* typeInfo = static_cast<const WrapperTypeInfo*>(wrapper->GetAlignedPointerFr… in isDOMWrapper()
DV8PerIsolateData.cpp160 bool V8PerIsolateData::hasInstance(const WrapperTypeInfo* info, v8::Handle<v8::Value> value) in hasInstance()
166 bool V8PerIsolateData::hasInstance(const WrapperTypeInfo* info, v8::Handle<v8::Value> value, DOMTem… in hasInstance()
175 v8::Handle<v8::Object> V8PerIsolateData::findInstanceInPrototypeChain(const WrapperTypeInfo* info, … in findInstanceInPrototypeChain()
183 v8::Handle<v8::Object> V8PerIsolateData::findInstanceInPrototypeChain(const WrapperTypeInfo* info, … in findInstanceInPrototypeChain()
DV8PerContextData.cpp77 v8::Local<v8::Object> V8PerContextData::createWrapperFromCacheSlowCase(const WrapperTypeInfo* type) in createWrapperFromCacheSlowCase()
91 v8::Local<v8::Function> V8PerContextData::constructorForTypeSlowCase(const WrapperTypeInfo* type) in constructorForTypeSlowCase()
115 …Object->SetAlignedPointerInInternalField(v8PrototypeTypeIndex, const_cast<WrapperTypeInfo*>(type)); in constructorForTypeSlowCase()
126 v8::Local<v8::Object> V8PerContextData::prototypeForType(const WrapperTypeInfo* type) in prototypeForType()
DScriptWrappable.h113 const WrapperTypeInfo* typeInfo() in typeInfo()
116 return reinterpret_cast<const WrapperTypeInfo*>(m_wrapperOrTypeInfo); in typeInfo()
127 void setTypeInfo(const WrapperTypeInfo* typeInfo) in setTypeInfo()
DV8DOMConfiguration.cpp59 …::New(isolate, getterCallback, v8::External::New(isolate, const_cast<WrapperTypeInfo*>(accessors[i… in installAccessors()
64 …::New(isolate, setterCallback, v8::External::New(isolate, const_cast<WrapperTypeInfo*>(accessors[i… in installAccessors()
122 …Template> V8DOMConfiguration::domClassTemplate(v8::Isolate* isolate, WrapperTypeInfo* wrapperTypeI… in domClassTemplate()
/external/chromium_org/third_party/WebKit/Source/bindings/tests/results/
DV8TestInterfaceNamedConstructor.cpp40 const WrapperTypeInfo V8TestInterfaceNamedConstructor::wrapperTypeInfo = { gin::kEmbedderBlink, V8T…
53 v8SetReturnValue(info, perContextData->constructorForType(WrapperTypeInfo::unwrap(data))); in TestInterfaceNamedConstructorConstructorGetter()
70 …NamedConstructorReplaceableAttributeSetterCallback, 0, 0, const_cast<WrapperTypeInfo*>(&V8TestName…
73 const WrapperTypeInfo V8TestInterfaceNamedConstructorConstructor::wrapperTypeInfo = { gin::kEmbedde…
170 …return V8DOMConfiguration::domClassTemplate(isolate, const_cast<WrapperTypeInfo*>(&wrapperTypeInfo… in domTemplate()
205 const WrapperTypeInfo* actualInfo = ScriptWrappable::fromObject(impl.get())->typeInfo(); in createWrapper()
DV8TestInterfaceEventTarget.cpp40 const WrapperTypeInfo V8TestInterfaceEventTarget::wrapperTypeInfo = { gin::kEmbedderBlink, V8TestIn…
48 const WrapperTypeInfo V8TestInterfaceEventTargetConstructor::wrapperTypeInfo = { gin::kEmbedderBlin…
115 …return V8DOMConfiguration::domClassTemplate(isolate, const_cast<WrapperTypeInfo*>(&wrapperTypeInfo… in domTemplate()
150 const WrapperTypeInfo* actualInfo = ScriptWrappable::fromObject(impl.get())->typeInfo(); in createWrapper()
DV8TestInterfaceNamedConstructor2.cpp40 const WrapperTypeInfo V8TestInterfaceNamedConstructor2::wrapperTypeInfo = { gin::kEmbedderBlink, V8…
48 const WrapperTypeInfo V8TestInterfaceNamedConstructor2Constructor::wrapperTypeInfo = { gin::kEmbedd…
123 …return V8DOMConfiguration::domClassTemplate(isolate, const_cast<WrapperTypeInfo*>(&wrapperTypeInfo… in domTemplate()
153 const WrapperTypeInfo* actualInfo = ScriptWrappable::fromObject(impl.get())->typeInfo(); in createWrapper()
DV8TestInterfaceEmpty.cpp39 const WrapperTypeInfo V8TestInterfaceEmpty::wrapperTypeInfo = { gin::kEmbedderBlink, V8TestInterfac…
66 …return V8DOMConfiguration::domClassTemplate(isolate, const_cast<WrapperTypeInfo*>(&wrapperTypeInfo… in domTemplate()
96 const WrapperTypeInfo* actualInfo = ScriptWrappable::fromObject(impl.get())->typeInfo(); in createWrapper()
DV8TestInterfaceCustomConstructor.cpp40 const WrapperTypeInfo V8TestInterfaceCustomConstructor::wrapperTypeInfo = { gin::kEmbedderBlink, V8…
85 …return V8DOMConfiguration::domClassTemplate(isolate, const_cast<WrapperTypeInfo*>(&wrapperTypeInfo… in domTemplate()
115 const WrapperTypeInfo* actualInfo = ScriptWrappable::fromObject(impl.get())->typeInfo(); in createWrapper()
DV8TestInterfaceDocument.cpp42 const WrapperTypeInfo V8TestInterfaceDocument::wrapperTypeInfo = { gin::kEmbedderBlink, V8TestInter…
69 …return V8DOMConfiguration::domClassTemplate(isolate, const_cast<WrapperTypeInfo*>(&wrapperTypeInfo… in domTemplate()
111 const WrapperTypeInfo* actualInfo = ScriptWrappable::fromObject(impl.get())->typeInfo(); in createWrapper()
DV8TestSpecialOperationsNotEnumerable.cpp39 const WrapperTypeInfo V8TestSpecialOperationsNotEnumerable::wrapperTypeInfo = { gin::kEmbedderBlink…
106 …return V8DOMConfiguration::domClassTemplate(isolate, const_cast<WrapperTypeInfo*>(&wrapperTypeInfo… in domTemplate()
136 const WrapperTypeInfo* actualInfo = ScriptWrappable::fromObject(impl.get())->typeInfo(); in createWrapper()
DV8SVGTestInterface.cpp41 const WrapperTypeInfo V8SVGTestInterface::wrapperTypeInfo = { gin::kEmbedderBlink, V8SVGTestInterfa…
103 …return V8DOMConfiguration::domClassTemplate(isolate, const_cast<WrapperTypeInfo*>(&wrapperTypeInfo… in domTemplate()
133 const WrapperTypeInfo* actualInfo = ScriptWrappable::fromObject(impl.get())->typeInfo(); in createWrapper()
DV8TestInterfaceConstructor3.cpp40 const WrapperTypeInfo V8TestInterfaceConstructor3::wrapperTypeInfo = { gin::kEmbedderBlink, V8TestI…
103 …return V8DOMConfiguration::domClassTemplate(isolate, const_cast<WrapperTypeInfo*>(&wrapperTypeInfo… in domTemplate()
133 const WrapperTypeInfo* actualInfo = ScriptWrappable::fromObject(impl.get())->typeInfo(); in createWrapper()
DV8TestInterface3.cpp40 const WrapperTypeInfo V8TestInterface3::wrapperTypeInfo = { gin::kEmbedderBlink, V8TestInterface3::…
125 …return V8DOMConfiguration::domClassTemplate(isolate, const_cast<WrapperTypeInfo*>(&wrapperTypeInfo… in domTemplate()
155 const WrapperTypeInfo* actualInfo = ScriptWrappable::fromObject(impl.get())->typeInfo(); in createWrapper()
DV8TestException.cpp39 const WrapperTypeInfo V8TestException::wrapperTypeInfo = { gin::kEmbedderBlink, V8TestException::do…
117 …return V8DOMConfiguration::domClassTemplate(isolate, const_cast<WrapperTypeInfo*>(&wrapperTypeInfo… in domTemplate()
147 const WrapperTypeInfo* actualInfo = ScriptWrappable::fromObject(impl.get())->typeInfo(); in createWrapper()
/external/chromium_org/third_party/WebKit/Source/build/scripts/templates/
DElementWrapperFactory.cpp.tmpl77 const WrapperTypeInfo* findWrapperTypeFor{{namespace}}TagName(const AtomicString& name)
79 typedef HashMap<StringImpl*, const WrapperTypeInfo*> NameTypeMap;
91 if (const WrapperTypeInfo* result = map.get(name.impl()))

1234