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

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

Issue 31503002: IDL compiler: [ActivityLogging] 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/idls/TestObjectPython.idl ('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 1356 matching lines...) Expand 10 before | Expand all | Expand 10 after
1367 imp->setPromiseAttribute(cppValue); 1367 imp->setPromiseAttribute(cppValue);
1368 } 1368 }
1369 1369
1370 static void promiseAttributeAttributeSetterCallback(v8::Local<v8::String> name, v8::Local<v8::Value> jsValue, const v8::PropertyCallbackInfo<void>& info) 1370 static void promiseAttributeAttributeSetterCallback(v8::Local<v8::String> name, v8::Local<v8::Value> jsValue, const v8::PropertyCallbackInfo<void>& info)
1371 { 1371 {
1372 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter"); 1372 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter");
1373 TestObjectPythonV8Internal::promiseAttributeAttributeSetter(name, jsValue, i nfo); 1373 TestObjectPythonV8Internal::promiseAttributeAttributeSetter(name, jsValue, i nfo);
1374 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution"); 1374 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution");
1375 } 1375 }
1376 1376
1377 static void activityLogAccessReadonlyLongAttributeAttributeGetter(v8::Local<v8:: String> name, const v8::PropertyCallbackInfo<v8::Value>& info) 1377 static void activityLoggingAccessForAllWorldsLongAttributeAttributeGetter(v8::Lo cal<v8::String> name, const v8::PropertyCallbackInfo<v8::Value>& info)
1378 { 1378 {
1379 TestObjectPython* imp = V8TestObjectPython::toNative(info.Holder()); 1379 TestObjectPython* imp = V8TestObjectPython::toNative(info.Holder());
1380 v8SetReturnValueInt(info, imp->activityLogAccessReadonlyLongAttribute()); 1380 v8SetReturnValueInt(info, imp->activityLoggingAccessForAllWorldsLongAttribut e());
1381 } 1381 }
1382 1382
1383 static void activityLogAccessReadonlyLongAttributeAttributeGetterCallback(v8::Lo cal<v8::String> name, const v8::PropertyCallbackInfo<v8::Value>& info) 1383 static void activityLoggingAccessForAllWorldsLongAttributeAttributeGetterCallbac k(v8::Local<v8::String> name, const v8::PropertyCallbackInfo<v8::Value>& info)
1384 { 1384 {
1385 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); 1385 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter");
1386 V8PerContextData* contextData = V8PerContextData::from(info.GetIsolate()->Ge tCurrentContext()); 1386 V8PerContextData* contextData = V8PerContextData::from(info.GetIsolate()->Ge tCurrentContext());
1387 if (contextData && contextData->activityLogger()) 1387 if (contextData && contextData->activityLogger())
1388 contextData->activityLogger()->log("TestObjectPython.activityLogAccessRe adonlyLongAttribute", 0, 0, "Getter"); 1388 contextData->activityLogger()->log("TestObjectPython.activityLoggingAcce ssForAllWorldsLongAttribute", 0, 0, "Getter");
1389 TestObjectPythonV8Internal::activityLogAccessReadonlyLongAttributeAttributeG etter(name, info); 1389 TestObjectPythonV8Internal::activityLoggingAccessForAllWorldsLongAttributeAt tributeGetter(name, info);
1390 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution"); 1390 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution");
1391 } 1391 }
1392 1392
1393 static void activityLogGetterReadonlyLongAttributeAttributeGetter(v8::Local<v8:: String> name, const v8::PropertyCallbackInfo<v8::Value>& info) 1393 static void activityLoggingAccessForAllWorldsLongAttributeAttributeSetter(v8::Lo cal<v8::String> name, v8::Local<v8::Value> jsValue, const v8::PropertyCallbackIn fo<void>& info)
1394 { 1394 {
1395 TestObjectPython* imp = V8TestObjectPython::toNative(info.Holder()); 1395 TestObjectPython* imp = V8TestObjectPython::toNative(info.Holder());
1396 v8SetReturnValueInt(info, imp->activityLogGetterReadonlyLongAttribute()); 1396 V8TRYCATCH_VOID(int, cppValue, toInt32(jsValue));
1397 imp->setActivityLoggingAccessForAllWorldsLongAttribute(cppValue);
1397 } 1398 }
1398 1399
1399 static void activityLogGetterReadonlyLongAttributeAttributeGetterCallback(v8::Lo cal<v8::String> name, const v8::PropertyCallbackInfo<v8::Value>& info) 1400 static void activityLoggingAccessForAllWorldsLongAttributeAttributeSetterCallbac k(v8::Local<v8::String> name, v8::Local<v8::Value> jsValue, const v8::PropertyCa llbackInfo<void>& info)
1401 {
1402 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter");
1403 V8PerContextData* contextData = V8PerContextData::from(info.GetIsolate()->Ge tCurrentContext());
1404 if (contextData && contextData->activityLogger()) {
1405 v8::Handle<v8::Value> loggerArg[] = { jsValue };
1406 contextData->activityLogger()->log("TestObjectPython.activityLoggingAcce ssForAllWorldsLongAttribute", 1, &loggerArg[0], "Setter");
1407 }
1408 TestObjectPythonV8Internal::activityLoggingAccessForAllWorldsLongAttributeAt tributeSetter(name, jsValue, info);
1409 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution");
1410 }
1411
1412 static void activityLoggingGetterForAllWorldsLongAttributeAttributeGetter(v8::Lo cal<v8::String> name, const v8::PropertyCallbackInfo<v8::Value>& info)
1413 {
1414 TestObjectPython* imp = V8TestObjectPython::toNative(info.Holder());
1415 v8SetReturnValueInt(info, imp->activityLoggingGetterForAllWorldsLongAttribut e());
1416 }
1417
1418 static void activityLoggingGetterForAllWorldsLongAttributeAttributeGetterCallbac k(v8::Local<v8::String> name, const v8::PropertyCallbackInfo<v8::Value>& info)
1400 { 1419 {
1401 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); 1420 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter");
1402 V8PerContextData* contextData = V8PerContextData::from(info.GetIsolate()->Ge tCurrentContext()); 1421 V8PerContextData* contextData = V8PerContextData::from(info.GetIsolate()->Ge tCurrentContext());
1403 if (contextData && contextData->activityLogger()) 1422 if (contextData && contextData->activityLogger())
1404 contextData->activityLogger()->log("TestObjectPython.activityLogGetterRe adonlyLongAttribute", 0, 0, "Getter"); 1423 contextData->activityLogger()->log("TestObjectPython.activityLoggingGett erForAllWorldsLongAttribute", 0, 0, "Getter");
1405 TestObjectPythonV8Internal::activityLogGetterReadonlyLongAttributeAttributeG etter(name, info); 1424 TestObjectPythonV8Internal::activityLoggingGetterForAllWorldsLongAttributeAt tributeGetter(name, info);
1406 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution"); 1425 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution");
1407 } 1426 }
1408 1427
1428 static void activityLoggingGetterForAllWorldsLongAttributeAttributeSetter(v8::Lo cal<v8::String> name, v8::Local<v8::Value> jsValue, const v8::PropertyCallbackIn fo<void>& info)
1429 {
1430 TestObjectPython* imp = V8TestObjectPython::toNative(info.Holder());
1431 V8TRYCATCH_VOID(int, cppValue, toInt32(jsValue));
1432 imp->setActivityLoggingGetterForAllWorldsLongAttribute(cppValue);
1433 }
1434
1435 static void activityLoggingGetterForAllWorldsLongAttributeAttributeSetterCallbac k(v8::Local<v8::String> name, v8::Local<v8::Value> jsValue, const v8::PropertyCa llbackInfo<void>& info)
1436 {
1437 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter");
1438 TestObjectPythonV8Internal::activityLoggingGetterForAllWorldsLongAttributeAt tributeSetter(name, jsValue, info);
1439 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution");
1440 }
1441
1442 static void activityLoggingSetterForAllWorldsLongAttributeAttributeGetter(v8::Lo cal<v8::String> name, const v8::PropertyCallbackInfo<v8::Value>& info)
1443 {
1444 TestObjectPython* imp = V8TestObjectPython::toNative(info.Holder());
1445 v8SetReturnValueInt(info, imp->activityLoggingSetterForAllWorldsLongAttribut e());
1446 }
1447
1448 static void activityLoggingSetterForAllWorldsLongAttributeAttributeGetterCallbac k(v8::Local<v8::String> name, const v8::PropertyCallbackInfo<v8::Value>& info)
1449 {
1450 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter");
1451 TestObjectPythonV8Internal::activityLoggingSetterForAllWorldsLongAttributeAt tributeGetter(name, info);
1452 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution");
1453 }
1454
1455 static void activityLoggingSetterForAllWorldsLongAttributeAttributeSetter(v8::Lo cal<v8::String> name, v8::Local<v8::Value> jsValue, const v8::PropertyCallbackIn fo<void>& info)
1456 {
1457 TestObjectPython* imp = V8TestObjectPython::toNative(info.Holder());
1458 V8TRYCATCH_VOID(int, cppValue, toInt32(jsValue));
1459 imp->setActivityLoggingSetterForAllWorldsLongAttribute(cppValue);
1460 }
1461
1462 static void activityLoggingSetterForAllWorldsLongAttributeAttributeSetterCallbac k(v8::Local<v8::String> name, v8::Local<v8::Value> jsValue, const v8::PropertyCa llbackInfo<void>& info)
1463 {
1464 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter");
1465 V8PerContextData* contextData = V8PerContextData::from(info.GetIsolate()->Ge tCurrentContext());
1466 if (contextData && contextData->activityLogger()) {
1467 v8::Handle<v8::Value> loggerArg[] = { jsValue };
1468 contextData->activityLogger()->log("TestObjectPython.activityLoggingSett erForAllWorldsLongAttribute", 1, &loggerArg[0], "Setter");
1469 }
1470 TestObjectPythonV8Internal::activityLoggingSetterForAllWorldsLongAttributeAt tributeSetter(name, jsValue, info);
1471 TRACE_EVENT_SET_SAMPLING_STATE("V8", "Execution");
1472 }
1473
1409 static void cachedAttributeAnyAttributeAttributeGetter(v8::Local<v8::String> nam e, const v8::PropertyCallbackInfo<v8::Value>& info) 1474 static void cachedAttributeAnyAttributeAttributeGetter(v8::Local<v8::String> nam e, const v8::PropertyCallbackInfo<v8::Value>& info)
1410 { 1475 {
1411 v8::Handle<v8::String> propertyName = v8::String::NewSymbol("cachedAttribute AnyAttribute"); 1476 v8::Handle<v8::String> propertyName = v8::String::NewSymbol("cachedAttribute AnyAttribute");
1412 TestObjectPython* imp = V8TestObjectPython::toNative(info.Holder()); 1477 TestObjectPython* imp = V8TestObjectPython::toNative(info.Holder());
1413 if (!imp->isValueDirty()) { 1478 if (!imp->isValueDirty()) {
1414 v8::Handle<v8::Value> jsValue = info.Holder()->GetHiddenValue(propertyNa me); 1479 v8::Handle<v8::Value> jsValue = info.Holder()->GetHiddenValue(propertyNa me);
1415 if (!jsValue.IsEmpty()) { 1480 if (!jsValue.IsEmpty()) {
1416 v8SetReturnValue(info, jsValue); 1481 v8SetReturnValue(info, jsValue);
1417 return; 1482 return;
1418 } 1483 }
(...skipping 1005 matching lines...) Expand 10 before | Expand all | Expand 10 after
2424 {"htmlCollectionAttribute", TestObjectPythonV8Internal::htmlCollectionAttrib uteAttributeGetterCallback, TestObjectPythonV8Internal::htmlCollectionAttributeA ttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), st atic_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */}, 2489 {"htmlCollectionAttribute", TestObjectPythonV8Internal::htmlCollectionAttrib uteAttributeGetterCallback, TestObjectPythonV8Internal::htmlCollectionAttributeA ttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), st atic_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
2425 {"htmlElementAttribute", TestObjectPythonV8Internal::htmlElementAttributeAtt ributeGetterCallback, TestObjectPythonV8Internal::htmlElementAttributeAttributeS etterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast <v8::PropertyAttribute>(v8::None), 0 /* on instance */}, 2490 {"htmlElementAttribute", TestObjectPythonV8Internal::htmlElementAttributeAtt ributeGetterCallback, TestObjectPythonV8Internal::htmlElementAttributeAttributeS etterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast <v8::PropertyAttribute>(v8::None), 0 /* on instance */},
2426 {"stringArrayAttribute", TestObjectPythonV8Internal::stringArrayAttributeAtt ributeGetterCallback, TestObjectPythonV8Internal::stringArrayAttributeAttributeS etterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast <v8::PropertyAttribute>(v8::None), 0 /* on instance */}, 2491 {"stringArrayAttribute", TestObjectPythonV8Internal::stringArrayAttributeAtt ributeGetterCallback, TestObjectPythonV8Internal::stringArrayAttributeAttributeS etterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast <v8::PropertyAttribute>(v8::None), 0 /* on instance */},
2427 {"testInterfaceEmptyArrayAttribute", TestObjectPythonV8Internal::testInterfa ceEmptyArrayAttributeAttributeGetterCallback, TestObjectPythonV8Internal::testIn terfaceEmptyArrayAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::Acce ssControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on i nstance */}, 2492 {"testInterfaceEmptyArrayAttribute", TestObjectPythonV8Internal::testInterfa ceEmptyArrayAttributeAttributeGetterCallback, TestObjectPythonV8Internal::testIn terfaceEmptyArrayAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::Acce ssControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on i nstance */},
2428 {"floatArrayAttribute", TestObjectPythonV8Internal::floatArrayAttributeAttri buteGetterCallback, TestObjectPythonV8Internal::floatArrayAttributeAttributeSett erCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8 ::PropertyAttribute>(v8::None), 0 /* on instance */}, 2493 {"floatArrayAttribute", TestObjectPythonV8Internal::floatArrayAttributeAttri buteGetterCallback, TestObjectPythonV8Internal::floatArrayAttributeAttributeSett erCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8 ::PropertyAttribute>(v8::None), 0 /* on instance */},
2429 {"nullableStringAttribute", TestObjectPythonV8Internal::nullableStringAttrib uteAttributeGetterCallback, TestObjectPythonV8Internal::nullableStringAttributeA ttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), st atic_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */}, 2494 {"nullableStringAttribute", TestObjectPythonV8Internal::nullableStringAttrib uteAttributeGetterCallback, TestObjectPythonV8Internal::nullableStringAttributeA ttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), st atic_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
2430 {"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 */}, 2495 {"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 */},
2431 {"testEnumAttribute", TestObjectPythonV8Internal::testEnumAttributeAttribute GetterCallback, TestObjectPythonV8Internal::testEnumAttributeAttributeSetterCall back, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::Prop ertyAttribute>(v8::None), 0 /* on instance */}, 2496 {"testEnumAttribute", TestObjectPythonV8Internal::testEnumAttributeAttribute GetterCallback, TestObjectPythonV8Internal::testEnumAttributeAttributeSetterCall back, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::Prop ertyAttribute>(v8::None), 0 /* on instance */},
2432 {"readonlyEventHandlerAttribute", TestObjectPythonV8Internal::readonlyEventH andlerAttributeAttributeGetterCallback, 0, 0, 0, 0, static_cast<v8::AccessContro l>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */}, 2497 {"readonlyEventHandlerAttribute", TestObjectPythonV8Internal::readonlyEventH andlerAttributeAttributeGetterCallback, 0, 0, 0, 0, static_cast<v8::AccessContro l>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
2433 {"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 */}, 2498 {"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 */},
2434 {"activityLogAccessReadonlyLongAttribute", TestObjectPythonV8Internal::activ ityLogAccessReadonlyLongAttributeAttributeGetterCallback, 0, 0, 0, 0, static_cas t<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */}, 2499 {"activityLoggingAccessForAllWorldsLongAttribute", TestObjectPythonV8Interna l::activityLoggingAccessForAllWorldsLongAttributeAttributeGetterCallback, TestOb jectPythonV8Internal::activityLoggingAccessForAllWorldsLongAttributeAttributeSet terCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v 8::PropertyAttribute>(v8::None), 0 /* on instance */},
2435 {"activityLogGetterReadonlyLongAttribute", TestObjectPythonV8Internal::activ ityLogGetterReadonlyLongAttributeAttributeGetterCallback, 0, 0, 0, 0, static_cas t<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */}, 2500 {"activityLoggingGetterForAllWorldsLongAttribute", TestObjectPythonV8Interna l::activityLoggingGetterForAllWorldsLongAttributeAttributeGetterCallback, TestOb jectPythonV8Internal::activityLoggingGetterForAllWorldsLongAttributeAttributeSet terCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v 8::PropertyAttribute>(v8::None), 0 /* on instance */},
2501 {"activityLoggingSetterForAllWorldsLongAttribute", TestObjectPythonV8Interna l::activityLoggingSetterForAllWorldsLongAttributeAttributeGetterCallback, TestOb jectPythonV8Internal::activityLoggingSetterForAllWorldsLongAttributeAttributeSet terCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v 8::PropertyAttribute>(v8::None), 0 /* on instance */},
2436 {"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 */}, 2502 {"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 */},
2437 {"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 */}, 2503 {"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 */},
2438 {"checkSecurityForNodeReadonlyDocumentAttribute", TestObjectPythonV8Internal ::checkSecurityForNodeReadonlyDocumentAttributeAttributeGetterCallback, 0, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribu te>(v8::None), 0 /* on instance */}, 2504 {"checkSecurityForNodeReadonlyDocumentAttribute", TestObjectPythonV8Internal ::checkSecurityForNodeReadonlyDocumentAttributeAttributeGetterCallback, 0, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribu te>(v8::None), 0 /* on instance */},
2439 #if ENABLE(Condition) 2505 #if ENABLE(Condition)
2440 {"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 */}, 2506 {"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 */},
2441 #endif // ENABLE(Condition) 2507 #endif // ENABLE(Condition)
2442 #if ENABLE(Condition1) && ENABLE(Condition2) 2508 #if ENABLE(Condition1) && ENABLE(Condition2)
2443 {"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 */}, 2509 {"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 */},
2444 #endif // ENABLE(Condition1) && ENABLE(Condition2) 2510 #endif // ENABLE(Condition1) && ENABLE(Condition2)
2445 #if ENABLE(Condition1) || ENABLE(Condition2) 2511 #if ENABLE(Condition1) || ENABLE(Condition2)
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
2584 V8DOMWrapper::associateObjectWithWrapper<V8TestObjectPython>(impl, &info, wr apper, isolate, WrapperConfiguration::Independent); 2650 V8DOMWrapper::associateObjectWithWrapper<V8TestObjectPython>(impl, &info, wr apper, isolate, WrapperConfiguration::Independent);
2585 return wrapper; 2651 return wrapper;
2586 } 2652 }
2587 2653
2588 void V8TestObjectPython::derefObject(void* object) 2654 void V8TestObjectPython::derefObject(void* object)
2589 { 2655 {
2590 fromInternalPointer(object)->deref(); 2656 fromInternalPointer(object)->deref();
2591 } 2657 }
2592 2658
2593 } // namespace WebCore 2659 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/bindings/tests/idls/TestObjectPython.idl ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698