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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
75 static v8::Handle<v8::Value> itemMethodCallback(const v8::Arguments& args) | 75 static v8::Handle<v8::Value> itemMethodCallback(const v8::Arguments& args) |
76 { | 76 { |
77 return TestEventTargetV8Internal::itemMethod(args); | 77 return TestEventTargetV8Internal::itemMethod(args); |
78 } | 78 } |
79 | 79 |
80 static v8::Handle<v8::Value> namedItemMethod(const v8::Arguments& args) | 80 static v8::Handle<v8::Value> namedItemMethod(const v8::Arguments& args) |
81 { | 81 { |
82 if (args.Length() < 1) | 82 if (args.Length() < 1) |
83 return throwNotEnoughArgumentsError(args.GetIsolate()); | 83 return throwNotEnoughArgumentsError(args.GetIsolate()); |
84 TestEventTarget* imp = V8TestEventTarget::toNative(args.Holder()); | 84 TestEventTarget* imp = V8TestEventTarget::toNative(args.Holder()); |
85 ExceptionCode ec = 0; | |
86 V8TRYCATCH_FOR_V8STRINGRESOURCE(V8StringResource<>, name, args[0]); | 85 V8TRYCATCH_FOR_V8STRINGRESOURCE(V8StringResource<>, name, args[0]); |
87 return toV8(imp->namedItem(name), args.Holder(), args.GetIsolate()); | 86 return toV8(imp->namedItem(name), args.Holder(), args.GetIsolate()); |
88 } | 87 } |
89 | 88 |
90 static v8::Handle<v8::Value> namedItemMethodCallback(const v8::Arguments& args) | 89 static v8::Handle<v8::Value> namedItemMethodCallback(const v8::Arguments& args) |
91 { | 90 { |
92 return TestEventTargetV8Internal::namedItemMethod(args); | 91 return TestEventTargetV8Internal::namedItemMethod(args); |
93 } | 92 } |
94 | 93 |
95 static v8::Handle<v8::Value> addEventListenerMethod(const v8::Arguments& args) | 94 static v8::Handle<v8::Value> addEventListenerMethod(const v8::Arguments& args) |
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
249 installPerContextProperties(wrapper, impl.get(), isolate); | 248 installPerContextProperties(wrapper, impl.get(), isolate); |
250 V8DOMWrapper::associateObjectWithWrapper(impl, &info, wrapper, isolate, Wrap
perConfiguration::Independent); | 249 V8DOMWrapper::associateObjectWithWrapper(impl, &info, wrapper, isolate, Wrap
perConfiguration::Independent); |
251 return wrapper; | 250 return wrapper; |
252 } | 251 } |
253 void V8TestEventTarget::derefObject(void* object) | 252 void V8TestEventTarget::derefObject(void* object) |
254 { | 253 { |
255 static_cast<TestEventTarget*>(object)->deref(); | 254 static_cast<TestEventTarget*>(object)->deref(); |
256 } | 255 } |
257 | 256 |
258 } // namespace WebCore | 257 } // namespace WebCore |
OLD | NEW |