| 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 518 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 529 | 529 |
| 530 TestInterfaceV8Internal::constructor(args); | 530 TestInterfaceV8Internal::constructor(args); |
| 531 } | 531 } |
| 532 | 532 |
| 533 v8::Handle<v8::Value> V8TestInterface::namedPropertyGetter(v8::Local<v8::String>
name, const v8::AccessorInfo& info) | 533 v8::Handle<v8::Value> V8TestInterface::namedPropertyGetter(v8::Local<v8::String>
name, const v8::AccessorInfo& info) |
| 534 { | 534 { |
| 535 if (!info.Holder()->GetRealNamedPropertyInPrototypeChain(name).IsEmpty()) | 535 if (!info.Holder()->GetRealNamedPropertyInPrototypeChain(name).IsEmpty()) |
| 536 return v8Undefined(); | 536 return v8Undefined(); |
| 537 if (info.Holder()->HasRealNamedCallbackProperty(name)) | 537 if (info.Holder()->HasRealNamedCallbackProperty(name)) |
| 538 return v8Undefined(); | 538 return v8Undefined(); |
| 539 if (info.Holder()->HasRealNamedProperty(name)) |
| 540 return v8Undefined(); |
| 539 | 541 |
| 540 ASSERT(V8DOMWrapper::maybeDOMWrapper(info.Holder())); | 542 ASSERT(V8DOMWrapper::maybeDOMWrapper(info.Holder())); |
| 541 TestInterface* collection = toNative(info.Holder()); | 543 TestInterface* collection = toNative(info.Holder()); |
| 542 AtomicString propertyName = toWebCoreAtomicString(name); | 544 AtomicString propertyName = toWebCoreAtomicString(name); |
| 543 bool element0Enabled = false; | 545 bool element0Enabled = false; |
| 544 RefPtr<Node> element0; | 546 RefPtr<Node> element0; |
| 545 bool element1Enabled = false; | 547 bool element1Enabled = false; |
| 546 RefPtr<NodeList> element1; | 548 RefPtr<NodeList> element1; |
| 547 collection->getItem(propertyName, element0Enabled, element0, element1Enabled
, element1); | 549 collection->getItem(propertyName, element0Enabled, element0, element1Enabled
, element1); |
| 548 if (element0Enabled) | 550 if (element0Enabled) |
| (...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 665 return wrapper; | 667 return wrapper; |
| 666 } | 668 } |
| 667 void V8TestInterface::derefObject(void* object) | 669 void V8TestInterface::derefObject(void* object) |
| 668 { | 670 { |
| 669 static_cast<TestInterface*>(object)->deref(); | 671 static_cast<TestInterface*>(object)->deref(); |
| 670 } | 672 } |
| 671 | 673 |
| 672 } // namespace WebCore | 674 } // namespace WebCore |
| 673 | 675 |
| 674 #endif // ENABLE(Condition1) || ENABLE(Condition2) | 676 #endif // ENABLE(Condition1) || ENABLE(Condition2) |
| OLD | NEW |