| 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 225 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 236 {"dirtySerializedValue", TestSerializedScriptValueInterfaceV8Internal::dirty
SerializedValueAttributeGetterCallback, TestSerializedScriptValueInterfaceV8Inte
rnal::dirtySerializedValueAttributeSetterCallback, 0, 0, 0, static_cast<v8::Acce
ssControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on i
nstance */}, | 236 {"dirtySerializedValue", TestSerializedScriptValueInterfaceV8Internal::dirty
SerializedValueAttributeGetterCallback, TestSerializedScriptValueInterfaceV8Inte
rnal::dirtySerializedValueAttributeSetterCallback, 0, 0, 0, static_cast<v8::Acce
ssControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on i
nstance */}, |
| 237 {"dirtyScriptValue", TestSerializedScriptValueInterfaceV8Internal::dirtyScri
ptValueAttributeGetterCallback, TestSerializedScriptValueInterfaceV8Internal::di
rtyScriptValueAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v
8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */}, | 237 {"dirtyScriptValue", TestSerializedScriptValueInterfaceV8Internal::dirtyScri
ptValueAttributeGetterCallback, TestSerializedScriptValueInterfaceV8Internal::di
rtyScriptValueAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v
8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */}, |
| 238 {"cachedValueCallWith", TestSerializedScriptValueInterfaceV8Internal::cached
ValueCallWithAttributeGetterCallback, TestSerializedScriptValueInterfaceV8Intern
al::cachedValueCallWithAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessC
ontrol>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on inst
ance */}, | 238 {"cachedValueCallWith", TestSerializedScriptValueInterfaceV8Internal::cached
ValueCallWithAttributeGetterCallback, TestSerializedScriptValueInterfaceV8Intern
al::cachedValueCallWithAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessC
ontrol>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on inst
ance */}, |
| 239 }; | 239 }; |
| 240 | 240 |
| 241 static v8::Handle<v8::FunctionTemplate> ConfigureV8TestSerializedScriptValueInte
rfaceTemplate(v8::Handle<v8::FunctionTemplate> desc, v8::Isolate* isolate, Wrapp
erWorldType currentWorldType) | 241 static v8::Handle<v8::FunctionTemplate> ConfigureV8TestSerializedScriptValueInte
rfaceTemplate(v8::Handle<v8::FunctionTemplate> desc, v8::Isolate* isolate, Wrapp
erWorldType currentWorldType) |
| 242 { | 242 { |
| 243 desc->ReadOnlyPrototype(); | 243 desc->ReadOnlyPrototype(); |
| 244 | 244 |
| 245 v8::Local<v8::Signature> defaultSignature; | 245 v8::Local<v8::Signature> defaultSignature; |
| 246 defaultSignature = V8DOMConfiguration::installDOMClassTemplate(desc, "TestSe
rializedScriptValueInterface", v8::Local<v8::FunctionTemplate>(), V8TestSerializ
edScriptValueInterface::internalFieldCount, | 246 defaultSignature = V8DOMConfiguration::installDOMClassTemplate(desc, "TestSe
rializedScriptValueInterface", v8::Local<v8::FunctionTemplate>(), V8TestSerializ
edScriptValueInterface::internalFieldCount, V8TestSerializedScriptValueInterface
Attributes, WTF_ARRAY_LENGTH(V8TestSerializedScriptValueInterfaceAttributes), 0,
0, isolate, currentWorldType); |
| 247 V8TestSerializedScriptValueInterfaceAttributes, WTF_ARRAY_LENGTH(V8TestS
erializedScriptValueInterfaceAttributes), | |
| 248 0, 0, isolate, currentWorldType); | |
| 249 UNUSED_PARAM(defaultSignature); | 247 UNUSED_PARAM(defaultSignature); |
| 250 | 248 |
| 251 // Custom toString template | 249 // Custom toString template |
| 252 desc->Set(v8::String::NewSymbol("toString"), V8PerIsolateData::current()->to
StringTemplate()); | 250 desc->Set(v8::String::NewSymbol("toString"), V8PerIsolateData::current()->to
StringTemplate()); |
| 253 return desc; | 251 return desc; |
| 254 } | 252 } |
| 255 | 253 |
| 256 v8::Handle<v8::FunctionTemplate> V8TestSerializedScriptValueInterface::GetTempla
te(v8::Isolate* isolate, WrapperWorldType currentWorldType) | 254 v8::Handle<v8::FunctionTemplate> V8TestSerializedScriptValueInterface::GetTempla
te(v8::Isolate* isolate, WrapperWorldType currentWorldType) |
| 257 { | 255 { |
| 258 V8PerIsolateData* data = V8PerIsolateData::from(isolate); | 256 V8PerIsolateData* data = V8PerIsolateData::from(isolate); |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 301 } | 299 } |
| 302 | 300 |
| 303 void V8TestSerializedScriptValueInterface::derefObject(void* object) | 301 void V8TestSerializedScriptValueInterface::derefObject(void* object) |
| 304 { | 302 { |
| 305 fromInternalPointer(object)->deref(); | 303 fromInternalPointer(object)->deref(); |
| 306 } | 304 } |
| 307 | 305 |
| 308 } // namespace WebCore | 306 } // namespace WebCore |
| 309 | 307 |
| 310 #endif // ENABLE(Condition1) || ENABLE(Condition2) | 308 #endif // ENABLE(Condition1) || ENABLE(Condition2) |
| OLD | NEW |