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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 | 55 |
56 namespace TestCustomAccessorsV8Internal { | 56 namespace TestCustomAccessorsV8Internal { |
57 | 57 |
58 template <typename T> void V8_USE(T) { } | 58 template <typename T> void V8_USE(T) { } |
59 | 59 |
60 static v8::Handle<v8::Value> anotherFunctionMethod(const v8::Arguments& args) | 60 static v8::Handle<v8::Value> anotherFunctionMethod(const v8::Arguments& args) |
61 { | 61 { |
62 if (args.Length() < 1) | 62 if (args.Length() < 1) |
63 return throwNotEnoughArgumentsError(args.GetIsolate()); | 63 return throwNotEnoughArgumentsError(args.GetIsolate()); |
64 TestCustomAccessors* imp = V8TestCustomAccessors::toNative(args.Holder()); | 64 TestCustomAccessors* imp = V8TestCustomAccessors::toNative(args.Holder()); |
65 ExceptionCode ec = 0; | |
66 V8TRYCATCH_FOR_V8STRINGRESOURCE(V8StringResource<>, str, args[0]); | 65 V8TRYCATCH_FOR_V8STRINGRESOURCE(V8StringResource<>, str, args[0]); |
67 imp->anotherFunction(str); | 66 imp->anotherFunction(str); |
68 return v8Undefined(); | 67 return v8Undefined(); |
69 } | 68 } |
70 | 69 |
71 static v8::Handle<v8::Value> anotherFunctionMethodCallback(const v8::Arguments&
args) | 70 static v8::Handle<v8::Value> anotherFunctionMethodCallback(const v8::Arguments&
args) |
72 { | 71 { |
73 return TestCustomAccessorsV8Internal::anotherFunctionMethod(args); | 72 return TestCustomAccessorsV8Internal::anotherFunctionMethod(args); |
74 } | 73 } |
75 | 74 |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
139 installPerContextProperties(wrapper, impl.get(), isolate); | 138 installPerContextProperties(wrapper, impl.get(), isolate); |
140 V8DOMWrapper::associateObjectWithWrapper(impl, &info, wrapper, isolate, Wrap
perConfiguration::Independent); | 139 V8DOMWrapper::associateObjectWithWrapper(impl, &info, wrapper, isolate, Wrap
perConfiguration::Independent); |
141 return wrapper; | 140 return wrapper; |
142 } | 141 } |
143 void V8TestCustomAccessors::derefObject(void* object) | 142 void V8TestCustomAccessors::derefObject(void* object) |
144 { | 143 { |
145 static_cast<TestCustomAccessors*>(object)->deref(); | 144 static_cast<TestCustomAccessors*>(object)->deref(); |
146 } | 145 } |
147 | 146 |
148 } // namespace WebCore | 147 } // namespace WebCore |
OLD | NEW |