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

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

Issue 196133029: Oilpan: move Location to the oilpan heap. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebased Created 6 years, 9 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
« no previous file with comments | « Source/bindings/tests/idls/TestObjectPython.idl ('k') | Source/core/frame/DOMWindow.h » ('j') | 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 * Copyright (C) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 2658 matching lines...) Expand 10 before | Expand all | Expand 10 after
2669 impl->setHref(cppValue); 2669 impl->setHref(cppValue);
2670 } 2670 }
2671 2671
2672 static void locationWithPerWorldBindingsAttributeSetterCallbackForMainWorld(v8:: Local<v8::String>, v8::Local<v8::Value> jsValue, const v8::PropertyCallbackInfo< void>& info) 2672 static void locationWithPerWorldBindingsAttributeSetterCallbackForMainWorld(v8:: Local<v8::String>, v8::Local<v8::Value> jsValue, const v8::PropertyCallbackInfo< void>& info)
2673 { 2673 {
2674 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter"); 2674 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter");
2675 TestObjectPythonV8Internal::locationWithPerWorldBindingsAttributeSetterForMa inWorld(jsValue, info); 2675 TestObjectPythonV8Internal::locationWithPerWorldBindingsAttributeSetterForMa inWorld(jsValue, info);
2676 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); 2676 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution");
2677 } 2677 }
2678 2678
2679 static void locationWillBeGarbageCollectedAttributeGetter(const v8::PropertyCall backInfo<v8::Value>& info)
2680 {
2681 TestObjectPython* impl = V8TestObjectPython::toNative(info.Holder());
2682 RefPtrWillBeRawPtr<TestInterfaceWillBeGarbageCollected> result(impl->locatio nWillBeGarbageCollected());
2683 if (result && DOMDataStore::setReturnValueFromWrapper<V8TestInterfaceWillBeG arbageCollected>(info.GetReturnValue(), result.get()))
2684 return;
2685 v8::Handle<v8::Value> wrapper = toV8(result.get(), info.Holder(), info.GetIs olate());
2686 if (!wrapper.IsEmpty()) {
2687 V8HiddenValue::setHiddenValue(info.GetIsolate(), info.Holder(), v8Atomic String(info.GetIsolate(), "locationWillBeGarbageCollected"), wrapper);
2688 v8SetReturnValue(info, wrapper);
2689 }
2690 }
2691
2692 static void locationWillBeGarbageCollectedAttributeGetterCallback(v8::Local<v8:: String>, const v8::PropertyCallbackInfo<v8::Value>& info)
2693 {
2694 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter");
2695 TestObjectPythonV8Internal::locationWillBeGarbageCollectedAttributeGetter(in fo);
2696 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution");
2697 }
2698
2699 static void locationWillBeGarbageCollectedAttributeSetter(v8::Local<v8::Value> j sValue, const v8::PropertyCallbackInfo<void>& info)
2700 {
2701 TestObjectPython* proxyImpl = V8TestObjectPython::toNative(info.Holder());
2702 RefPtrWillBeRawPtr<TestInterfaceWillBeGarbageCollected> impl = WTF::getPtr(p roxyImpl->locationWillBeGarbageCollected());
2703 if (!impl)
2704 return;
2705 V8TRYCATCH_VOID(TestInterfaceWillBeGarbageCollected*, cppValue, V8TestInterf aceWillBeGarbageCollected::toNativeWithTypeCheck(info.GetIsolate(), jsValue));
2706 impl->setAttr1(WTF::getPtr(cppValue));
2707 }
2708
2709 static void locationWillBeGarbageCollectedAttributeSetterCallback(v8::Local<v8:: String>, v8::Local<v8::Value> jsValue, const v8::PropertyCallbackInfo<void>& inf o)
2710 {
2711 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter");
2712 TestObjectPythonV8Internal::locationWillBeGarbageCollectedAttributeSetter(js Value, info);
2713 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution");
2714 }
2715
2679 static void raisesExceptionLongAttributeAttributeGetter(const v8::PropertyCallba ckInfo<v8::Value>& info) 2716 static void raisesExceptionLongAttributeAttributeGetter(const v8::PropertyCallba ckInfo<v8::Value>& info)
2680 { 2717 {
2681 TestObjectPython* impl = V8TestObjectPython::toNative(info.Holder()); 2718 TestObjectPython* impl = V8TestObjectPython::toNative(info.Holder());
2682 ExceptionState exceptionState(ExceptionState::GetterContext, "raisesExceptio nLongAttribute", "TestObjectPython", info.Holder(), info.GetIsolate()); 2719 ExceptionState exceptionState(ExceptionState::GetterContext, "raisesExceptio nLongAttribute", "TestObjectPython", info.Holder(), info.GetIsolate());
2683 int jsValue = impl->raisesExceptionLongAttribute(exceptionState); 2720 int jsValue = impl->raisesExceptionLongAttribute(exceptionState);
2684 if (UNLIKELY(exceptionState.throwIfNeeded())) 2721 if (UNLIKELY(exceptionState.throwIfNeeded()))
2685 return; 2722 return;
2686 v8SetReturnValueInt(info, jsValue); 2723 v8SetReturnValueInt(info, jsValue);
2687 } 2724 }
2688 2725
(...skipping 4681 matching lines...) Expand 10 before | Expand all | Expand 10 after
7370 {"perWorldBindingsReadonlyLongAttribute", TestObjectPythonV8Internal::perWor ldBindingsReadonlyLongAttributeAttributeGetterCallback, 0, TestObjectPythonV8Int ernal::perWorldBindingsReadonlyLongAttributeAttributeGetterCallbackForMainWorld, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttr ibute>(v8::None), 0 /* on instance */}, 7407 {"perWorldBindingsReadonlyLongAttribute", TestObjectPythonV8Internal::perWor ldBindingsReadonlyLongAttributeAttributeGetterCallback, 0, TestObjectPythonV8Int ernal::perWorldBindingsReadonlyLongAttributeAttributeGetterCallbackForMainWorld, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttr ibute>(v8::None), 0 /* on instance */},
7371 {"perWorldBindingsReadonlyTestInterfaceEmptyAttribute", TestObjectPythonV8In ternal::perWorldBindingsReadonlyTestInterfaceEmptyAttributeAttributeGetterCallba ck, 0, TestObjectPythonV8Internal::perWorldBindingsReadonlyTestInterfaceEmptyAtt ributeAttributeGetterCallbackForMainWorld, 0, 0, static_cast<v8::AccessControl>( v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */} , 7408 {"perWorldBindingsReadonlyTestInterfaceEmptyAttribute", TestObjectPythonV8In ternal::perWorldBindingsReadonlyTestInterfaceEmptyAttributeAttributeGetterCallba ck, 0, TestObjectPythonV8Internal::perWorldBindingsReadonlyTestInterfaceEmptyAtt ributeAttributeGetterCallbackForMainWorld, 0, 0, static_cast<v8::AccessControl>( v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */} ,
7372 {"activityLoggingAccessPerWorldBindingsLongAttribute", TestObjectPythonV8Int ernal::activityLoggingAccessPerWorldBindingsLongAttributeAttributeGetterCallback , TestObjectPythonV8Internal::activityLoggingAccessPerWorldBindingsLongAttribute AttributeSetterCallback, TestObjectPythonV8Internal::activityLoggingAccessPerWor ldBindingsLongAttributeAttributeGetterCallbackForMainWorld, TestObjectPythonV8In ternal::activityLoggingAccessPerWorldBindingsLongAttributeAttributeSetterCallbac kForMainWorld, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::P ropertyAttribute>(v8::None), 0 /* on instance */}, 7409 {"activityLoggingAccessPerWorldBindingsLongAttribute", TestObjectPythonV8Int ernal::activityLoggingAccessPerWorldBindingsLongAttributeAttributeGetterCallback , TestObjectPythonV8Internal::activityLoggingAccessPerWorldBindingsLongAttribute AttributeSetterCallback, TestObjectPythonV8Internal::activityLoggingAccessPerWor ldBindingsLongAttributeAttributeGetterCallbackForMainWorld, TestObjectPythonV8In ternal::activityLoggingAccessPerWorldBindingsLongAttributeAttributeSetterCallbac kForMainWorld, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::P ropertyAttribute>(v8::None), 0 /* on instance */},
7373 {"activityLoggingAccessForIsolatedWorldsPerWorldBindingsLongAttribute", Test ObjectPythonV8Internal::activityLoggingAccessForIsolatedWorldsPerWorldBindingsLo ngAttributeAttributeGetterCallback, TestObjectPythonV8Internal::activityLoggingA ccessForIsolatedWorldsPerWorldBindingsLongAttributeAttributeSetterCallback, Test ObjectPythonV8Internal::activityLoggingAccessForIsolatedWorldsPerWorldBindingsLo ngAttributeAttributeGetterCallbackForMainWorld, TestObjectPythonV8Internal::acti vityLoggingAccessForIsolatedWorldsPerWorldBindingsLongAttributeAttributeSetterCa llbackForMainWorld, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast< v8::PropertyAttribute>(v8::None), 0 /* on instance */}, 7410 {"activityLoggingAccessForIsolatedWorldsPerWorldBindingsLongAttribute", Test ObjectPythonV8Internal::activityLoggingAccessForIsolatedWorldsPerWorldBindingsLo ngAttributeAttributeGetterCallback, TestObjectPythonV8Internal::activityLoggingA ccessForIsolatedWorldsPerWorldBindingsLongAttributeAttributeSetterCallback, Test ObjectPythonV8Internal::activityLoggingAccessForIsolatedWorldsPerWorldBindingsLo ngAttributeAttributeGetterCallbackForMainWorld, TestObjectPythonV8Internal::acti vityLoggingAccessForIsolatedWorldsPerWorldBindingsLongAttributeAttributeSetterCa llbackForMainWorld, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast< v8::PropertyAttribute>(v8::None), 0 /* on instance */},
7374 {"activityLoggingGetterPerWorldBindingsLongAttribute", TestObjectPythonV8Int ernal::activityLoggingGetterPerWorldBindingsLongAttributeAttributeGetterCallback , TestObjectPythonV8Internal::activityLoggingGetterPerWorldBindingsLongAttribute AttributeSetterCallback, TestObjectPythonV8Internal::activityLoggingGetterPerWor ldBindingsLongAttributeAttributeGetterCallbackForMainWorld, TestObjectPythonV8In ternal::activityLoggingGetterPerWorldBindingsLongAttributeAttributeSetterCallbac kForMainWorld, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::P ropertyAttribute>(v8::None), 0 /* on instance */}, 7411 {"activityLoggingGetterPerWorldBindingsLongAttribute", TestObjectPythonV8Int ernal::activityLoggingGetterPerWorldBindingsLongAttributeAttributeGetterCallback , TestObjectPythonV8Internal::activityLoggingGetterPerWorldBindingsLongAttribute AttributeSetterCallback, TestObjectPythonV8Internal::activityLoggingGetterPerWor ldBindingsLongAttributeAttributeGetterCallbackForMainWorld, TestObjectPythonV8In ternal::activityLoggingGetterPerWorldBindingsLongAttributeAttributeSetterCallbac kForMainWorld, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::P ropertyAttribute>(v8::None), 0 /* on instance */},
7375 {"activityLoggingGetterForIsolatedWorldsPerWorldBindingsLongAttribute", Test ObjectPythonV8Internal::activityLoggingGetterForIsolatedWorldsPerWorldBindingsLo ngAttributeAttributeGetterCallback, TestObjectPythonV8Internal::activityLoggingG etterForIsolatedWorldsPerWorldBindingsLongAttributeAttributeSetterCallback, Test ObjectPythonV8Internal::activityLoggingGetterForIsolatedWorldsPerWorldBindingsLo ngAttributeAttributeGetterCallbackForMainWorld, TestObjectPythonV8Internal::acti vityLoggingGetterForIsolatedWorldsPerWorldBindingsLongAttributeAttributeSetterCa llbackForMainWorld, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast< v8::PropertyAttribute>(v8::None), 0 /* on instance */}, 7412 {"activityLoggingGetterForIsolatedWorldsPerWorldBindingsLongAttribute", Test ObjectPythonV8Internal::activityLoggingGetterForIsolatedWorldsPerWorldBindingsLo ngAttributeAttributeGetterCallback, TestObjectPythonV8Internal::activityLoggingG etterForIsolatedWorldsPerWorldBindingsLongAttributeAttributeSetterCallback, Test ObjectPythonV8Internal::activityLoggingGetterForIsolatedWorldsPerWorldBindingsLo ngAttributeAttributeGetterCallbackForMainWorld, TestObjectPythonV8Internal::acti vityLoggingGetterForIsolatedWorldsPerWorldBindingsLongAttributeAttributeSetterCa llbackForMainWorld, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast< v8::PropertyAttribute>(v8::None), 0 /* on instance */},
7376 {"location", TestObjectPythonV8Internal::locationAttributeGetterCallback, Te stObjectPythonV8Internal::locationAttributeSetterCallback, 0, 0, 0, static_cast< v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */}, 7413 {"location", TestObjectPythonV8Internal::locationAttributeGetterCallback, Te stObjectPythonV8Internal::locationAttributeSetterCallback, 0, 0, 0, static_cast< v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
7377 {"locationWithException", TestObjectPythonV8Internal::locationWithExceptionA ttributeGetterCallback, TestObjectPythonV8Internal::locationWithExceptionAttribu teSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_c ast<v8::PropertyAttribute>(v8::None), 0 /* on instance */}, 7414 {"locationWithException", TestObjectPythonV8Internal::locationWithExceptionA ttributeGetterCallback, TestObjectPythonV8Internal::locationWithExceptionAttribu teSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_c ast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
7378 {"locationWithCallWith", TestObjectPythonV8Internal::locationWithCallWithAtt ributeGetterCallback, TestObjectPythonV8Internal::locationWithCallWithAttributeS etterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast <v8::PropertyAttribute>(v8::None), 0 /* on instance */}, 7415 {"locationWithCallWith", TestObjectPythonV8Internal::locationWithCallWithAtt ributeGetterCallback, TestObjectPythonV8Internal::locationWithCallWithAttributeS etterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast <v8::PropertyAttribute>(v8::None), 0 /* on instance */},
7379 {"locationWithPerWorldBindings", TestObjectPythonV8Internal::locationWithPer WorldBindingsAttributeGetterCallback, TestObjectPythonV8Internal::locationWithPe rWorldBindingsAttributeSetterCallback, TestObjectPythonV8Internal::locationWithP erWorldBindingsAttributeGetterCallbackForMainWorld, TestObjectPythonV8Internal:: locationWithPerWorldBindingsAttributeSetterCallbackForMainWorld, 0, static_cast< v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */}, 7416 {"locationWithPerWorldBindings", TestObjectPythonV8Internal::locationWithPer WorldBindingsAttributeGetterCallback, TestObjectPythonV8Internal::locationWithPe rWorldBindingsAttributeSetterCallback, TestObjectPythonV8Internal::locationWithP erWorldBindingsAttributeGetterCallbackForMainWorld, TestObjectPythonV8Internal:: locationWithPerWorldBindingsAttributeSetterCallbackForMainWorld, 0, static_cast< v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
7417 {"locationWillBeGarbageCollected", TestObjectPythonV8Internal::locationWillB eGarbageCollectedAttributeGetterCallback, TestObjectPythonV8Internal::locationWi llBeGarbageCollectedAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessCont rol>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instanc e */},
7380 {"raisesExceptionLongAttribute", TestObjectPythonV8Internal::raisesException LongAttributeAttributeGetterCallback, TestObjectPythonV8Internal::raisesExceptio nLongAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v 8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */}, 7418 {"raisesExceptionLongAttribute", TestObjectPythonV8Internal::raisesException LongAttributeAttributeGetterCallback, TestObjectPythonV8Internal::raisesExceptio nLongAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v 8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
7381 {"raisesExceptionGetterLongAttribute", TestObjectPythonV8Internal::raisesExc eptionGetterLongAttributeAttributeGetterCallback, TestObjectPythonV8Internal::ra isesExceptionGetterLongAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8 ::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 / * on instance */}, 7419 {"raisesExceptionGetterLongAttribute", TestObjectPythonV8Internal::raisesExc eptionGetterLongAttributeAttributeGetterCallback, TestObjectPythonV8Internal::ra isesExceptionGetterLongAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8 ::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 / * on instance */},
7382 {"setterRaisesExceptionLongAttribute", TestObjectPythonV8Internal::setterRai sesExceptionLongAttributeAttributeGetterCallback, TestObjectPythonV8Internal::se tterRaisesExceptionLongAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8 ::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 / * on instance */}, 7420 {"setterRaisesExceptionLongAttribute", TestObjectPythonV8Internal::setterRai sesExceptionLongAttributeAttributeGetterCallback, TestObjectPythonV8Internal::se tterRaisesExceptionLongAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8 ::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 / * on instance */},
7383 {"raisesExceptionTestInterfaceEmptyAttribute", TestObjectPythonV8Internal::r aisesExceptionTestInterfaceEmptyAttributeAttributeGetterCallback, TestObjectPyth onV8Internal::raisesExceptionTestInterfaceEmptyAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyA ttribute>(v8::None), 0 /* on instance */}, 7421 {"raisesExceptionTestInterfaceEmptyAttribute", TestObjectPythonV8Internal::r aisesExceptionTestInterfaceEmptyAttributeAttributeGetterCallback, TestObjectPyth onV8Internal::raisesExceptionTestInterfaceEmptyAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyA ttribute>(v8::None), 0 /* on instance */},
7384 {"cachedAttributeRaisesExceptionGetterAnyAttribute", TestObjectPythonV8Inter nal::cachedAttributeRaisesExceptionGetterAnyAttributeAttributeGetterCallback, Te stObjectPythonV8Internal::cachedAttributeRaisesExceptionGetterAnyAttributeAttrib uteSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_ cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */}, 7422 {"cachedAttributeRaisesExceptionGetterAnyAttribute", TestObjectPythonV8Inter nal::cachedAttributeRaisesExceptionGetterAnyAttributeAttributeGetterCallback, Te stObjectPythonV8Internal::cachedAttributeRaisesExceptionGetterAnyAttributeAttrib uteSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_ cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
7385 {"reflectTestInterfaceAttribute", TestObjectPythonV8Internal::reflectTestInt erfaceAttributeAttributeGetterCallback, TestObjectPythonV8Internal::reflectTestI nterfaceAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl >(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance * /}, 7423 {"reflectTestInterfaceAttribute", TestObjectPythonV8Internal::reflectTestInt erfaceAttributeAttributeGetterCallback, TestObjectPythonV8Internal::reflectTestI nterfaceAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl >(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance * /},
7386 {"reflectReflectedNameAttributeTestAttribute", TestObjectPythonV8Internal::r eflectReflectedNameAttributeTestAttributeAttributeGetterCallback, TestObjectPyth onV8Internal::reflectReflectedNameAttributeTestAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyA ttribute>(v8::None), 0 /* on instance */}, 7424 {"reflectReflectedNameAttributeTestAttribute", TestObjectPythonV8Internal::r eflectReflectedNameAttributeTestAttributeAttributeGetterCallback, TestObjectPyth onV8Internal::reflectReflectedNameAttributeTestAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyA ttribute>(v8::None), 0 /* on instance */},
7387 {"reflectBooleanAttribute", TestObjectPythonV8Internal::reflectBooleanAttrib uteAttributeGetterCallback, TestObjectPythonV8Internal::reflectBooleanAttributeA ttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), st atic_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */}, 7425 {"reflectBooleanAttribute", TestObjectPythonV8Internal::reflectBooleanAttrib uteAttributeGetterCallback, TestObjectPythonV8Internal::reflectBooleanAttributeA ttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), st atic_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
7388 {"reflectLongAttribute", TestObjectPythonV8Internal::reflectLongAttributeAtt ributeGetterCallback, TestObjectPythonV8Internal::reflectLongAttributeAttributeS etterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast <v8::PropertyAttribute>(v8::None), 0 /* on instance */}, 7426 {"reflectLongAttribute", TestObjectPythonV8Internal::reflectLongAttributeAtt ributeGetterCallback, TestObjectPythonV8Internal::reflectLongAttributeAttributeS etterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast <v8::PropertyAttribute>(v8::None), 0 /* on instance */},
7389 {"reflectUnsignedShortAttribute", TestObjectPythonV8Internal::reflectUnsigne dShortAttributeAttributeGetterCallback, TestObjectPythonV8Internal::reflectUnsig nedShortAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl >(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance * /}, 7427 {"reflectUnsignedShortAttribute", TestObjectPythonV8Internal::reflectUnsigne dShortAttributeAttributeGetterCallback, TestObjectPythonV8Internal::reflectUnsig nedShortAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl >(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance * /},
(...skipping 367 matching lines...) Expand 10 before | Expand all | Expand 10 after
7757 fromInternalPointer(object)->deref(); 7795 fromInternalPointer(object)->deref();
7758 } 7796 }
7759 7797
7760 template<> 7798 template<>
7761 v8::Handle<v8::Value> toV8NoInline(TestObjectPython* impl, v8::Handle<v8::Object > creationContext, v8::Isolate* isolate) 7799 v8::Handle<v8::Value> toV8NoInline(TestObjectPython* impl, v8::Handle<v8::Object > creationContext, v8::Isolate* isolate)
7762 { 7800 {
7763 return toV8(impl, creationContext, isolate); 7801 return toV8(impl, creationContext, isolate);
7764 } 7802 }
7765 7803
7766 } // namespace WebCore 7804 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/bindings/tests/idls/TestObjectPython.idl ('k') | Source/core/frame/DOMWindow.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698