Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(61)

Side by Side Diff: Source/bindings/tests/results/V8TestObjectPython.cpp

Issue 28333003: IDL compiler: [Conditional] for setters (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Source/bindings/tests/results/V8TestObject.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 1223 matching lines...) Expand 10 before | Expand all | Expand 10 after
1234 } 1234 }
1235 1235
1236 static void checkSecurityForNodeReadonlyDocumentAttributeAttributeGetterCallback (v8::Local<v8::String> name, const v8::PropertyCallbackInfo<v8::Value>& info) 1236 static void checkSecurityForNodeReadonlyDocumentAttributeAttributeGetterCallback (v8::Local<v8::String> name, const v8::PropertyCallbackInfo<v8::Value>& info)
1237 { 1237 {
1238 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); 1238 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter");
1239 TestObjectPythonV8Internal::checkSecurityForNodeReadonlyDocumentAttributeAtt ributeGetter(name, info); 1239 TestObjectPythonV8Internal::checkSecurityForNodeReadonlyDocumentAttributeAtt ributeGetter(name, info);
1240 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution"); 1240 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution");
1241 } 1241 }
1242 1242
1243 #if ENABLE(Condition) 1243 #if ENABLE(Condition)
1244 static void conditionalReadonlyLongAttributeAttributeGetter(v8::Local<v8::String > name, const v8::PropertyCallbackInfo<v8::Value>& info) 1244 static void conditionalLongAttributeAttributeGetter(v8::Local<v8::String> name, const v8::PropertyCallbackInfo<v8::Value>& info)
1245 { 1245 {
1246 TestObjectPython* imp = V8TestObjectPython::toNative(info.Holder()); 1246 TestObjectPython* imp = V8TestObjectPython::toNative(info.Holder());
1247 v8SetReturnValueInt(info, imp->conditionalReadonlyLongAttribute()); 1247 v8SetReturnValueInt(info, imp->conditionalLongAttribute());
1248 } 1248 }
1249 #endif // ENABLE(Condition) 1249 #endif // ENABLE(Condition)
1250 1250
1251 #if ENABLE(Condition) 1251 #if ENABLE(Condition)
1252 static void conditionalReadonlyLongAttributeAttributeGetterCallback(v8::Local<v8 ::String> name, const v8::PropertyCallbackInfo<v8::Value>& info) 1252 static void conditionalLongAttributeAttributeGetterCallback(v8::Local<v8::String > name, const v8::PropertyCallbackInfo<v8::Value>& info)
1253 { 1253 {
1254 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); 1254 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter");
1255 TestObjectPythonV8Internal::conditionalReadonlyLongAttributeAttributeGetter( name, info); 1255 TestObjectPythonV8Internal::conditionalLongAttributeAttributeGetter(name, in fo);
1256 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution");
1257 }
1258 #endif // ENABLE(Condition)
1259
1260 #if ENABLE(Condition)
1261 static void conditionalLongAttributeAttributeSetter(v8::Local<v8::String> name, v8::Local<v8::Value> jsValue, const v8::PropertyCallbackInfo<void>& info)
1262 {
1263 TestObjectPython* imp = V8TestObjectPython::toNative(info.Holder());
1264 V8TRYCATCH_VOID(int, cppValue, toInt32(jsValue));
1265 imp->setConditionalLongAttribute(cppValue);
1266 }
1267 #endif // ENABLE(Condition)
1268
1269 #if ENABLE(Condition)
1270 static void conditionalLongAttributeAttributeSetterCallback(v8::Local<v8::String > name, v8::Local<v8::Value> jsValue, const v8::PropertyCallbackInfo<void>& info )
1271 {
1272 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter");
1273 TestObjectPythonV8Internal::conditionalLongAttributeAttributeSetter(name, js Value, info);
1256 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution"); 1274 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution");
1257 } 1275 }
1258 #endif // ENABLE(Condition) 1276 #endif // ENABLE(Condition)
1259 1277
1260 #if ENABLE(Condition1) && ENABLE(Condition2) 1278 #if ENABLE(Condition1) && ENABLE(Condition2)
1261 static void conditionalAndReadonlyLongAttributeAttributeGetter(v8::Local<v8::Str ing> name, const v8::PropertyCallbackInfo<v8::Value>& info) 1279 static void conditionalAndLongAttributeAttributeGetter(v8::Local<v8::String> nam e, const v8::PropertyCallbackInfo<v8::Value>& info)
1262 { 1280 {
1263 TestObjectPython* imp = V8TestObjectPython::toNative(info.Holder()); 1281 TestObjectPython* imp = V8TestObjectPython::toNative(info.Holder());
1264 v8SetReturnValueInt(info, imp->conditionalAndReadonlyLongAttribute()); 1282 v8SetReturnValueInt(info, imp->conditionalAndLongAttribute());
1265 } 1283 }
1266 #endif // ENABLE(Condition1) && ENABLE(Condition2) 1284 #endif // ENABLE(Condition1) && ENABLE(Condition2)
1267 1285
1268 #if ENABLE(Condition1) && ENABLE(Condition2) 1286 #if ENABLE(Condition1) && ENABLE(Condition2)
1269 static void conditionalAndReadonlyLongAttributeAttributeGetterCallback(v8::Local <v8::String> name, const v8::PropertyCallbackInfo<v8::Value>& info) 1287 static void conditionalAndLongAttributeAttributeGetterCallback(v8::Local<v8::Str ing> name, const v8::PropertyCallbackInfo<v8::Value>& info)
1270 { 1288 {
1271 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); 1289 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter");
1272 TestObjectPythonV8Internal::conditionalAndReadonlyLongAttributeAttributeGett er(name, info); 1290 TestObjectPythonV8Internal::conditionalAndLongAttributeAttributeGetter(name, info);
1291 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution");
1292 }
1293 #endif // ENABLE(Condition1) && ENABLE(Condition2)
1294
1295 #if ENABLE(Condition1) && ENABLE(Condition2)
1296 static void conditionalAndLongAttributeAttributeSetter(v8::Local<v8::String> nam e, v8::Local<v8::Value> jsValue, const v8::PropertyCallbackInfo<void>& info)
1297 {
1298 TestObjectPython* imp = V8TestObjectPython::toNative(info.Holder());
1299 V8TRYCATCH_VOID(int, cppValue, toInt32(jsValue));
1300 imp->setConditionalAndLongAttribute(cppValue);
1301 }
1302 #endif // ENABLE(Condition1) && ENABLE(Condition2)
1303
1304 #if ENABLE(Condition1) && ENABLE(Condition2)
1305 static void conditionalAndLongAttributeAttributeSetterCallback(v8::Local<v8::Str ing> name, v8::Local<v8::Value> jsValue, const v8::PropertyCallbackInfo<void>& i nfo)
1306 {
1307 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter");
1308 TestObjectPythonV8Internal::conditionalAndLongAttributeAttributeSetter(name, jsValue, info);
1273 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution"); 1309 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution");
1274 } 1310 }
1275 #endif // ENABLE(Condition1) && ENABLE(Condition2) 1311 #endif // ENABLE(Condition1) && ENABLE(Condition2)
1276 1312
1277 #if ENABLE(Condition1) || ENABLE(Condition2) 1313 #if ENABLE(Condition1) || ENABLE(Condition2)
1278 static void conditionalOrReadonlyLongAttributeAttributeGetter(v8::Local<v8::Stri ng> name, const v8::PropertyCallbackInfo<v8::Value>& info) 1314 static void conditionalOrLongAttributeAttributeGetter(v8::Local<v8::String> name , const v8::PropertyCallbackInfo<v8::Value>& info)
1279 { 1315 {
1280 TestObjectPython* imp = V8TestObjectPython::toNative(info.Holder()); 1316 TestObjectPython* imp = V8TestObjectPython::toNative(info.Holder());
1281 v8SetReturnValueInt(info, imp->conditionalOrReadonlyLongAttribute()); 1317 v8SetReturnValueInt(info, imp->conditionalOrLongAttribute());
1282 } 1318 }
1283 #endif // ENABLE(Condition1) || ENABLE(Condition2) 1319 #endif // ENABLE(Condition1) || ENABLE(Condition2)
1284 1320
1285 #if ENABLE(Condition1) || ENABLE(Condition2) 1321 #if ENABLE(Condition1) || ENABLE(Condition2)
1286 static void conditionalOrReadonlyLongAttributeAttributeGetterCallback(v8::Local< v8::String> name, const v8::PropertyCallbackInfo<v8::Value>& info) 1322 static void conditionalOrLongAttributeAttributeGetterCallback(v8::Local<v8::Stri ng> name, const v8::PropertyCallbackInfo<v8::Value>& info)
1287 { 1323 {
1288 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); 1324 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter");
1289 TestObjectPythonV8Internal::conditionalOrReadonlyLongAttributeAttributeGette r(name, info); 1325 TestObjectPythonV8Internal::conditionalOrLongAttributeAttributeGetter(name, info);
1290 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution"); 1326 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution");
1291 } 1327 }
1292 #endif // ENABLE(Condition1) || ENABLE(Condition2) 1328 #endif // ENABLE(Condition1) || ENABLE(Condition2)
1329
1330 #if ENABLE(Condition1) || ENABLE(Condition2)
1331 static void conditionalOrLongAttributeAttributeSetter(v8::Local<v8::String> name , v8::Local<v8::Value> jsValue, const v8::PropertyCallbackInfo<void>& info)
1332 {
1333 TestObjectPython* imp = V8TestObjectPython::toNative(info.Holder());
1334 V8TRYCATCH_VOID(int, cppValue, toInt32(jsValue));
1335 imp->setConditionalOrLongAttribute(cppValue);
1336 }
1337 #endif // ENABLE(Condition1) || ENABLE(Condition2)
1338
1339 #if ENABLE(Condition1) || ENABLE(Condition2)
1340 static void conditionalOrLongAttributeAttributeSetterCallback(v8::Local<v8::Stri ng> name, v8::Local<v8::Value> jsValue, const v8::PropertyCallbackInfo<void>& in fo)
1341 {
1342 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter");
1343 TestObjectPythonV8Internal::conditionalOrLongAttributeAttributeSetter(name, jsValue, info);
1344 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution");
1345 }
1346 #endif // ENABLE(Condition1) || ENABLE(Condition2)
1293 1347
1294 static void customReadonlyLongAttributeAttributeGetterCallback(v8::Local<v8::Str ing> name, const v8::PropertyCallbackInfo<v8::Value>& info) 1348 static void customReadonlyLongAttributeAttributeGetterCallback(v8::Local<v8::Str ing> name, const v8::PropertyCallbackInfo<v8::Value>& info)
1295 { 1349 {
1296 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); 1350 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter");
1297 V8TestObjectPython::customReadonlyLongAttributeAttributeGetterCustom(name, i nfo); 1351 V8TestObjectPython::customReadonlyLongAttributeAttributeGetterCustom(name, i nfo);
1298 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution"); 1352 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution");
1299 } 1353 }
1300 1354
1301 static void customGetterReadonlyLongAttributeAttributeGetterCallback(v8::Local<v 8::String> name, const v8::PropertyCallbackInfo<v8::Value>& info) 1355 static void customGetterReadonlyLongAttributeAttributeGetterCallback(v8::Local<v 8::String> name, const v8::PropertyCallbackInfo<v8::Value>& info)
1302 { 1356 {
(...skipping 758 matching lines...) Expand 10 before | Expand all | Expand 10 after
2061 {"nullableLongAttribute", TestObjectPythonV8Internal::nullableLongAttributeA ttributeGetterCallback, TestObjectPythonV8Internal::nullableLongAttributeAttribu teSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_c ast<v8::PropertyAttribute>(v8::None), 0 /* on instance */}, 2115 {"nullableLongAttribute", TestObjectPythonV8Internal::nullableLongAttributeA ttributeGetterCallback, TestObjectPythonV8Internal::nullableLongAttributeAttribu teSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_c ast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
2062 {"readonlyTestEnumAttribute", TestObjectPythonV8Internal::readonlyTestEnumAt tributeAttributeGetterCallback, 0, 0, 0, 0, static_cast<v8::AccessControl>(v8::D EFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */}, 2116 {"readonlyTestEnumAttribute", TestObjectPythonV8Internal::readonlyTestEnumAt tributeAttributeGetterCallback, 0, 0, 0, 0, static_cast<v8::AccessControl>(v8::D EFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
2063 {"readonlyEventHandlerAttribute", TestObjectPythonV8Internal::readonlyEventH andlerAttributeAttributeGetterCallback, 0, 0, 0, 0, static_cast<v8::AccessContro l>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */}, 2117 {"readonlyEventHandlerAttribute", TestObjectPythonV8Internal::readonlyEventH andlerAttributeAttributeGetterCallback, 0, 0, 0, 0, static_cast<v8::AccessContro l>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
2064 {"promiseAttribute", TestObjectPythonV8Internal::promiseAttributeAttributeGe tterCallback, TestObjectPythonV8Internal::promiseAttributeAttributeSetterCallbac k, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::Propert yAttribute>(v8::None), 0 /* on instance */}, 2118 {"promiseAttribute", TestObjectPythonV8Internal::promiseAttributeAttributeGe tterCallback, TestObjectPythonV8Internal::promiseAttributeAttributeSetterCallbac k, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::Propert yAttribute>(v8::None), 0 /* on instance */},
2065 {"activityLogAccessReadonlyLongAttribute", TestObjectPythonV8Internal::activ ityLogAccessReadonlyLongAttributeAttributeGetterCallback, 0, 0, 0, 0, static_cas t<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */}, 2119 {"activityLogAccessReadonlyLongAttribute", TestObjectPythonV8Internal::activ ityLogAccessReadonlyLongAttributeAttributeGetterCallback, 0, 0, 0, 0, static_cas t<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
2066 {"activityLogGetterReadonlyLongAttribute", TestObjectPythonV8Internal::activ ityLogGetterReadonlyLongAttributeAttributeGetterCallback, 0, 0, 0, 0, static_cas t<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */}, 2120 {"activityLogGetterReadonlyLongAttribute", TestObjectPythonV8Internal::activ ityLogGetterReadonlyLongAttributeAttributeGetterCallback, 0, 0, 0, 0, static_cas t<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
2067 {"cachedAttributeAnyAttribute", TestObjectPythonV8Internal::cachedAttributeA nyAttributeAttributeGetterCallback, TestObjectPythonV8Internal::cachedAttributeA nyAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8:: DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */}, 2121 {"cachedAttributeAnyAttribute", TestObjectPythonV8Internal::cachedAttributeA nyAttributeAttributeGetterCallback, TestObjectPythonV8Internal::cachedAttributeA nyAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8:: DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
2068 {"callWithExecutionContextAnyAttribute", TestObjectPythonV8Internal::callWit hExecutionContextAnyAttributeAttributeGetterCallback, TestObjectPythonV8Internal ::callWithExecutionContextAnyAttributeAttributeSetterCallback, 0, 0, 0, static_c ast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None ), 0 /* on instance */}, 2122 {"callWithExecutionContextAnyAttribute", TestObjectPythonV8Internal::callWit hExecutionContextAnyAttributeAttributeGetterCallback, TestObjectPythonV8Internal ::callWithExecutionContextAnyAttributeAttributeSetterCallback, 0, 0, 0, static_c ast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None ), 0 /* on instance */},
2069 {"checkSecurityForNodeReadonlyDocumentAttribute", TestObjectPythonV8Internal ::checkSecurityForNodeReadonlyDocumentAttributeAttributeGetterCallback, 0, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribu te>(v8::None), 0 /* on instance */}, 2123 {"checkSecurityForNodeReadonlyDocumentAttribute", TestObjectPythonV8Internal ::checkSecurityForNodeReadonlyDocumentAttributeAttributeGetterCallback, 0, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribu te>(v8::None), 0 /* on instance */},
2070 #if ENABLE(Condition) 2124 #if ENABLE(Condition)
2071 {"conditionalReadonlyLongAttribute", TestObjectPythonV8Internal::conditional ReadonlyLongAttributeAttributeGetterCallback, 0, 0, 0, 0, static_cast<v8::Access Control>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on ins tance */}, 2125 {"conditionalLongAttribute", TestObjectPythonV8Internal::conditionalLongAttr ibuteAttributeGetterCallback, TestObjectPythonV8Internal::conditionalLongAttribu teAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
2072 #endif // ENABLE(Condition) 2126 #endif // ENABLE(Condition)
2073 #if ENABLE(Condition1) && ENABLE(Condition2) 2127 #if ENABLE(Condition1) && ENABLE(Condition2)
2074 {"conditionalAndReadonlyLongAttribute", TestObjectPythonV8Internal::conditio nalAndReadonlyLongAttributeAttributeGetterCallback, 0, 0, 0, 0, static_cast<v8:: AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */}, 2128 {"conditionalAndLongAttribute", TestObjectPythonV8Internal::conditionalAndLo ngAttributeAttributeGetterCallback, TestObjectPythonV8Internal::conditionalAndLo ngAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8:: DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
2075 #endif // ENABLE(Condition1) && ENABLE(Condition2) 2129 #endif // ENABLE(Condition1) && ENABLE(Condition2)
2076 #if ENABLE(Condition1) || ENABLE(Condition2) 2130 #if ENABLE(Condition1) || ENABLE(Condition2)
2077 {"conditionalOrReadonlyLongAttribute", TestObjectPythonV8Internal::condition alOrReadonlyLongAttributeAttributeGetterCallback, 0, 0, 0, 0, static_cast<v8::Ac cessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */}, 2131 {"conditionalOrLongAttribute", TestObjectPythonV8Internal::conditionalOrLong AttributeAttributeGetterCallback, TestObjectPythonV8Internal::conditionalOrLongA ttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEF AULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
2078 #endif // ENABLE(Condition1) || ENABLE(Condition2) 2132 #endif // ENABLE(Condition1) || ENABLE(Condition2)
2079 {"customReadonlyLongAttribute", TestObjectPythonV8Internal::customReadonlyLo ngAttributeAttributeGetterCallback, 0, 0, 0, 0, static_cast<v8::AccessControl>(v 8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */}, 2133 {"customReadonlyLongAttribute", TestObjectPythonV8Internal::customReadonlyLo ngAttributeAttributeGetterCallback, 0, 0, 0, 0, static_cast<v8::AccessControl>(v 8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
2080 {"customGetterReadonlyLongAttribute", TestObjectPythonV8Internal::customGett erReadonlyLongAttributeAttributeGetterCallback, 0, 0, 0, 0, static_cast<v8::Acce ssControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on i nstance */}, 2134 {"customGetterReadonlyLongAttribute", TestObjectPythonV8Internal::customGett erReadonlyLongAttributeAttributeGetterCallback, 0, 0, 0, 0, static_cast<v8::Acce ssControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on i nstance */},
2081 #if ENABLE(Condition) 2135 #if ENABLE(Condition)
2082 {"customReadonlyLongAttribute", TestObjectPythonV8Internal::customReadonlyLo ngAttributeAttributeGetterCallback, 0, 0, 0, 0, static_cast<v8::AccessControl>(v 8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */}, 2136 {"customReadonlyLongAttribute", TestObjectPythonV8Internal::customReadonlyLo ngAttributeAttributeGetterCallback, 0, 0, 0, 0, static_cast<v8::AccessControl>(v 8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
2083 #endif // ENABLE(Condition) 2137 #endif // ENABLE(Condition)
2084 #if ENABLE(Condition) 2138 #if ENABLE(Condition)
2085 {"customGetterReadonlyLongAttribute", TestObjectPythonV8Internal::customGett erReadonlyLongAttributeAttributeGetterCallback, 0, 0, 0, 0, static_cast<v8::Acce ssControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on i nstance */}, 2139 {"customGetterReadonlyLongAttribute", TestObjectPythonV8Internal::customGett erReadonlyLongAttributeAttributeGetterCallback, 0, 0, 0, 0, static_cast<v8::Acce ssControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on i nstance */},
2086 #endif // ENABLE(Condition) 2140 #endif // ENABLE(Condition)
2087 {"customElementsCallbacksReadonlyLongAttribute", TestObjectPythonV8Internal: :customElementsCallbacksReadonlyLongAttributeAttributeGetterCallback, 0, 0, 0, 0 , static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute >(v8::None), 0 /* on instance */}, 2141 {"customElementsCallbacksReadonlyLongAttribute", TestObjectPythonV8Internal: :customElementsCallbacksReadonlyLongAttributeAttributeGetterCallback, 0, 0, 0, 0 , static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute >(v8::None), 0 /* on instance */},
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
2216 V8DOMWrapper::associateObjectWithWrapper<V8TestObjectPython>(impl, &info, wr apper, isolate, WrapperConfiguration::Independent); 2270 V8DOMWrapper::associateObjectWithWrapper<V8TestObjectPython>(impl, &info, wr apper, isolate, WrapperConfiguration::Independent);
2217 return wrapper; 2271 return wrapper;
2218 } 2272 }
2219 2273
2220 void V8TestObjectPython::derefObject(void* object) 2274 void V8TestObjectPython::derefObject(void* object)
2221 { 2275 {
2222 fromInternalPointer(object)->deref(); 2276 fromInternalPointer(object)->deref();
2223 } 2277 }
2224 2278
2225 } // namespace WebCore 2279 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/bindings/tests/results/V8TestObject.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698