| 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 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 162 | 162 |
| 163 static const V8DOMConfiguration::MethodConfiguration V8TestInterfaceImplementedA
sMethods[] = { | 163 static const V8DOMConfiguration::MethodConfiguration V8TestInterfaceImplementedA
sMethods[] = { |
| 164 {"func1", RealClassV8Internal::func1MethodCallback, 0, 1}, | 164 {"func1", RealClassV8Internal::func1MethodCallback, 0, 1}, |
| 165 }; | 165 }; |
| 166 | 166 |
| 167 static v8::Handle<v8::FunctionTemplate> ConfigureV8TestInterfaceImplementedAsTem
plate(v8::Handle<v8::FunctionTemplate> desc, v8::Isolate* isolate, WrapperWorldT
ype currentWorldType) | 167 static v8::Handle<v8::FunctionTemplate> ConfigureV8TestInterfaceImplementedAsTem
plate(v8::Handle<v8::FunctionTemplate> desc, v8::Isolate* isolate, WrapperWorldT
ype currentWorldType) |
| 168 { | 168 { |
| 169 desc->ReadOnlyPrototype(); | 169 desc->ReadOnlyPrototype(); |
| 170 | 170 |
| 171 v8::Local<v8::Signature> defaultSignature; | 171 v8::Local<v8::Signature> defaultSignature; |
| 172 defaultSignature = V8DOMConfiguration::installDOMClassTemplate(desc, "TestIn
terfaceImplementedAs", v8::Local<v8::FunctionTemplate>(), V8TestInterfaceImpleme
ntedAs::internalFieldCount, | 172 defaultSignature = V8DOMConfiguration::installDOMClassTemplate(desc, "TestIn
terfaceImplementedAs", v8::Local<v8::FunctionTemplate>(), V8TestInterfaceImpleme
ntedAs::internalFieldCount, V8TestInterfaceImplementedAsAttributes, WTF_ARRAY_LE
NGTH(V8TestInterfaceImplementedAsAttributes), V8TestInterfaceImplementedAsMethod
s, WTF_ARRAY_LENGTH(V8TestInterfaceImplementedAsMethods), isolate, currentWorldT
ype); |
| 173 V8TestInterfaceImplementedAsAttributes, WTF_ARRAY_LENGTH(V8TestInterface
ImplementedAsAttributes), | |
| 174 V8TestInterfaceImplementedAsMethods, WTF_ARRAY_LENGTH(V8TestInterfaceImp
lementedAsMethods), isolate, currentWorldType); | |
| 175 UNUSED_PARAM(defaultSignature); | 173 UNUSED_PARAM(defaultSignature); |
| 176 v8::Local<v8::ObjectTemplate> instance = desc->InstanceTemplate(); | 174 v8::Local<v8::ObjectTemplate> instance = desc->InstanceTemplate(); |
| 177 v8::Local<v8::ObjectTemplate> proto = desc->PrototypeTemplate(); | 175 v8::Local<v8::ObjectTemplate> proto = desc->PrototypeTemplate(); |
| 178 UNUSED_PARAM(instance); | 176 UNUSED_PARAM(instance); |
| 179 UNUSED_PARAM(proto); | 177 UNUSED_PARAM(proto); |
| 180 | 178 |
| 181 // Custom Signature 'funcTestInterfaceImplementedAsParam' | 179 // Custom Signature 'funcTestInterfaceImplementedAsParam' |
| 182 const int funcTestInterfaceImplementedAsParamArgc = 1; | 180 const int funcTestInterfaceImplementedAsParamArgc = 1; |
| 183 v8::Handle<v8::FunctionTemplate> funcTestInterfaceImplementedAsParamArgv[fun
cTestInterfaceImplementedAsParamArgc] = { V8PerIsolateData::from(isolate)->rawTe
mplate(&V8TestInterfaceImplementedAs::wrapperTypeInfo, currentWorldType) }; | 181 v8::Handle<v8::FunctionTemplate> funcTestInterfaceImplementedAsParamArgv[fun
cTestInterfaceImplementedAsParamArgc] = { V8PerIsolateData::from(isolate)->rawTe
mplate(&V8TestInterfaceImplementedAs::wrapperTypeInfo, currentWorldType) }; |
| 184 v8::Handle<v8::Signature> funcTestInterfaceImplementedAsParamSignature = v8:
:Signature::New(desc, funcTestInterfaceImplementedAsParamArgc, funcTestInterface
ImplementedAsParamArgv); | 182 v8::Handle<v8::Signature> funcTestInterfaceImplementedAsParamSignature = v8:
:Signature::New(desc, funcTestInterfaceImplementedAsParamArgc, funcTestInterface
ImplementedAsParamArgv); |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 235 V8DOMWrapper::associateObjectWithWrapper<V8TestInterfaceImplementedAs>(impl,
&wrapperTypeInfo, wrapper, isolate, WrapperConfiguration::Independent); | 233 V8DOMWrapper::associateObjectWithWrapper<V8TestInterfaceImplementedAs>(impl,
&wrapperTypeInfo, wrapper, isolate, WrapperConfiguration::Independent); |
| 236 return wrapper; | 234 return wrapper; |
| 237 } | 235 } |
| 238 | 236 |
| 239 void V8TestInterfaceImplementedAs::derefObject(void* object) | 237 void V8TestInterfaceImplementedAs::derefObject(void* object) |
| 240 { | 238 { |
| 241 fromInternalPointer(object)->deref(); | 239 fromInternalPointer(object)->deref(); |
| 242 } | 240 } |
| 243 | 241 |
| 244 } // namespace WebCore | 242 } // namespace WebCore |
| OLD | NEW |