| 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 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 124 data->setPrivateTemplate(currentWorldType, &privateTemplateUniqueKey, result
); | 124 data->setPrivateTemplate(currentWorldType, &privateTemplateUniqueKey, result
); |
| 125 | 125 |
| 126 return scope.Close(result); | 126 return scope.Close(result); |
| 127 } | 127 } |
| 128 | 128 |
| 129 static v8::Handle<v8::FunctionTemplate> ConfigureV8TestNamedConstructorTemplate(
v8::Handle<v8::FunctionTemplate> desc, v8::Isolate* isolate, WrapperWorldType cu
rrentWorldType) | 129 static v8::Handle<v8::FunctionTemplate> ConfigureV8TestNamedConstructorTemplate(
v8::Handle<v8::FunctionTemplate> desc, v8::Isolate* isolate, WrapperWorldType cu
rrentWorldType) |
| 130 { | 130 { |
| 131 desc->ReadOnlyPrototype(); | 131 desc->ReadOnlyPrototype(); |
| 132 | 132 |
| 133 v8::Local<v8::Signature> defaultSignature; | 133 v8::Local<v8::Signature> defaultSignature; |
| 134 defaultSignature = V8DOMConfiguration::installDOMClassTemplate(desc, "TestNa
medConstructor", v8::Local<v8::FunctionTemplate>(), V8TestNamedConstructor::inte
rnalFieldCount, | 134 defaultSignature = V8DOMConfiguration::installDOMClassTemplate(desc, "TestNa
medConstructor", v8::Local<v8::FunctionTemplate>(), V8TestNamedConstructor::inte
rnalFieldCount, 0, 0, 0, 0, isolate, currentWorldType); |
| 135 0, 0, | |
| 136 0, 0, isolate, currentWorldType); | |
| 137 UNUSED_PARAM(defaultSignature); | 135 UNUSED_PARAM(defaultSignature); |
| 138 | 136 |
| 139 // Custom toString template | 137 // Custom toString template |
| 140 desc->Set(v8::String::NewSymbol("toString"), V8PerIsolateData::current()->to
StringTemplate()); | 138 desc->Set(v8::String::NewSymbol("toString"), V8PerIsolateData::current()->to
StringTemplate()); |
| 141 return desc; | 139 return desc; |
| 142 } | 140 } |
| 143 | 141 |
| 144 v8::Handle<v8::FunctionTemplate> V8TestNamedConstructor::GetTemplate(v8::Isolate
* isolate, WrapperWorldType currentWorldType) | 142 v8::Handle<v8::FunctionTemplate> V8TestNamedConstructor::GetTemplate(v8::Isolate
* isolate, WrapperWorldType currentWorldType) |
| 145 { | 143 { |
| 146 V8PerIsolateData* data = V8PerIsolateData::from(isolate); | 144 V8PerIsolateData* data = V8PerIsolateData::from(isolate); |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 192 V8DOMWrapper::associateObjectWithWrapper<V8TestNamedConstructor>(impl, &wrap
perTypeInfo, wrapper, isolate, WrapperConfiguration::Dependent); | 190 V8DOMWrapper::associateObjectWithWrapper<V8TestNamedConstructor>(impl, &wrap
perTypeInfo, wrapper, isolate, WrapperConfiguration::Dependent); |
| 193 return wrapper; | 191 return wrapper; |
| 194 } | 192 } |
| 195 | 193 |
| 196 void V8TestNamedConstructor::derefObject(void* object) | 194 void V8TestNamedConstructor::derefObject(void* object) |
| 197 { | 195 { |
| 198 fromInternalPointer(object)->deref(); | 196 fromInternalPointer(object)->deref(); |
| 199 } | 197 } |
| 200 | 198 |
| 201 } // namespace WebCore | 199 } // namespace WebCore |
| OLD | NEW |