/external/chromium_org/third_party/WebKit/Source/bindings/v8/ |
CustomElementBinding.h | 40 struct WrapperTypeInfo; 44 static PassOwnPtr<CustomElementBinding> create(v8::Isolate*, v8::Handle<v8::Object> prototype, const WrapperTypeInfo*); 49 const WrapperTypeInfo* wrapperType() { return m_wrapperType; } 52 CustomElementBinding(v8::Isolate*, v8::Handle<v8::Object> prototype, const WrapperTypeInfo*); 56 const WrapperTypeInfo* m_wrapperType;
|
V8DOMWrapper.h | 41 struct WrapperTypeInfo; 50 static v8::Local<v8::Object> createWrapper(v8::Handle<v8::Object> creationContext, const WrapperTypeInfo*, void*, v8::Isolate*); 53 static inline v8::Handle<v8::Object> associateObjectWithWrapper(PassRefPtr<T>, const WrapperTypeInfo*, v8::Handle<v8::Object>, v8::Isolate*, WrapperConfiguration::Lifetime); 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* type, void* object) 67 wrapper->SetAlignedPointerInInternalField(v8DOMWrapperTypeIndex, const_cast<WrapperTypeInfo*>(type)); 70 inline void V8DOMWrapper::clearNativeInfo(v8::Handle<v8::Object> wrapper, const WrapperTypeInfo* type) 74 wrapper->SetAlignedPointerInInternalField(v8DOMWrapperTypeIndex, const_cast<WrapperTypeInfo*>(type)) [all...] |
CustomElementConstructorBuilder.h | 54 struct WrapperTypeInfo; 81 bool hasValidPrototypeChainFor(const WrapperTypeInfo*) const; 88 const WrapperTypeInfo* m_wrapperType;
|
CustomElementBinding.cpp | 36 PassOwnPtr<CustomElementBinding> CustomElementBinding::create(v8::Isolate* isolate, v8::Handle<v8::Object> prototype, const WrapperTypeInfo* wrapperType) 41 CustomElementBinding::CustomElementBinding(v8::Isolate* isolate, v8::Handle<v8::Object> prototype, const WrapperTypeInfo* wrapperType)
|
ScriptWrappable.h | 36 #include "bindings/v8/WrapperTypeInfo.h" 83 const WrapperTypeInfo* typeInfo() 86 return reinterpret_cast<const WrapperTypeInfo*>(m_wrapperOrTypeInfo); 94 void setTypeInfo(const WrapperTypeInfo* info) 113 static const WrapperTypeInfo* getTypeInfoFromObject(void* object) 119 static const WrapperTypeInfo* getTypeInfoFromObject(ScriptWrappable* object) 124 static void setTypeInfoInObject(void* object, const WrapperTypeInfo* info) 129 static void setTypeInfoInObject(ScriptWrappable* object, const WrapperTypeInfo* info) 178 inline void disposeWrapper(v8::Local<v8::Object> value, const WrapperTypeInfo* info) 197 const WrapperTypeInfo* info = toWrapperTypeInfo(data.GetValue()) [all...] |
V8DOMWrapper.cpp | 70 V8DOMWrapper::setNativeInfo(wrapper, &V8HTMLDocument::wrapperTypeInfo, impl); 74 v8::Local<v8::Object> V8DOMWrapper::createWrapper(v8::Handle<v8::Object> creationContext, const WrapperTypeInfo* type, void* impl, v8::Isolate* isolate) 81 if (type == &V8HTMLDocument::wrapperTypeInfo && !wrapper.IsEmpty()) 106 const WrapperTypeInfo* typeInfo = static_cast<const WrapperTypeInfo*>(object->GetAlignedPointerFromInternalField(v8DOMWrapperTypeIndex)); 123 const WrapperTypeInfo* typeInfo = static_cast<const WrapperTypeInfo*>(wrapper->GetAlignedPointerFromInternalField(v8DOMWrapperTypeIndex)); 129 bool V8DOMWrapper::isWrapperOfType(v8::Handle<v8::Value> value, const WrapperTypeInfo* type) 138 const WrapperTypeInfo* typeInfo = static_cast<const WrapperTypeInfo*>(wrapper->GetAlignedPointerFromInternalField(v8DOMWrapperTypeIndex)) [all...] |
WrapperTypeInfo.h | 78 // v8 objects. Each v8 bindings class has exactly one static WrapperTypeInfo member, so 80 struct WrapperTypeInfo { 82 static const WrapperTypeInfo* unwrap(v8::Handle<v8::Value> typeInfoWrapper) 84 return reinterpret_cast<const WrapperTypeInfo*>(v8::External::Cast(*typeInfoWrapper)->Value()); 88 bool equals(const WrapperTypeInfo* that) const 93 bool isSubclass(const WrapperTypeInfo* that) const 95 for (const WrapperTypeInfo* current = this; current; current = current->parentClass) { 139 // This field must be the first member of the struct WrapperTypeInfo. This is also checked by a COMPILE_ASSERT() below. 148 const WrapperTypeInfo* parentClass; 153 COMPILE_ASSERT(offsetof(struct WrapperTypeInfo, ginEmbedder) == offsetof(struct gin::WrapperInfo, embedder), wrapper_type_info_compatible_to_gin) [all...] |
V8PerContextData.h | 38 #include "bindings/v8/WrapperTypeInfo.h" 127 v8::Local<v8::Object> createWrapperFromCache(const WrapperTypeInfo* type) 133 v8::Local<v8::Function> constructorForType(const WrapperTypeInfo* type) 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;
|
NPV8Object.h | 46 const WrapperTypeInfo* npObjectTypeInfo();
|
V8DOMConfiguration.h | 53 const WrapperTypeInfo* data; 67 const WrapperTypeInfo* data; 80 v8::External::New(isolate, const_cast<WrapperTypeInfo*>(attribute.data)), 99 v8::External::New(isolate, const_cast<WrapperTypeInfo*>(attribute.data)),
|
V8PerIsolateData.h | 31 #include "bindings/v8/WrapperTypeInfo.h" 45 struct WrapperTypeInfo; 137 v8::Handle<v8::FunctionTemplate> rawDOMTemplate(const WrapperTypeInfo*, WrapperWorldType); 139 bool hasInstance(const WrapperTypeInfo*, v8::Handle<v8::Value>, WrapperWorldType);
|
V8PerContextData.cpp | 94 v8::Local<v8::Object> V8PerContextData::createWrapperFromCacheSlowCase(const WrapperTypeInfo* type) 108 v8::Local<v8::Function> V8PerContextData::constructorForTypeSlowCase(const WrapperTypeInfo* type) 132 prototypeObject->SetAlignedPointerInInternalField(v8PrototypeTypeIndex, const_cast<WrapperTypeInfo*>(type)); 143 v8::Local<v8::Object> V8PerContextData::prototypeForType(const WrapperTypeInfo* type)
|
/external/chromium_org/third_party/WebKit/Source/bindings/tests/results/ |
V8TestInterfacePython.h | 41 #include "bindings/v8/WrapperTypeInfo.h" 55 static const WrapperTypeInfo wrapperTypeInfo; 78 static const WrapperTypeInfo* wrapperTypeInfo() { return &V8TestInterfacePython::wrapperTypeInfo; }
|
V8TestException.h | 39 #include "bindings/v8/WrapperTypeInfo.h" 53 static const WrapperTypeInfo wrapperTypeInfo; 75 static const WrapperTypeInfo* wrapperTypeInfo() { return &V8TestException::wrapperTypeInfo; }
|
V8TestInterfaceCheckSecurity.h | 39 #include "bindings/v8/WrapperTypeInfo.h" 53 static const WrapperTypeInfo wrapperTypeInfo; 75 static const WrapperTypeInfo* wrapperTypeInfo() { return &V8TestInterfaceCheckSecurity::wrapperTypeInfo; }
|
V8TestInterfaceDoNotCheckConstants.cpp | 48 ScriptWrappable::setTypeInfoInObject(object, &V8TestInterfaceDoNotCheckConstants::wrapperTypeInfo); 65 const WrapperTypeInfo V8TestInterfaceDoNotCheckConstants::wrapperTypeInfo = { gin::kEmbedderBlink, V8TestInterfaceDoNotCheckConstants::domTemplate, V8TestInterfaceDoNotCheckConstants::derefObject, 0, 0, 0, V8TestInterfaceDoNotCheckConstants::installPerContextEnabledMethods, 0, WrapperTypeObjectPrototype }; 99 V8PerIsolateData::TemplateMap::iterator result = data->templateMap(currentWorldType).find(&wrapperTypeInfo); 106 ConfigureV8TestInterfaceDoNotCheckConstantsTemplate(data->rawDOMTemplate(&wrapperTypeInfo, currentWorldType), isolate, currentWorldType); 107 data->templateMap(currentWorldType).add(&wrapperTypeInfo, UnsafePersistent<v8::FunctionTemplate>(isolate, templ)); 113 return V8PerIsolateData::from(isolate)->hasInstance(&wrapperTypeInfo, jsValue, currentWorldType); 118 return V8PerIsolateData::from(isolate)->hasInstance(&wrapperTypeInfo, jsValue, MainWorld) 119 || V8PerIsolateData::from(isolate)->hasInstance(&wrapperTypeInfo, jsValue, IsolatedWorld) 120 || V8PerIsolateData::from(isolate)->hasInstance(&wrapperTypeInfo, jsValue, WorkerWorld) [all...] |
V8TestInterfaceDoNotCheckConstants.h | 39 #include "bindings/v8/WrapperTypeInfo.h" 53 static const WrapperTypeInfo wrapperTypeInfo; 75 static const WrapperTypeInfo* wrapperTypeInfo() { return &V8TestInterfaceDoNotCheckConstants::wrapperTypeInfo; }
|
V8TestInterfaceEmpty.cpp | 48 ScriptWrappable::setTypeInfoInObject(object, &V8TestInterfaceEmpty::wrapperTypeInfo); 65 const WrapperTypeInfo V8TestInterfaceEmpty::wrapperTypeInfo = { gin::kEmbedderBlink, V8TestInterfaceEmpty::domTemplate, V8TestInterfaceEmpty::derefObject, 0, 0, 0, V8TestInterfaceEmpty::installPerContextEnabledMethods, 0, WrapperTypeObjectPrototype }; 94 V8PerIsolateData::TemplateMap::iterator result = data->templateMap(currentWorldType).find(&wrapperTypeInfo); 101 ConfigureV8TestInterfaceEmptyTemplate(data->rawDOMTemplate(&wrapperTypeInfo, currentWorldType), isolate, currentWorldType); 102 data->templateMap(currentWorldType).add(&wrapperTypeInfo, UnsafePersistent<v8::FunctionTemplate>(isolate, templ)); 108 return V8PerIsolateData::from(isolate)->hasInstance(&wrapperTypeInfo, jsValue, currentWorldType); 113 return V8PerIsolateData::from(isolate)->hasInstance(&wrapperTypeInfo, jsValue, MainWorld) 114 || V8PerIsolateData::from(isolate)->hasInstance(&wrapperTypeInfo, jsValue, IsolatedWorld) 115 || V8PerIsolateData::from(isolate)->hasInstance(&wrapperTypeInfo, jsValue, WorkerWorld) [all...] |
V8TestInterfaceEmpty.h | 39 #include "bindings/v8/WrapperTypeInfo.h" 53 static const WrapperTypeInfo wrapperTypeInfo; 75 static const WrapperTypeInfo* wrapperTypeInfo() { return &V8TestInterfaceEmpty::wrapperTypeInfo; }
|
V8TestInterfaceEventTarget.cpp | 48 ScriptWrappable::setTypeInfoInObject(object, &V8TestInterfaceEventTarget::wrapperTypeInfo); 65 const WrapperTypeInfo V8TestInterfaceEventTarget::wrapperTypeInfo = { gin::kEmbedderBlink, V8TestInterfaceEventTarget::domTemplate, V8TestInterfaceEventTarget::derefObject, 0, V8TestInterfaceEventTarget::toEventTarget, 0, V8TestInterfaceEventTarget::installPerContextEnabledMethods, &V8EventTarget::wrapperTypeInfo, WrapperTypeObjectPrototype }; 94 V8PerIsolateData::TemplateMap::iterator result = data->templateMap(currentWorldType).find(&wrapperTypeInfo); 101 ConfigureV8TestInterfaceEventTargetTemplate(data->rawDOMTemplate(&wrapperTypeInfo, currentWorldType), isolate, currentWorldType); 102 data->templateMap(currentWorldType).add(&wrapperTypeInfo, UnsafePersistent<v8::FunctionTemplate>(isolate, templ)); 108 return V8PerIsolateData::from(isolate)->hasInstance(&wrapperTypeInfo, jsValue, currentWorldType); 113 return V8PerIsolateData::from(isolate)->hasInstance(&wrapperTypeInfo, jsValue, MainWorld) 114 || V8PerIsolateData::from(isolate)->hasInstance(&wrapperTypeInfo, jsValue, IsolatedWorld [all...] |
V8TestInterfaceImplementedAs.h | 39 #include "bindings/v8/WrapperTypeInfo.h" 53 static const WrapperTypeInfo wrapperTypeInfo; 75 static const WrapperTypeInfo* wrapperTypeInfo() { return &V8TestInterfaceImplementedAs::wrapperTypeInfo; }
|
V8TestInterfacePython2.h | 39 #include "bindings/v8/WrapperTypeInfo.h" 53 static const WrapperTypeInfo wrapperTypeInfo; 76 static const WrapperTypeInfo* wrapperTypeInfo() { return &V8TestInterfacePython2::wrapperTypeInfo; }
|
V8TestInterfaceNamedConstructor.cpp | 49 ScriptWrappable::setTypeInfoInObject(object, &V8TestInterfaceNamedConstructor::wrapperTypeInfo); 66 const WrapperTypeInfo V8TestInterfaceNamedConstructor::wrapperTypeInfo = { gin::kEmbedderBlink, V8TestInterfaceNamedConstructor::domTemplate, V8TestInterfaceNamedConstructor::derefObject, V8TestInterfaceNamedConstructor::toActiveDOMObject, 0, 0, V8TestInterfaceNamedConstructor::installPerContextEnabledMethods, 0, WrapperTypeObjectPrototype }; 74 const WrapperTypeInfo V8TestInterfaceNamedConstructorConstructor::wrapperTypeInfo = { gin::kEmbedderBlink, V8TestInterfaceNamedConstructorConstructor::domTemplate, V8TestInterfaceNamedConstructor::derefObject, V8TestInterfaceNamedConstructor::toActiveDOMObject, 0, 0, V8TestInterfaceNamedConstructor::installPerContextEnabledMethods, 0, WrapperTypeObjectPrototype }; 98 V8DOMWrapper::associateObjectWithWrapper<V8TestInterfaceNamedConstructor>(impl.release(), &V8TestInterfaceNamedConstructorConstructor::wrapperTypeInfo, wrapper, info.GetIsolate(), WrapperConfiguration::Dependent); 145 V8PerIsolateData::TemplateMap::iterator result = data->templateMap(currentWorldType).find(&wrapperTypeInfo); 152 ConfigureV8TestInterfaceNamedConstructorTemplate(data->rawDOMTemplate(&wrapperTypeInfo, currentWorldType), isolate, currentWorldType); 153 data->templateMap(currentWorldType).add(&wrapperTypeInfo, UnsafePersistent<v8::FunctionTemplate>(isolate, templ)); 159 return V8PerIsolateData::from(isolate)->hasInstance(&wrapperTypeInfo, jsValue, currentWorldType) [all...] |
V8TestInterfaceNamedConstructor.h | 39 #include "bindings/v8/WrapperTypeInfo.h" 46 static const WrapperTypeInfo wrapperTypeInfo; 59 static const WrapperTypeInfo wrapperTypeInfo; 82 static const WrapperTypeInfo* wrapperTypeInfo() { return &V8TestInterfaceNamedConstructor::wrapperTypeInfo; }
|
V8TestNamedConstructor.cpp | 49 ScriptWrappable::setTypeInfoInObject(object, &V8TestNamedConstructor::wrapperTypeInfo); 66 const WrapperTypeInfo V8TestNamedConstructor::wrapperTypeInfo = { gin::kEmbedderBlink, V8TestNamedConstructor::domTemplate, V8TestNamedConstructor::derefObject, V8TestNamedConstructor::toActiveDOMObject, 0, 0, V8TestNamedConstructor::installPerContextEnabledMethods, 0, WrapperTypeObjectPrototype }; 74 const WrapperTypeInfo V8TestNamedConstructorConstructor::wrapperTypeInfo = { gin::kEmbedderBlink, V8TestNamedConstructorConstructor::domTemplate, V8TestNamedConstructor::derefObject, V8TestNamedConstructor::toActiveDOMObject, 0, 0, V8TestNamedConstructor::installPerContextEnabledMethods, 0, WrapperTypeObjectPrototype }; 109 V8DOMWrapper::associateObjectWithWrapper<V8TestNamedConstructor>(impl.release(), &V8TestNamedConstructorConstructor::wrapperTypeInfo, wrapper, info.GetIsolate(), WrapperConfiguration::Dependent); 156 V8PerIsolateData::TemplateMap::iterator result = data->templateMap(currentWorldType).find(&wrapperTypeInfo); 163 ConfigureV8TestNamedConstructorTemplate(data->rawDOMTemplate(&wrapperTypeInfo, currentWorldType), isolate, currentWorldType); 164 data->templateMap(currentWorldType).add(&wrapperTypeInfo, UnsafePersistent<v8::FunctionTemplate>(isolate, templ)); 170 return V8PerIsolateData::from(isolate)->hasInstance(&wrapperTypeInfo, jsValue, currentWorldType) [all...] |