| 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 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 151 } | 151 } |
| 152 | 152 |
| 153 static void cachedReadonlyValueAttrGetterCallback(v8::Local<v8::String> name, co
nst v8::PropertyCallbackInfo<v8::Value>& info) | 153 static void cachedReadonlyValueAttrGetterCallback(v8::Local<v8::String> name, co
nst v8::PropertyCallbackInfo<v8::Value>& info) |
| 154 { | 154 { |
| 155 TestSerializedScriptValueInterfaceV8Internal::cachedReadonlyValueAttrGetter(
name, info); | 155 TestSerializedScriptValueInterfaceV8Internal::cachedReadonlyValueAttrGetter(
name, info); |
| 156 } | 156 } |
| 157 | 157 |
| 158 } // namespace TestSerializedScriptValueInterfaceV8Internal | 158 } // namespace TestSerializedScriptValueInterfaceV8Internal |
| 159 | 159 |
| 160 static const V8DOMConfiguration::BatchedAttribute V8TestSerializedScriptValueInt
erfaceAttrs[] = { | 160 static const V8DOMConfiguration::BatchedAttribute V8TestSerializedScriptValueInt
erfaceAttrs[] = { |
| 161 // Attribute 'value' (Type: 'attribute' ExtAttr: '') | 161 // Attribute 'value' |
| 162 {"value", TestSerializedScriptValueInterfaceV8Internal::valueAttrGetterCallb
ack, TestSerializedScriptValueInterfaceV8Internal::valueAttrSetterCallback, 0, 0
, 0 /* no data */, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::
PropertyAttribute>(v8::None), 0 /* on instance */}, | 162 {"value", TestSerializedScriptValueInterfaceV8Internal::valueAttrGetterCallb
ack, TestSerializedScriptValueInterfaceV8Internal::valueAttrSetterCallback, 0, 0
, 0 /* no data */, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::
PropertyAttribute>(v8::None), 0 /* on instance */}, |
| 163 // Attribute 'readonlyValue' (Type: 'attribute' ExtAttr: '') | 163 // Attribute 'readonlyValue' |
| 164 {"readonlyValue", TestSerializedScriptValueInterfaceV8Internal::readonlyValu
eAttrGetterCallback, 0, 0, 0, 0 /* no data */, static_cast<v8::AccessControl>(v8
::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */}, | 164 {"readonlyValue", TestSerializedScriptValueInterfaceV8Internal::readonlyValu
eAttrGetterCallback, 0, 0, 0, 0 /* no data */, static_cast<v8::AccessControl>(v8
::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */}, |
| 165 // Attribute 'cachedValue' (Type: 'attribute' ExtAttr: 'CachedAttribute') | 165 // Attribute 'cachedValue' |
| 166 {"cachedValue", TestSerializedScriptValueInterfaceV8Internal::cachedValueAtt
rGetterCallback, TestSerializedScriptValueInterfaceV8Internal::cachedValueAttrSe
tterCallback, 0, 0, 0 /* no data */, static_cast<v8::AccessControl>(v8::DEFAULT)
, static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */}, | 166 {"cachedValue", TestSerializedScriptValueInterfaceV8Internal::cachedValueAtt
rGetterCallback, TestSerializedScriptValueInterfaceV8Internal::cachedValueAttrSe
tterCallback, 0, 0, 0 /* no data */, static_cast<v8::AccessControl>(v8::DEFAULT)
, static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */}, |
| 167 // Attribute 'cachedReadonlyValue' (Type: 'attribute' ExtAttr: 'CachedAttrib
ute') | 167 // Attribute 'cachedReadonlyValue' |
| 168 {"cachedReadonlyValue", TestSerializedScriptValueInterfaceV8Internal::cached
ReadonlyValueAttrGetterCallback, 0, 0, 0, 0 /* no data */, static_cast<v8::Acces
sControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on in
stance */}, | 168 {"cachedReadonlyValue", TestSerializedScriptValueInterfaceV8Internal::cached
ReadonlyValueAttrGetterCallback, 0, 0, 0, 0 /* no data */, static_cast<v8::Acces
sControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on in
stance */}, |
| 169 }; | 169 }; |
| 170 | 170 |
| 171 static v8::Handle<v8::FunctionTemplate> ConfigureV8TestSerializedScriptValueInte
rfaceTemplate(v8::Handle<v8::FunctionTemplate> desc, v8::Isolate* isolate, Wrapp
erWorldType currentWorldType) | 171 static v8::Handle<v8::FunctionTemplate> ConfigureV8TestSerializedScriptValueInte
rfaceTemplate(v8::Handle<v8::FunctionTemplate> desc, v8::Isolate* isolate, Wrapp
erWorldType currentWorldType) |
| 172 { | 172 { |
| 173 desc->ReadOnlyPrototype(); | 173 desc->ReadOnlyPrototype(); |
| 174 | 174 |
| 175 v8::Local<v8::Signature> defaultSignature; | 175 v8::Local<v8::Signature> defaultSignature; |
| 176 defaultSignature = V8DOMConfiguration::configureTemplate(desc, "TestSerializ
edScriptValueInterface", v8::Local<v8::FunctionTemplate>(), V8TestSerializedScri
ptValueInterface::internalFieldCount, | 176 defaultSignature = V8DOMConfiguration::configureTemplate(desc, "TestSerializ
edScriptValueInterface", v8::Local<v8::FunctionTemplate>(), V8TestSerializedScri
ptValueInterface::internalFieldCount, |
| 177 V8TestSerializedScriptValueInterfaceAttrs, WTF_ARRAY_LENGTH(V8TestSerial
izedScriptValueInterfaceAttrs), | 177 V8TestSerializedScriptValueInterfaceAttrs, WTF_ARRAY_LENGTH(V8TestSerial
izedScriptValueInterfaceAttrs), |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 224 return wrapper; | 224 return wrapper; |
| 225 } | 225 } |
| 226 void V8TestSerializedScriptValueInterface::derefObject(void* object) | 226 void V8TestSerializedScriptValueInterface::derefObject(void* object) |
| 227 { | 227 { |
| 228 static_cast<TestSerializedScriptValueInterface*>(object)->deref(); | 228 static_cast<TestSerializedScriptValueInterface*>(object)->deref(); |
| 229 } | 229 } |
| 230 | 230 |
| 231 } // namespace WebCore | 231 } // namespace WebCore |
| 232 | 232 |
| 233 #endif // ENABLE(Condition1) || ENABLE(Condition2) | 233 #endif // ENABLE(Condition1) || ENABLE(Condition2) |
| OLD | NEW |