| 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 255 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 266 static const V8DOMConfiguration::MethodConfiguration V8TestEventTargetMethods[]
= { | 266 static const V8DOMConfiguration::MethodConfiguration V8TestEventTargetMethods[]
= { |
| 267 {"item", TestEventTargetV8Internal::itemMethodCallback, 0, 1}, | 267 {"item", TestEventTargetV8Internal::itemMethodCallback, 0, 1}, |
| 268 {"namedItem", TestEventTargetV8Internal::namedItemMethodCallback, 0, 1}, | 268 {"namedItem", TestEventTargetV8Internal::namedItemMethodCallback, 0, 1}, |
| 269 }; | 269 }; |
| 270 | 270 |
| 271 static v8::Handle<v8::FunctionTemplate> ConfigureV8TestEventTargetTemplate(v8::H
andle<v8::FunctionTemplate> desc, v8::Isolate* isolate, WrapperWorldType current
WorldType) | 271 static v8::Handle<v8::FunctionTemplate> ConfigureV8TestEventTargetTemplate(v8::H
andle<v8::FunctionTemplate> desc, v8::Isolate* isolate, WrapperWorldType current
WorldType) |
| 272 { | 272 { |
| 273 desc->ReadOnlyPrototype(); | 273 desc->ReadOnlyPrototype(); |
| 274 | 274 |
| 275 v8::Local<v8::Signature> defaultSignature; | 275 v8::Local<v8::Signature> defaultSignature; |
| 276 defaultSignature = V8DOMConfiguration::installDOMClassTemplate(desc, "TestEv
entTarget", V8EventTarget::GetTemplate(isolate, currentWorldType), V8TestEventTa
rget::internalFieldCount, | 276 defaultSignature = V8DOMConfiguration::installDOMClassTemplate(desc, "TestEv
entTarget", V8EventTarget::GetTemplate(isolate, currentWorldType), V8TestEventTa
rget::internalFieldCount, 0, 0, V8TestEventTargetMethods, WTF_ARRAY_LENGTH(V8Tes
tEventTargetMethods), isolate, currentWorldType); |
| 277 0, 0, | |
| 278 V8TestEventTargetMethods, WTF_ARRAY_LENGTH(V8TestEventTargetMethods), is
olate, currentWorldType); | |
| 279 UNUSED_PARAM(defaultSignature); | 277 UNUSED_PARAM(defaultSignature); |
| 280 v8::Local<v8::ObjectTemplate> instance = desc->InstanceTemplate(); | 278 v8::Local<v8::ObjectTemplate> instance = desc->InstanceTemplate(); |
| 281 v8::Local<v8::ObjectTemplate> proto = desc->PrototypeTemplate(); | 279 v8::Local<v8::ObjectTemplate> proto = desc->PrototypeTemplate(); |
| 282 UNUSED_PARAM(instance); | 280 UNUSED_PARAM(instance); |
| 283 UNUSED_PARAM(proto); | 281 UNUSED_PARAM(proto); |
| 284 desc->InstanceTemplate()->SetIndexedPropertyHandler(TestEventTargetV8Interna
l::indexedPropertyGetterCallback, TestEventTargetV8Internal::indexedPropertySett
erCallback, 0, TestEventTargetV8Internal::indexedPropertyDeleterCallback, indexe
dPropertyEnumerator<TestEventTarget>); | 282 desc->InstanceTemplate()->SetIndexedPropertyHandler(TestEventTargetV8Interna
l::indexedPropertyGetterCallback, TestEventTargetV8Internal::indexedPropertySett
erCallback, 0, TestEventTargetV8Internal::indexedPropertyDeleterCallback, indexe
dPropertyEnumerator<TestEventTarget>); |
| 285 desc->InstanceTemplate()->SetNamedPropertyHandler(TestEventTargetV8Internal:
:namedPropertyGetterCallback, TestEventTargetV8Internal::namedPropertySetterCall
back, TestEventTargetV8Internal::namedPropertyQueryCallback, TestEventTargetV8In
ternal::namedPropertyDeleterCallback, TestEventTargetV8Internal::namedPropertyEn
umeratorCallback); | 283 desc->InstanceTemplate()->SetNamedPropertyHandler(TestEventTargetV8Internal:
:namedPropertyGetterCallback, TestEventTargetV8Internal::namedPropertySetterCall
back, TestEventTargetV8Internal::namedPropertyQueryCallback, TestEventTargetV8In
ternal::namedPropertyDeleterCallback, TestEventTargetV8Internal::namedPropertyEn
umeratorCallback); |
| 286 desc->InstanceTemplate()->MarkAsUndetectable(); | 284 desc->InstanceTemplate()->MarkAsUndetectable(); |
| 287 | 285 |
| 288 // Custom toString template | 286 // Custom toString template |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 341 V8DOMWrapper::associateObjectWithWrapper<V8TestEventTarget>(impl, &wrapperTy
peInfo, wrapper, isolate, WrapperConfiguration::Independent); | 339 V8DOMWrapper::associateObjectWithWrapper<V8TestEventTarget>(impl, &wrapperTy
peInfo, wrapper, isolate, WrapperConfiguration::Independent); |
| 342 return wrapper; | 340 return wrapper; |
| 343 } | 341 } |
| 344 | 342 |
| 345 void V8TestEventTarget::derefObject(void* object) | 343 void V8TestEventTarget::derefObject(void* object) |
| 346 { | 344 { |
| 347 fromInternalPointer(object)->deref(); | 345 fromInternalPointer(object)->deref(); |
| 348 } | 346 } |
| 349 | 347 |
| 350 } // namespace WebCore | 348 } // namespace WebCore |
| OLD | NEW |