| 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 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 192 {"removeEventListener", TestEventTargetV8Internal::removeEventListenerMethod
Callback, 0, 2}, | 192 {"removeEventListener", TestEventTargetV8Internal::removeEventListenerMethod
Callback, 0, 2}, |
| 193 }; | 193 }; |
| 194 | 194 |
| 195 v8::Handle<v8::Value> V8TestEventTarget::indexedPropertyGetter(uint32_t index, c
onst v8::AccessorInfo& info) | 195 v8::Handle<v8::Value> V8TestEventTarget::indexedPropertyGetter(uint32_t index, c
onst v8::AccessorInfo& info) |
| 196 { | 196 { |
| 197 ASSERT(V8DOMWrapper::maybeDOMWrapper(info.Holder())); | 197 ASSERT(V8DOMWrapper::maybeDOMWrapper(info.Holder())); |
| 198 TestEventTarget* collection = toNative(info.Holder()); | 198 TestEventTarget* collection = toNative(info.Holder()); |
| 199 RefPtr<Node> element = collection->item(index); | 199 RefPtr<Node> element = collection->item(index); |
| 200 if (!element) | 200 if (!element) |
| 201 return v8Undefined(); | 201 return v8Undefined(); |
| 202 return toV8(element.release(), info.Holder(), info.GetIsolate()); | 202 return toV8Fast(element.release(), info, collection); |
| 203 } | 203 } |
| 204 v8::Handle<v8::Value> V8TestEventTarget::namedPropertyGetter(v8::Local<v8::Strin
g> name, const v8::AccessorInfo& info) | 204 v8::Handle<v8::Value> V8TestEventTarget::namedPropertyGetter(v8::Local<v8::Strin
g> name, const v8::AccessorInfo& info) |
| 205 { | 205 { |
| 206 if (!info.Holder()->GetRealNamedPropertyInPrototypeChain(name).IsEmpty()) | 206 if (!info.Holder()->GetRealNamedPropertyInPrototypeChain(name).IsEmpty()) |
| 207 return v8Undefined(); | 207 return v8Undefined(); |
| 208 if (info.Holder()->HasRealNamedCallbackProperty(name)) | 208 if (info.Holder()->HasRealNamedCallbackProperty(name)) |
| 209 return v8Undefined(); | 209 return v8Undefined(); |
| 210 | 210 |
| 211 v8::Local<v8::Object> object = info.Holder(); | 211 v8::Local<v8::Object> object = info.Holder(); |
| 212 ASSERT(V8DOMWrapper::maybeDOMWrapper(object)); | 212 ASSERT(V8DOMWrapper::maybeDOMWrapper(object)); |
| (...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 298 installPerContextProperties(wrapper, impl.get(), isolate); | 298 installPerContextProperties(wrapper, impl.get(), isolate); |
| 299 V8DOMWrapper::associateObjectWithWrapper(impl, &info, wrapper, isolate, hasD
ependentLifetime ? WrapperConfiguration::Dependent : WrapperConfiguration::Indep
endent); | 299 V8DOMWrapper::associateObjectWithWrapper(impl, &info, wrapper, isolate, hasD
ependentLifetime ? WrapperConfiguration::Dependent : WrapperConfiguration::Indep
endent); |
| 300 return wrapper; | 300 return wrapper; |
| 301 } | 301 } |
| 302 void V8TestEventTarget::derefObject(void* object) | 302 void V8TestEventTarget::derefObject(void* object) |
| 303 { | 303 { |
| 304 static_cast<TestEventTarget*>(object)->deref(); | 304 static_cast<TestEventTarget*>(object)->deref(); |
| 305 } | 305 } |
| 306 | 306 |
| 307 } // namespace WebCore | 307 } // namespace WebCore |
| OLD | NEW |