OLD | NEW |
1 /* | 1 /* |
2 This file is part of the WebKit open source project. | 2 This file is part of the WebKit open source project. |
3 This file has been generated by generate-bindings.pl. DO NOT MODIFY! | 3 This file has been generated by generate-bindings.pl. 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 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
161 } | 161 } |
162 | 162 |
163 static v8::Handle<v8::Value> dispatchEventMethodCallback(const v8::Arguments& ar
gs) | 163 static v8::Handle<v8::Value> dispatchEventMethodCallback(const v8::Arguments& ar
gs) |
164 { | 164 { |
165 return TestEventTargetV8Internal::dispatchEventMethod(args); | 165 return TestEventTargetV8Internal::dispatchEventMethod(args); |
166 } | 166 } |
167 | 167 |
168 } // namespace TestEventTargetV8Internal | 168 } // namespace TestEventTargetV8Internal |
169 | 169 |
170 static const V8DOMConfiguration::BatchedMethod V8TestEventTargetMethods[] = { | 170 static const V8DOMConfiguration::BatchedMethod V8TestEventTargetMethods[] = { |
171 {"item", TestEventTargetV8Internal::itemMethodCallback, 0}, | 171 {"item", TestEventTargetV8Internal::itemMethodCallback, 0, 1}, |
172 {"namedItem", TestEventTargetV8Internal::namedItemMethodCallback, 0}, | 172 {"namedItem", TestEventTargetV8Internal::namedItemMethodCallback, 0, 1}, |
173 {"addEventListener", TestEventTargetV8Internal::addEventListenerMethodCallba
ck, 0}, | 173 {"addEventListener", TestEventTargetV8Internal::addEventListenerMethodCallba
ck, 0, 2}, |
174 {"removeEventListener", TestEventTargetV8Internal::removeEventListenerMethod
Callback, 0}, | 174 {"removeEventListener", TestEventTargetV8Internal::removeEventListenerMethod
Callback, 0, 2}, |
175 }; | 175 }; |
176 | 176 |
177 static v8::Persistent<v8::FunctionTemplate> ConfigureV8TestEventTargetTemplate(v
8::Persistent<v8::FunctionTemplate> desc, v8::Isolate* isolate, WrapperWorldType
currentWorldType) | 177 static v8::Persistent<v8::FunctionTemplate> ConfigureV8TestEventTargetTemplate(v
8::Persistent<v8::FunctionTemplate> desc, v8::Isolate* isolate, WrapperWorldType
currentWorldType) |
178 { | 178 { |
179 desc->ReadOnlyPrototype(); | 179 desc->ReadOnlyPrototype(); |
180 | 180 |
181 v8::Local<v8::Signature> defaultSignature; | 181 v8::Local<v8::Signature> defaultSignature; |
182 defaultSignature = V8DOMConfiguration::configureTemplate(desc, "TestEventTar
get", v8::Persistent<v8::FunctionTemplate>(), V8TestEventTarget::internalFieldCo
unt, | 182 defaultSignature = V8DOMConfiguration::configureTemplate(desc, "TestEventTar
get", v8::Persistent<v8::FunctionTemplate>(), V8TestEventTarget::internalFieldCo
unt, |
183 0, 0, | 183 0, 0, |
184 V8TestEventTargetMethods, WTF_ARRAY_LENGTH(V8TestEventTargetMethods), is
olate, currentWorldType); | 184 V8TestEventTargetMethods, WTF_ARRAY_LENGTH(V8TestEventTargetMethods), is
olate, currentWorldType); |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
251 installPerContextProperties(wrapper, impl.get(), isolate); | 251 installPerContextProperties(wrapper, impl.get(), isolate); |
252 V8DOMWrapper::associateObjectWithWrapper(impl, &info, wrapper, isolate, hasD
ependentLifetime ? WrapperConfiguration::Dependent : WrapperConfiguration::Indep
endent); | 252 V8DOMWrapper::associateObjectWithWrapper(impl, &info, wrapper, isolate, hasD
ependentLifetime ? WrapperConfiguration::Dependent : WrapperConfiguration::Indep
endent); |
253 return wrapper; | 253 return wrapper; |
254 } | 254 } |
255 void V8TestEventTarget::derefObject(void* object) | 255 void V8TestEventTarget::derefObject(void* object) |
256 { | 256 { |
257 static_cast<TestEventTarget*>(object)->deref(); | 257 static_cast<TestEventTarget*>(object)->deref(); |
258 } | 258 } |
259 | 259 |
260 } // namespace WebCore | 260 } // namespace WebCore |
OLD | NEW |