| 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 302 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 313 }; | 313 }; |
| 314 | 314 |
| 315 static v8::Handle<v8::FunctionTemplate> ConfigureV8TestSerializedScriptValueInte
rfaceTemplate(v8::Handle<v8::FunctionTemplate> desc, v8::Isolate* isolate, Wrapp
erWorldType currentWorldType) | 315 static v8::Handle<v8::FunctionTemplate> ConfigureV8TestSerializedScriptValueInte
rfaceTemplate(v8::Handle<v8::FunctionTemplate> desc, v8::Isolate* isolate, Wrapp
erWorldType currentWorldType) |
| 316 { | 316 { |
| 317 desc->ReadOnlyPrototype(); | 317 desc->ReadOnlyPrototype(); |
| 318 | 318 |
| 319 v8::Local<v8::Signature> defaultSignature; | 319 v8::Local<v8::Signature> defaultSignature; |
| 320 defaultSignature = V8DOMConfiguration::installDOMClassTemplate(desc, "TestSe
rializedScriptValueInterface", v8::Local<v8::FunctionTemplate>(), V8TestSerializ
edScriptValueInterface::internalFieldCount, | 320 defaultSignature = V8DOMConfiguration::installDOMClassTemplate(desc, "TestSe
rializedScriptValueInterface", v8::Local<v8::FunctionTemplate>(), V8TestSerializ
edScriptValueInterface::internalFieldCount, |
| 321 V8TestSerializedScriptValueInterfaceAttributes, WTF_ARRAY_LENGTH(V8TestS
erializedScriptValueInterfaceAttributes), | 321 V8TestSerializedScriptValueInterfaceAttributes, WTF_ARRAY_LENGTH(V8TestS
erializedScriptValueInterfaceAttributes), |
| 322 0, 0, isolate, currentWorldType); | 322 0, 0, isolate, currentWorldType); |
| 323 UNUSED_PARAM(defaultSignature); // In some cases, it will not be used. | 323 UNUSED_PARAM(defaultSignature); |
| 324 | 324 |
| 325 // Custom toString template | 325 // Custom toString template |
| 326 desc->Set(v8::String::NewSymbol("toString"), V8PerIsolateData::current()->to
StringTemplate()); | 326 desc->Set(v8::String::NewSymbol("toString"), V8PerIsolateData::current()->to
StringTemplate()); |
| 327 return desc; | 327 return desc; |
| 328 } | 328 } |
| 329 | 329 |
| 330 v8::Handle<v8::FunctionTemplate> V8TestSerializedScriptValueInterface::GetTempla
te(v8::Isolate* isolate, WrapperWorldType currentWorldType) | 330 v8::Handle<v8::FunctionTemplate> V8TestSerializedScriptValueInterface::GetTempla
te(v8::Isolate* isolate, WrapperWorldType currentWorldType) |
| 331 { | 331 { |
| 332 V8PerIsolateData* data = V8PerIsolateData::from(isolate); | 332 V8PerIsolateData* data = V8PerIsolateData::from(isolate); |
| 333 V8PerIsolateData::TemplateMap::iterator result = data->templateMap(currentWo
rldType).find(&info); | 333 V8PerIsolateData::TemplateMap::iterator result = data->templateMap(currentWo
rldType).find(&info); |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 375 } | 375 } |
| 376 | 376 |
| 377 void V8TestSerializedScriptValueInterface::derefObject(void* object) | 377 void V8TestSerializedScriptValueInterface::derefObject(void* object) |
| 378 { | 378 { |
| 379 fromInternalPointer(object)->deref(); | 379 fromInternalPointer(object)->deref(); |
| 380 } | 380 } |
| 381 | 381 |
| 382 } // namespace WebCore | 382 } // namespace WebCore |
| 383 | 383 |
| 384 #endif // ENABLE(Condition1) || ENABLE(Condition2) | 384 #endif // ENABLE(Condition1) || ENABLE(Condition2) |
| OLD | NEW |