| OLD | NEW |
| 1 /* | 1 /* |
| 2 This file is part of the Blink open source project. | 2 This file is part of the Blink open source project. |
| 3 This file has been auto-generated by CodeGeneratorV8.pm. DO NOT MODIFY! | 3 This file has been auto-generated by CodeGeneratorV8.pm. DO NOT MODIFY! |
| 4 | 4 |
| 5 This library is free software; you can redistribute it and/or | 5 This library is free software; you can redistribute it and/or |
| 6 modify it under the terms of the GNU Library General Public | 6 modify it under the terms of the GNU Library General Public |
| 7 License as published by the Free Software Foundation; either | 7 License as published by the Free Software Foundation; either |
| 8 version 2 of the License, or (at your option) any later version. | 8 version 2 of the License, or (at your option) any later version. |
| 9 | 9 |
| 10 This library is distributed in the hope that it will be useful, | 10 This library is distributed in the hope that it will be useful, |
| (...skipping 1079 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1090 || V8PerIsolateData::from(isolate)->hasInstance(&info, value, IsolatedWo
rld) | 1090 || V8PerIsolateData::from(isolate)->hasInstance(&info, value, IsolatedWo
rld) |
| 1091 || V8PerIsolateData::from(isolate)->hasInstance(&info, value, WorkerWorl
d); | 1091 || V8PerIsolateData::from(isolate)->hasInstance(&info, value, WorkerWorl
d); |
| 1092 } | 1092 } |
| 1093 | 1093 |
| 1094 void V8TestInterface::installPerContextProperties(v8::Handle<v8::Object> instanc
e, TestInterface* impl, v8::Isolate* isolate) | 1094 void V8TestInterface::installPerContextProperties(v8::Handle<v8::Object> instanc
e, TestInterface* impl, v8::Isolate* isolate) |
| 1095 { | 1095 { |
| 1096 v8::Local<v8::Object> proto = v8::Local<v8::Object>::Cast(instance->GetProto
type()); | 1096 v8::Local<v8::Object> proto = v8::Local<v8::Object>::Cast(instance->GetProto
type()); |
| 1097 | 1097 |
| 1098 #if ENABLE(Condition22) || ENABLE(Condition23) | 1098 #if ENABLE(Condition22) || ENABLE(Condition23) |
| 1099 if (ContextFeatures::condition24Enabled(impl->document())) { | 1099 if (ContextFeatures::condition24Enabled(impl->document())) { |
| 1100 static const V8DOMConfiguration::AttributeConfiguration attributeConf
iguration =\ | 1100 static const V8DOMConfiguration::AttributeConfiguration attributeConfigu
ration =\ |
| 1101 {"Node24", TestInterfaceV8Internal::Node24AttributeGetterCallback, TestI
nterfaceV8Internal::Node24AttributeSetterCallback, 0, 0, 0, static_cast<v8::Acce
ssControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on i
nstance */}; | 1101 {"Node24", TestInterfaceV8Internal::Node24AttributeGetterCallback, TestI
nterfaceV8Internal::Node24AttributeSetterCallback, 0, 0, 0, static_cast<v8::Acce
ssControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on i
nstance */}; |
| 1102 V8DOMConfiguration::installAttribute(instance, proto, attributeConfigura
tion, isolate); | 1102 V8DOMConfiguration::installAttribute(instance, proto, attributeConfigura
tion, isolate); |
| 1103 } | 1103 } |
| 1104 #endif // ENABLE(Condition22) || ENABLE(Condition23) | 1104 #endif // ENABLE(Condition22) || ENABLE(Condition23) |
| 1105 | 1105 |
| 1106 #if ENABLE(Condition22) || ENABLE(Condition23) | 1106 #if ENABLE(Condition22) || ENABLE(Condition23) |
| 1107 if (ContextFeatures::condition26Enabled(impl->document()) && RuntimeEnabledF
eatures::condition25Enabled()) { | 1107 if (ContextFeatures::condition26Enabled(impl->document()) && RuntimeEnabledF
eatures::condition25Enabled()) { |
| 1108 static const V8DOMConfiguration::AttributeConfiguration attributeConf
iguration =\ | 1108 static const V8DOMConfiguration::AttributeConfiguration attributeConfigu
ration =\ |
| 1109 {"Node25", TestInterfaceV8Internal::Node25AttributeGetterCallback, TestI
nterfaceV8Internal::Node25AttributeSetterCallback, 0, 0, 0, static_cast<v8::Acce
ssControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on i
nstance */}; | 1109 {"Node25", TestInterfaceV8Internal::Node25AttributeGetterCallback, TestI
nterfaceV8Internal::Node25AttributeSetterCallback, 0, 0, 0, static_cast<v8::Acce
ssControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on i
nstance */}; |
| 1110 V8DOMConfiguration::installAttribute(instance, proto, attributeConfigura
tion, isolate); | 1110 V8DOMConfiguration::installAttribute(instance, proto, attributeConfigura
tion, isolate); |
| 1111 } | 1111 } |
| 1112 #endif // ENABLE(Condition22) || ENABLE(Condition23) | 1112 #endif // ENABLE(Condition22) || ENABLE(Condition23) |
| 1113 | 1113 |
| 1114 #if ENABLE(Condition11) || ENABLE(Condition12) | 1114 #if ENABLE(Condition11) || ENABLE(Condition12) |
| 1115 if (ContextFeatures::condition14Enabled(impl->document())) { | 1115 if (ContextFeatures::condition14Enabled(impl->document())) { |
| 1116 static const V8DOMConfiguration::AttributeConfiguration attributeConf
iguration =\ | 1116 static const V8DOMConfiguration::AttributeConfiguration attributeConfigu
ration =\ |
| 1117 {"Node14", TestInterfaceV8Internal::Node14AttributeGetterCallback, TestI
nterfaceV8Internal::Node14AttributeSetterCallback, 0, 0, 0, static_cast<v8::Acce
ssControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on i
nstance */}; | 1117 {"Node14", TestInterfaceV8Internal::Node14AttributeGetterCallback, TestI
nterfaceV8Internal::Node14AttributeSetterCallback, 0, 0, 0, static_cast<v8::Acce
ssControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on i
nstance */}; |
| 1118 V8DOMConfiguration::installAttribute(instance, proto, attributeConfigura
tion, isolate); | 1118 V8DOMConfiguration::installAttribute(instance, proto, attributeConfigura
tion, isolate); |
| 1119 } | 1119 } |
| 1120 #endif // ENABLE(Condition11) || ENABLE(Condition12) | 1120 #endif // ENABLE(Condition11) || ENABLE(Condition12) |
| 1121 | 1121 |
| 1122 #if ENABLE(Condition11) || ENABLE(Condition12) | 1122 #if ENABLE(Condition11) || ENABLE(Condition12) |
| 1123 if (ContextFeatures::condition16Enabled(impl->document()) && RuntimeEnabledF
eatures::condition15Enabled()) { | 1123 if (ContextFeatures::condition16Enabled(impl->document()) && RuntimeEnabledF
eatures::condition15Enabled()) { |
| 1124 static const V8DOMConfiguration::AttributeConfiguration attributeConf
iguration =\ | 1124 static const V8DOMConfiguration::AttributeConfiguration attributeConfigu
ration =\ |
| 1125 {"Node15", TestInterfaceV8Internal::Node15AttributeGetterCallback, TestI
nterfaceV8Internal::Node15AttributeSetterCallback, 0, 0, 0, static_cast<v8::Acce
ssControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on i
nstance */}; | 1125 {"Node15", TestInterfaceV8Internal::Node15AttributeGetterCallback, TestI
nterfaceV8Internal::Node15AttributeSetterCallback, 0, 0, 0, static_cast<v8::Acce
ssControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on i
nstance */}; |
| 1126 V8DOMConfiguration::installAttribute(instance, proto, attributeConfigura
tion, isolate); | 1126 V8DOMConfiguration::installAttribute(instance, proto, attributeConfigura
tion, isolate); |
| 1127 } | 1127 } |
| 1128 #endif // ENABLE(Condition11) || ENABLE(Condition12) | 1128 #endif // ENABLE(Condition11) || ENABLE(Condition12) |
| 1129 } | 1129 } |
| 1130 | 1130 |
| 1131 ActiveDOMObject* V8TestInterface::toActiveDOMObject(v8::Handle<v8::Object> objec
t) | 1131 ActiveDOMObject* V8TestInterface::toActiveDOMObject(v8::Handle<v8::Object> objec
t) |
| 1132 { | 1132 { |
| 1133 return toNative(object); | 1133 return toNative(object); |
| 1134 } | 1134 } |
| (...skipping 19 matching lines...) Expand all Loading... |
| 1154 } | 1154 } |
| 1155 | 1155 |
| 1156 void V8TestInterface::derefObject(void* object) | 1156 void V8TestInterface::derefObject(void* object) |
| 1157 { | 1157 { |
| 1158 fromInternalPointer(object)->deref(); | 1158 fromInternalPointer(object)->deref(); |
| 1159 } | 1159 } |
| 1160 | 1160 |
| 1161 } // namespace WebCore | 1161 } // namespace WebCore |
| 1162 | 1162 |
| 1163 #endif // ENABLE(Condition1) || ENABLE(Condition2) | 1163 #endif // ENABLE(Condition1) || ENABLE(Condition2) |
| OLD | NEW |