| 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 260 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  271 }; |  271 }; | 
|  272  |  272  | 
|  273 static v8::Handle<v8::FunctionTemplate> ConfigureV8TestEventTargetTemplate(v8::H
     andle<v8::FunctionTemplate> desc, v8::Isolate* isolate, WrapperWorldType current
     WorldType) |  273 static v8::Handle<v8::FunctionTemplate> ConfigureV8TestEventTargetTemplate(v8::H
     andle<v8::FunctionTemplate> desc, v8::Isolate* isolate, WrapperWorldType current
     WorldType) | 
|  274 { |  274 { | 
|  275     desc->ReadOnlyPrototype(); |  275     desc->ReadOnlyPrototype(); | 
|  276  |  276  | 
|  277     v8::Local<v8::Signature> defaultSignature; |  277     v8::Local<v8::Signature> defaultSignature; | 
|  278     defaultSignature = V8DOMConfiguration::installDOMClassTemplate(desc, "TestEv
     entTarget", V8EventTarget::GetTemplate(isolate, currentWorldType), V8TestEventTa
     rget::internalFieldCount, |  278     defaultSignature = V8DOMConfiguration::installDOMClassTemplate(desc, "TestEv
     entTarget", V8EventTarget::GetTemplate(isolate, currentWorldType), V8TestEventTa
     rget::internalFieldCount, | 
|  279         0, 0, |  279         0, 0, | 
|  280         V8TestEventTargetMethods, WTF_ARRAY_LENGTH(V8TestEventTargetMethods), is
     olate, currentWorldType); |  280         V8TestEventTargetMethods, WTF_ARRAY_LENGTH(V8TestEventTargetMethods), is
     olate, currentWorldType); | 
|  281     UNUSED_PARAM(defaultSignature); // In some cases, it will not be used. |  281     UNUSED_PARAM(defaultSignature); | 
|  282     v8::Local<v8::ObjectTemplate> instance = desc->InstanceTemplate(); |  282     v8::Local<v8::ObjectTemplate> instance = desc->InstanceTemplate(); | 
|  283     v8::Local<v8::ObjectTemplate> proto = desc->PrototypeTemplate(); |  283     v8::Local<v8::ObjectTemplate> proto = desc->PrototypeTemplate(); | 
|  284     UNUSED_PARAM(instance); // In some cases, it will not be used. |  284     UNUSED_PARAM(instance); | 
|  285     UNUSED_PARAM(proto); // In some cases, it will not be used. |  285     UNUSED_PARAM(proto); | 
|  286     desc->InstanceTemplate()->SetIndexedPropertyHandler(TestEventTargetV8Interna
     l::indexedPropertyGetterCallback, TestEventTargetV8Internal::indexedPropertySett
     erCallback, 0, TestEventTargetV8Internal::indexedPropertyDeleterCallback, indexe
     dPropertyEnumerator<TestEventTarget>); |  286     desc->InstanceTemplate()->SetIndexedPropertyHandler(TestEventTargetV8Interna
     l::indexedPropertyGetterCallback, TestEventTargetV8Internal::indexedPropertySett
     erCallback, 0, TestEventTargetV8Internal::indexedPropertyDeleterCallback, indexe
     dPropertyEnumerator<TestEventTarget>); | 
|  287     desc->InstanceTemplate()->SetNamedPropertyHandler(TestEventTargetV8Internal:
     :namedPropertyGetterCallback, TestEventTargetV8Internal::namedPropertySetterCall
     back, TestEventTargetV8Internal::namedPropertyQueryCallback, TestEventTargetV8In
     ternal::namedPropertyDeleterCallback, TestEventTargetV8Internal::namedPropertyEn
     umeratorCallback); |  287     desc->InstanceTemplate()->SetNamedPropertyHandler(TestEventTargetV8Internal:
     :namedPropertyGetterCallback, TestEventTargetV8Internal::namedPropertySetterCall
     back, TestEventTargetV8Internal::namedPropertyQueryCallback, TestEventTargetV8In
     ternal::namedPropertyDeleterCallback, TestEventTargetV8Internal::namedPropertyEn
     umeratorCallback); | 
|  288     desc->InstanceTemplate()->MarkAsUndetectable(); |  288     desc->InstanceTemplate()->MarkAsUndetectable(); | 
|  289  |  289  | 
|  290     // Custom toString template |  290     // Custom toString template | 
|  291     desc->Set(v8::String::NewSymbol("toString"), V8PerIsolateData::current()->to
     StringTemplate()); |  291     desc->Set(v8::String::NewSymbol("toString"), V8PerIsolateData::current()->to
     StringTemplate()); | 
|  292     return desc; |  292     return desc; | 
|  293 } |  293 } | 
|  294  |  294  | 
|  295 v8::Handle<v8::FunctionTemplate> V8TestEventTarget::GetTemplate(v8::Isolate* iso
     late, WrapperWorldType currentWorldType) |  295 v8::Handle<v8::FunctionTemplate> V8TestEventTarget::GetTemplate(v8::Isolate* iso
     late, WrapperWorldType currentWorldType) | 
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  343     V8DOMWrapper::associateObjectWithWrapper<V8TestEventTarget>(impl, &info, wra
     pper, isolate, WrapperConfiguration::Independent); |  343     V8DOMWrapper::associateObjectWithWrapper<V8TestEventTarget>(impl, &info, wra
     pper, isolate, WrapperConfiguration::Independent); | 
|  344     return wrapper; |  344     return wrapper; | 
|  345 } |  345 } | 
|  346  |  346  | 
|  347 void V8TestEventTarget::derefObject(void* object) |  347 void V8TestEventTarget::derefObject(void* object) | 
|  348 { |  348 { | 
|  349     fromInternalPointer(object)->deref(); |  349     fromInternalPointer(object)->deref(); | 
|  350 } |  350 } | 
|  351  |  351  | 
|  352 } // namespace WebCore |  352 } // namespace WebCore | 
| OLD | NEW |