| 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 533 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 544 defaultSignature = V8DOMConfiguration::installDOMClassTemplate(desc, "TestTy
pedefs", v8::Local<v8::FunctionTemplate>(), V8TestTypedefs::internalFieldCount, | 544 defaultSignature = V8DOMConfiguration::installDOMClassTemplate(desc, "TestTy
pedefs", v8::Local<v8::FunctionTemplate>(), V8TestTypedefs::internalFieldCount, |
| 545 V8TestTypedefsAttributes, WTF_ARRAY_LENGTH(V8TestTypedefsAttributes), | 545 V8TestTypedefsAttributes, WTF_ARRAY_LENGTH(V8TestTypedefsAttributes), |
| 546 V8TestTypedefsMethods, WTF_ARRAY_LENGTH(V8TestTypedefsMethods), isolate,
currentWorldType); | 546 V8TestTypedefsMethods, WTF_ARRAY_LENGTH(V8TestTypedefsMethods), isolate,
currentWorldType); |
| 547 UNUSED_PARAM(defaultSignature); | 547 UNUSED_PARAM(defaultSignature); |
| 548 desc->SetCallHandler(V8TestTypedefs::constructorCallback); | 548 desc->SetCallHandler(V8TestTypedefs::constructorCallback); |
| 549 desc->SetLength(2); | 549 desc->SetLength(2); |
| 550 v8::Local<v8::ObjectTemplate> instance = desc->InstanceTemplate(); | 550 v8::Local<v8::ObjectTemplate> instance = desc->InstanceTemplate(); |
| 551 v8::Local<v8::ObjectTemplate> proto = desc->PrototypeTemplate(); | 551 v8::Local<v8::ObjectTemplate> proto = desc->PrototypeTemplate(); |
| 552 UNUSED_PARAM(instance); | 552 UNUSED_PARAM(instance); |
| 553 UNUSED_PARAM(proto); | 553 UNUSED_PARAM(proto); |
| 554 // Attribute 'TestSubObj' (Extended Attributes: '') | |
| 555 desc->SetNativeDataProperty(v8::String::NewSymbol("TestSubObj"), TestTypedef
sV8Internal::TestTypedefsConstructorGetter, 0, v8::External::New(&V8TestSubObj::
info), static_cast<v8::PropertyAttribute>(v8::None | v8::DontEnum), v8::Handle<v
8::AccessorSignature>(), static_cast<v8::AccessControl>(v8::DEFAULT)); | 554 desc->SetNativeDataProperty(v8::String::NewSymbol("TestSubObj"), TestTypedef
sV8Internal::TestTypedefsConstructorGetter, 0, v8::External::New(&V8TestSubObj::
info), static_cast<v8::PropertyAttribute>(v8::None | v8::DontEnum), v8::Handle<v
8::AccessorSignature>(), static_cast<v8::AccessControl>(v8::DEFAULT)); |
| 556 | 555 |
| 557 // Custom toString template | 556 // Custom toString template |
| 558 desc->Set(v8::String::NewSymbol("toString"), V8PerIsolateData::current()->to
StringTemplate()); | 557 desc->Set(v8::String::NewSymbol("toString"), V8PerIsolateData::current()->to
StringTemplate()); |
| 559 return desc; | 558 return desc; |
| 560 } | 559 } |
| 561 | 560 |
| 562 v8::Handle<v8::FunctionTemplate> V8TestTypedefs::GetTemplate(v8::Isolate* isolat
e, WrapperWorldType currentWorldType) | 561 v8::Handle<v8::FunctionTemplate> V8TestTypedefs::GetTemplate(v8::Isolate* isolat
e, WrapperWorldType currentWorldType) |
| 563 { | 562 { |
| 564 V8PerIsolateData* data = V8PerIsolateData::from(isolate); | 563 V8PerIsolateData* data = V8PerIsolateData::from(isolate); |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 605 V8DOMWrapper::associateObjectWithWrapper<V8TestTypedefs>(impl, &info, wrappe
r, isolate, WrapperConfiguration::Independent); | 604 V8DOMWrapper::associateObjectWithWrapper<V8TestTypedefs>(impl, &info, wrappe
r, isolate, WrapperConfiguration::Independent); |
| 606 return wrapper; | 605 return wrapper; |
| 607 } | 606 } |
| 608 | 607 |
| 609 void V8TestTypedefs::derefObject(void* object) | 608 void V8TestTypedefs::derefObject(void* object) |
| 610 { | 609 { |
| 611 fromInternalPointer(object)->deref(); | 610 fromInternalPointer(object)->deref(); |
| 612 } | 611 } |
| 613 | 612 |
| 614 } // namespace WebCore | 613 } // namespace WebCore |
| OLD | NEW |