| 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 4276 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4287 return v8Undefined(); | 4287 return v8Undefined(); |
| 4288 return toV8Fast(element.release(), info, collection); | 4288 return toV8Fast(element.release(), info, collection); |
| 4289 } | 4289 } |
| 4290 | 4290 |
| 4291 v8::Handle<v8::Value> V8TestObject::namedPropertyGetter(v8::Local<v8::String> na
me, const v8::AccessorInfo& info) | 4291 v8::Handle<v8::Value> V8TestObject::namedPropertyGetter(v8::Local<v8::String> na
me, const v8::AccessorInfo& info) |
| 4292 { | 4292 { |
| 4293 if (!info.Holder()->GetRealNamedPropertyInPrototypeChain(name).IsEmpty()) | 4293 if (!info.Holder()->GetRealNamedPropertyInPrototypeChain(name).IsEmpty()) |
| 4294 return v8Undefined(); | 4294 return v8Undefined(); |
| 4295 if (info.Holder()->HasRealNamedCallbackProperty(name)) | 4295 if (info.Holder()->HasRealNamedCallbackProperty(name)) |
| 4296 return v8Undefined(); | 4296 return v8Undefined(); |
| 4297 if (info.Holder()->HasRealNamedProperty(name)) |
| 4298 return v8Undefined(); |
| 4297 | 4299 |
| 4298 ASSERT(V8DOMWrapper::maybeDOMWrapper(info.Holder())); | 4300 ASSERT(V8DOMWrapper::maybeDOMWrapper(info.Holder())); |
| 4299 TestObj* collection = toNative(info.Holder()); | 4301 TestObj* collection = toNative(info.Holder()); |
| 4300 AtomicString propertyName = toWebCoreAtomicString(name); | 4302 AtomicString propertyName = toWebCoreAtomicString(name); |
| 4301 String element = collection->namedItem(propertyName); | 4303 String element = collection->namedItem(propertyName); |
| 4302 if (element.isNull()) | 4304 if (element.isNull()) |
| 4303 return v8Undefined(); | 4305 return v8Undefined(); |
| 4304 return v8String(element, info.GetIsolate()); | 4306 return v8String(element, info.GetIsolate()); |
| 4305 } | 4307 } |
| 4306 | 4308 |
| (...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4482 installPerContextProperties(wrapper, impl.get(), isolate); | 4484 installPerContextProperties(wrapper, impl.get(), isolate); |
| 4483 V8DOMWrapper::associateObjectWithWrapper(impl, &info, wrapper, isolate, Wrap
perConfiguration::Independent); | 4485 V8DOMWrapper::associateObjectWithWrapper(impl, &info, wrapper, isolate, Wrap
perConfiguration::Independent); |
| 4484 return wrapper; | 4486 return wrapper; |
| 4485 } | 4487 } |
| 4486 void V8TestObject::derefObject(void* object) | 4488 void V8TestObject::derefObject(void* object) |
| 4487 { | 4489 { |
| 4488 static_cast<TestObj*>(object)->deref(); | 4490 static_cast<TestObj*>(object)->deref(); |
| 4489 } | 4491 } |
| 4490 | 4492 |
| 4491 } // namespace WebCore | 4493 } // namespace WebCore |
| OLD | NEW |