| 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 495 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 506 } | 506 } |
| 507 | 507 |
| 508 TestTypedefsV8Internal::constructor(args); | 508 TestTypedefsV8Internal::constructor(args); |
| 509 } | 509 } |
| 510 | 510 |
| 511 static v8::Handle<v8::FunctionTemplate> ConfigureV8TestTypedefsTemplate(v8::Hand
le<v8::FunctionTemplate> desc, v8::Isolate* isolate, WrapperWorldType currentWor
ldType) | 511 static v8::Handle<v8::FunctionTemplate> ConfigureV8TestTypedefsTemplate(v8::Hand
le<v8::FunctionTemplate> desc, v8::Isolate* isolate, WrapperWorldType currentWor
ldType) |
| 512 { | 512 { |
| 513 desc->ReadOnlyPrototype(); | 513 desc->ReadOnlyPrototype(); |
| 514 | 514 |
| 515 v8::Local<v8::Signature> defaultSignature; | 515 v8::Local<v8::Signature> defaultSignature; |
| 516 defaultSignature = V8DOMConfiguration::installDOMClassTemplate(desc, "TestTy
pedefs", v8::Local<v8::FunctionTemplate>(), V8TestTypedefs::internalFieldCount, | 516 defaultSignature = V8DOMConfiguration::installDOMClassTemplate(desc, "TestTy
pedefs", v8::Local<v8::FunctionTemplate>(), V8TestTypedefs::internalFieldCount,
V8TestTypedefsAttributes, WTF_ARRAY_LENGTH(V8TestTypedefsAttributes), V8TestType
defsMethods, WTF_ARRAY_LENGTH(V8TestTypedefsMethods), isolate, currentWorldType)
; |
| 517 V8TestTypedefsAttributes, WTF_ARRAY_LENGTH(V8TestTypedefsAttributes), | |
| 518 V8TestTypedefsMethods, WTF_ARRAY_LENGTH(V8TestTypedefsMethods), isolate,
currentWorldType); | |
| 519 UNUSED_PARAM(defaultSignature); | 517 UNUSED_PARAM(defaultSignature); |
| 520 desc->SetCallHandler(V8TestTypedefs::constructorCallback); | 518 desc->SetCallHandler(V8TestTypedefs::constructorCallback); |
| 521 desc->SetLength(2); | 519 desc->SetLength(2); |
| 522 v8::Local<v8::ObjectTemplate> instance = desc->InstanceTemplate(); | 520 v8::Local<v8::ObjectTemplate> instance = desc->InstanceTemplate(); |
| 523 v8::Local<v8::ObjectTemplate> proto = desc->PrototypeTemplate(); | 521 v8::Local<v8::ObjectTemplate> proto = desc->PrototypeTemplate(); |
| 524 UNUSED_PARAM(instance); | 522 UNUSED_PARAM(instance); |
| 525 UNUSED_PARAM(proto); | 523 UNUSED_PARAM(proto); |
| 526 desc->SetNativeDataProperty(v8::String::NewSymbol("TestSubObj"), TestTypedef
sV8Internal::TestTypedefsConstructorGetter, 0, v8::External::New(const_cast<Wrap
perTypeInfo*>(&V8TestSubObj::wrapperTypeInfo)), static_cast<v8::PropertyAttribut
e>(v8::DontEnum), v8::Handle<v8::AccessorSignature>(), static_cast<v8::AccessCon
trol>(v8::DEFAULT)); | 524 desc->SetNativeDataProperty(v8::String::NewSymbol("TestSubObj"), TestTypedef
sV8Internal::TestTypedefsConstructorGetter, 0, v8::External::New(const_cast<Wrap
perTypeInfo*>(&V8TestSubObj::wrapperTypeInfo)), static_cast<v8::PropertyAttribut
e>(v8::DontEnum), v8::Handle<v8::AccessorSignature>(), static_cast<v8::AccessCon
trol>(v8::DEFAULT)); |
| 527 | 525 |
| 528 // Custom toString template | 526 // Custom toString template |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 576 V8DOMWrapper::associateObjectWithWrapper<V8TestTypedefs>(impl, &wrapperTypeI
nfo, wrapper, isolate, WrapperConfiguration::Independent); | 574 V8DOMWrapper::associateObjectWithWrapper<V8TestTypedefs>(impl, &wrapperTypeI
nfo, wrapper, isolate, WrapperConfiguration::Independent); |
| 577 return wrapper; | 575 return wrapper; |
| 578 } | 576 } |
| 579 | 577 |
| 580 void V8TestTypedefs::derefObject(void* object) | 578 void V8TestTypedefs::derefObject(void* object) |
| 581 { | 579 { |
| 582 fromInternalPointer(object)->deref(); | 580 fromInternalPointer(object)->deref(); |
| 583 } | 581 } |
| 584 | 582 |
| 585 } // namespace WebCore | 583 } // namespace WebCore |
| OLD | NEW |