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

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

Issue 353973002: IDL: fix code generation for attributes with [PutForwards] (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: the fix Created 6 years, 6 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // This file has been auto-generated by code_generator_v8.py. DO NOT MODIFY! 5 // This file has been auto-generated by code_generator_v8.py. DO NOT MODIFY!
6 6
7 #include "config.h" 7 #include "config.h"
8 #include "V8TestObject.h" 8 #include "V8TestObject.h"
9 9
10 #include "bindings/core/v8/V8HTMLCollection.h" 10 #include "bindings/core/v8/V8HTMLCollection.h"
(...skipping 2873 matching lines...) Expand 10 before | Expand all | Expand 10 after
2884 static void locationWithExceptionAttributeGetterCallback(v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8::Value>& info) 2884 static void locationWithExceptionAttributeGetterCallback(v8::Local<v8::String>, const v8::PropertyCallbackInfo<v8::Value>& info)
2885 { 2885 {
2886 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMGetter"); 2886 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMGetter");
2887 TestObjectV8Internal::locationWithExceptionAttributeGetter(info); 2887 TestObjectV8Internal::locationWithExceptionAttributeGetter(info);
2888 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); 2888 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution");
2889 } 2889 }
2890 2890
2891 static void locationWithExceptionAttributeSetter(v8::Local<v8::Value> v8Value, c onst v8::PropertyCallbackInfo<void>& info) 2891 static void locationWithExceptionAttributeSetter(v8::Local<v8::Value> v8Value, c onst v8::PropertyCallbackInfo<void>& info)
2892 { 2892 {
2893 v8::Handle<v8::Object> holder = info.Holder(); 2893 v8::Handle<v8::Object> holder = info.Holder();
2894 ExceptionState exceptionState(ExceptionState::SetterContext, "locationWithEx ception", "TestObject", holder, info.GetIsolate());
2894 TestObject* proxyImpl = V8TestObject::toNative(holder); 2895 TestObject* proxyImpl = V8TestObject::toNative(holder);
2895 RefPtrWillBeRawPtr<TestNode> impl = WTF::getPtr(proxyImpl->locationWithExcep tion()); 2896 RefPtrWillBeRawPtr<TestNode> impl = WTF::getPtr(proxyImpl->locationWithExcep tion());
2896 if (!impl) 2897 if (!impl)
2897 return; 2898 return;
2898 TOSTRING_VOID(V8StringResource<>, cppValue, v8Value); 2899 TOSTRING_VOID(V8StringResource<>, cppValue, v8Value);
2899 impl->setHrefThrows(cppValue); 2900 impl->setHrefThrows(cppValue, exceptionState);
2901 exceptionState.throwIfNeeded();
2900 } 2902 }
2901 2903
2902 static void locationWithExceptionAttributeSetterCallback(v8::Local<v8::String>, v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info) 2904 static void locationWithExceptionAttributeSetterCallback(v8::Local<v8::String>, v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
2903 { 2905 {
2904 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMSetter"); 2906 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMSetter");
2905 TestObjectV8Internal::locationWithExceptionAttributeSetter(v8Value, info); 2907 TestObjectV8Internal::locationWithExceptionAttributeSetter(v8Value, info);
2906 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); 2908 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution");
2907 } 2909 }
2908 2910
2909 static void locationWithCallWithAttributeGetter(const v8::PropertyCallbackInfo<v 8::Value>& info) 2911 static void locationWithCallWithAttributeGetter(const v8::PropertyCallbackInfo<v 8::Value>& info)
(...skipping 11 matching lines...) Expand all
2921 } 2923 }
2922 2924
2923 static void locationWithCallWithAttributeSetter(v8::Local<v8::Value> v8Value, co nst v8::PropertyCallbackInfo<void>& info) 2925 static void locationWithCallWithAttributeSetter(v8::Local<v8::Value> v8Value, co nst v8::PropertyCallbackInfo<void>& info)
2924 { 2926 {
2925 v8::Handle<v8::Object> holder = info.Holder(); 2927 v8::Handle<v8::Object> holder = info.Holder();
2926 TestObject* proxyImpl = V8TestObject::toNative(holder); 2928 TestObject* proxyImpl = V8TestObject::toNative(holder);
2927 RefPtrWillBeRawPtr<TestNode> impl = WTF::getPtr(proxyImpl->locationWithCallW ith()); 2929 RefPtrWillBeRawPtr<TestNode> impl = WTF::getPtr(proxyImpl->locationWithCallW ith());
2928 if (!impl) 2930 if (!impl)
2929 return; 2931 return;
2930 TOSTRING_VOID(V8StringResource<>, cppValue, v8Value); 2932 TOSTRING_VOID(V8StringResource<>, cppValue, v8Value);
2931 impl->setHrefCallWith(callingDOMWindow(info.GetIsolate()), enteredDOMWindow( info.GetIsolate()), cppValue); 2933 ExecutionContext* executionContext = currentExecutionContext(info.GetIsolate ());
2934 impl->setHrefCallWith(executionContext, callingDOMWindow(info.GetIsolate()), enteredDOMWindow(info.GetIsolate()), cppValue);
2932 } 2935 }
2933 2936
2934 static void locationWithCallWithAttributeSetterCallback(v8::Local<v8::String>, v 8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info) 2937 static void locationWithCallWithAttributeSetterCallback(v8::Local<v8::String>, v 8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
2935 { 2938 {
2936 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMSetter"); 2939 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMSetter");
2937 TestObjectV8Internal::locationWithCallWithAttributeSetter(v8Value, info); 2940 TestObjectV8Internal::locationWithCallWithAttributeSetter(v8Value, info);
2938 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); 2941 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution");
2939 } 2942 }
2940 2943
2944 static void locationByteStringAttributeGetter(const v8::PropertyCallbackInfo<v8: :Value>& info)
2945 {
2946 v8::Handle<v8::Object> holder = info.Holder();
2947 TestObject* impl = V8TestObject::toNative(holder);
2948 v8SetReturnValueFast(info, WTF::getPtr(impl->locationByteString()), impl);
2949 }
2950
2951 static void locationByteStringAttributeGetterCallback(v8::Local<v8::String>, con st v8::PropertyCallbackInfo<v8::Value>& info)
2952 {
2953 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMGetter");
2954 TestObjectV8Internal::locationByteStringAttributeGetter(info);
2955 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution");
2956 }
2957
2958 static void locationByteStringAttributeSetter(v8::Local<v8::Value> v8Value, cons t v8::PropertyCallbackInfo<void>& info)
2959 {
2960 v8::Handle<v8::Object> holder = info.Holder();
2961 ExceptionState exceptionState(ExceptionState::SetterContext, "locationByteSt ring", "TestObject", holder, info.GetIsolate());
2962 TestObject* proxyImpl = V8TestObject::toNative(holder);
2963 RefPtrWillBeRawPtr<TestNode> impl = WTF::getPtr(proxyImpl->locationByteStrin g());
2964 if (!impl)
2965 return;
2966 TONATIVE_VOID_EXCEPTIONSTATE(V8StringResource<>, cppValue, toByteString(v8Va lue, exceptionState), exceptionState);
2967 impl->setHrefByteString(cppValue);
2968 }
2969
2970 static void locationByteStringAttributeSetterCallback(v8::Local<v8::String>, v8: :Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info)
2971 {
2972 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMSetter");
2973 TestObjectV8Internal::locationByteStringAttributeSetter(v8Value, info);
2974 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution");
2975 }
2976
2941 static void locationWithPerWorldBindingsAttributeGetter(const v8::PropertyCallba ckInfo<v8::Value>& info) 2977 static void locationWithPerWorldBindingsAttributeGetter(const v8::PropertyCallba ckInfo<v8::Value>& info)
2942 { 2978 {
2943 v8::Handle<v8::Object> holder = info.Holder(); 2979 v8::Handle<v8::Object> holder = info.Holder();
2944 TestObject* impl = V8TestObject::toNative(holder); 2980 TestObject* impl = V8TestObject::toNative(holder);
2945 v8SetReturnValueFast(info, WTF::getPtr(impl->locationWithPerWorldBindings()) , impl); 2981 v8SetReturnValueFast(info, WTF::getPtr(impl->locationWithPerWorldBindings()) , impl);
2946 } 2982 }
2947 2983
2948 static void locationWithPerWorldBindingsAttributeGetterCallback(v8::Local<v8::St ring>, const v8::PropertyCallbackInfo<v8::Value>& info) 2984 static void locationWithPerWorldBindingsAttributeGetterCallback(v8::Local<v8::St ring>, const v8::PropertyCallbackInfo<v8::Value>& info)
2949 { 2985 {
2950 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMGetter"); 2986 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMGetter");
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
2995 impl->setHref(cppValue); 3031 impl->setHref(cppValue);
2996 } 3032 }
2997 3033
2998 static void locationWithPerWorldBindingsAttributeSetterCallbackForMainWorld(v8:: Local<v8::String>, v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo< void>& info) 3034 static void locationWithPerWorldBindingsAttributeSetterCallbackForMainWorld(v8:: Local<v8::String>, v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo< void>& info)
2999 { 3035 {
3000 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMSetter"); 3036 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMSetter");
3001 TestObjectV8Internal::locationWithPerWorldBindingsAttributeSetterForMainWorl d(v8Value, info); 3037 TestObjectV8Internal::locationWithPerWorldBindingsAttributeSetterForMainWorl d(v8Value, info);
3002 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); 3038 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution");
3003 } 3039 }
3004 3040
3041 static void locationTypeCheckingInterfaceAttributeGetter(const v8::PropertyCallb ackInfo<v8::Value>& info)
3042 {
3043 v8::Handle<v8::Object> holder = info.Holder();
3044 TestObject* impl = V8TestObject::toNative(holder);
3045 v8SetReturnValueFast(info, WTF::getPtr(impl->locationTypeCheckingInterface() ), impl);
3046 }
3047
3048 static void locationTypeCheckingInterfaceAttributeGetterCallback(v8::Local<v8::S tring>, const v8::PropertyCallbackInfo<v8::Value>& info)
3049 {
3050 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMGetter");
3051 TestObjectV8Internal::locationTypeCheckingInterfaceAttributeGetter(info);
3052 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution");
3053 }
3054
3055 static void locationTypeCheckingInterfaceAttributeSetter(v8::Local<v8::Value> v8 Value, const v8::PropertyCallbackInfo<void>& info)
3056 {
3057 v8::Handle<v8::Object> holder = info.Holder();
3058 TestObject* proxyImpl = V8TestObject::toNative(holder);
3059 RefPtrWillBeRawPtr<TestNode> impl = WTF::getPtr(proxyImpl->locationTypeCheck ingInterface());
3060 if (!impl)
3061 return;
3062 TOSTRING_VOID(V8StringResource<>, cppValue, v8Value);
3063 impl->setHref(cppValue);
3064 }
3065
3066 static void locationTypeCheckingInterfaceAttributeSetterCallback(v8::Local<v8::S tring>, v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info )
3067 {
3068 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMSetter");
3069 TestObjectV8Internal::locationTypeCheckingInterfaceAttributeSetter(v8Value, info);
3070 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution");
3071 }
3072
3005 static void locationGarbageCollectedAttributeGetter(const v8::PropertyCallbackIn fo<v8::Value>& info) 3073 static void locationGarbageCollectedAttributeGetter(const v8::PropertyCallbackIn fo<v8::Value>& info)
3006 { 3074 {
3007 v8::Handle<v8::Object> holder = info.Holder(); 3075 v8::Handle<v8::Object> holder = info.Holder();
3008 TestObject* impl = V8TestObject::toNative(holder); 3076 TestObject* impl = V8TestObject::toNative(holder);
3009 RawPtr<TestInterfaceGarbageCollected> result(impl->locationGarbageCollected( )); 3077 RawPtr<TestInterfaceGarbageCollected> result(impl->locationGarbageCollected( ));
3010 if (result && DOMDataStore::setReturnValueFromWrapper<V8TestInterfaceGarbage Collected>(info.GetReturnValue(), result.get())) 3078 if (result && DOMDataStore::setReturnValueFromWrapper<V8TestInterfaceGarbage Collected>(info.GetReturnValue(), result.get()))
3011 return; 3079 return;
3012 v8::Handle<v8::Value> wrapper = toV8(result.get(), holder, info.GetIsolate() ); 3080 v8::Handle<v8::Value> wrapper = toV8(result.get(), holder, info.GetIsolate() );
3013 if (!wrapper.IsEmpty()) { 3081 if (!wrapper.IsEmpty()) {
3014 V8HiddenValue::setHiddenValue(info.GetIsolate(), holder, v8AtomicString( info.GetIsolate(), "locationGarbageCollected"), wrapper); 3082 V8HiddenValue::setHiddenValue(info.GetIsolate(), holder, v8AtomicString( info.GetIsolate(), "locationGarbageCollected"), wrapper);
(...skipping 6724 matching lines...) Expand 10 before | Expand all | Expand 10 after
9739 {"measureAsLongAttribute", TestObjectV8Internal::measureAsLongAttributeAttri buteGetterCallback, TestObjectV8Internal::measureAsLongAttributeAttributeSetterC allback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::P ropertyAttribute>(v8::None), 0 /* on instance */}, 9807 {"measureAsLongAttribute", TestObjectV8Internal::measureAsLongAttributeAttri buteGetterCallback, TestObjectV8Internal::measureAsLongAttributeAttributeSetterC allback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::P ropertyAttribute>(v8::None), 0 /* on instance */},
9740 {"notEnumerableLongAttribute", TestObjectV8Internal::notEnumerableLongAttrib uteAttributeGetterCallback, TestObjectV8Internal::notEnumerableLongAttributeAttr ibuteSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), stati c_cast<v8::PropertyAttribute>(v8::DontEnum), 0 /* on instance */}, 9808 {"notEnumerableLongAttribute", TestObjectV8Internal::notEnumerableLongAttrib uteAttributeGetterCallback, TestObjectV8Internal::notEnumerableLongAttributeAttr ibuteSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), stati c_cast<v8::PropertyAttribute>(v8::DontEnum), 0 /* on instance */},
9741 {"perWorldBindingsReadonlyTestInterfaceEmptyAttribute", TestObjectV8Internal ::perWorldBindingsReadonlyTestInterfaceEmptyAttributeAttributeGetterCallback, 0, TestObjectV8Internal::perWorldBindingsReadonlyTestInterfaceEmptyAttributeAttrib uteGetterCallbackForMainWorld, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT) , static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */}, 9809 {"perWorldBindingsReadonlyTestInterfaceEmptyAttribute", TestObjectV8Internal ::perWorldBindingsReadonlyTestInterfaceEmptyAttributeAttributeGetterCallback, 0, TestObjectV8Internal::perWorldBindingsReadonlyTestInterfaceEmptyAttributeAttrib uteGetterCallbackForMainWorld, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT) , static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
9742 {"activityLoggingAccessPerWorldBindingsLongAttribute", TestObjectV8Internal: :activityLoggingAccessPerWorldBindingsLongAttributeAttributeGetterCallback, Test ObjectV8Internal::activityLoggingAccessPerWorldBindingsLongAttributeAttributeSet terCallback, TestObjectV8Internal::activityLoggingAccessPerWorldBindingsLongAttr ibuteAttributeGetterCallbackForMainWorld, TestObjectV8Internal::activityLoggingA ccessPerWorldBindingsLongAttributeAttributeSetterCallbackForMainWorld, 0, static _cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::No ne), 0 /* on instance */}, 9810 {"activityLoggingAccessPerWorldBindingsLongAttribute", TestObjectV8Internal: :activityLoggingAccessPerWorldBindingsLongAttributeAttributeGetterCallback, Test ObjectV8Internal::activityLoggingAccessPerWorldBindingsLongAttributeAttributeSet terCallback, TestObjectV8Internal::activityLoggingAccessPerWorldBindingsLongAttr ibuteAttributeGetterCallbackForMainWorld, TestObjectV8Internal::activityLoggingA ccessPerWorldBindingsLongAttributeAttributeSetterCallbackForMainWorld, 0, static _cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::No ne), 0 /* on instance */},
9743 {"activityLoggingAccessForIsolatedWorldsPerWorldBindingsLongAttribute", Test ObjectV8Internal::activityLoggingAccessForIsolatedWorldsPerWorldBindingsLongAttr ibuteAttributeGetterCallback, TestObjectV8Internal::activityLoggingAccessForIsol atedWorldsPerWorldBindingsLongAttributeAttributeSetterCallback, TestObjectV8Inte rnal::activityLoggingAccessForIsolatedWorldsPerWorldBindingsLongAttributeAttribu teGetterCallbackForMainWorld, TestObjectV8Internal::activityLoggingAccessForIsol atedWorldsPerWorldBindingsLongAttributeAttributeSetterCallbackForMainWorld, 0, s tatic_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v 8::None), 0 /* on instance */}, 9811 {"activityLoggingAccessForIsolatedWorldsPerWorldBindingsLongAttribute", Test ObjectV8Internal::activityLoggingAccessForIsolatedWorldsPerWorldBindingsLongAttr ibuteAttributeGetterCallback, TestObjectV8Internal::activityLoggingAccessForIsol atedWorldsPerWorldBindingsLongAttributeAttributeSetterCallback, TestObjectV8Inte rnal::activityLoggingAccessForIsolatedWorldsPerWorldBindingsLongAttributeAttribu teGetterCallbackForMainWorld, TestObjectV8Internal::activityLoggingAccessForIsol atedWorldsPerWorldBindingsLongAttributeAttributeSetterCallbackForMainWorld, 0, s tatic_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v 8::None), 0 /* on instance */},
9744 {"activityLoggingGetterPerWorldBindingsLongAttribute", TestObjectV8Internal: :activityLoggingGetterPerWorldBindingsLongAttributeAttributeGetterCallback, Test ObjectV8Internal::activityLoggingGetterPerWorldBindingsLongAttributeAttributeSet terCallback, TestObjectV8Internal::activityLoggingGetterPerWorldBindingsLongAttr ibuteAttributeGetterCallbackForMainWorld, TestObjectV8Internal::activityLoggingG etterPerWorldBindingsLongAttributeAttributeSetterCallbackForMainWorld, 0, static _cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::No ne), 0 /* on instance */}, 9812 {"activityLoggingGetterPerWorldBindingsLongAttribute", TestObjectV8Internal: :activityLoggingGetterPerWorldBindingsLongAttributeAttributeGetterCallback, Test ObjectV8Internal::activityLoggingGetterPerWorldBindingsLongAttributeAttributeSet terCallback, TestObjectV8Internal::activityLoggingGetterPerWorldBindingsLongAttr ibuteAttributeGetterCallbackForMainWorld, TestObjectV8Internal::activityLoggingG etterPerWorldBindingsLongAttributeAttributeSetterCallbackForMainWorld, 0, static _cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::No ne), 0 /* on instance */},
9745 {"activityLoggingGetterForIsolatedWorldsPerWorldBindingsLongAttribute", Test ObjectV8Internal::activityLoggingGetterForIsolatedWorldsPerWorldBindingsLongAttr ibuteAttributeGetterCallback, TestObjectV8Internal::activityLoggingGetterForIsol atedWorldsPerWorldBindingsLongAttributeAttributeSetterCallback, TestObjectV8Inte rnal::activityLoggingGetterForIsolatedWorldsPerWorldBindingsLongAttributeAttribu teGetterCallbackForMainWorld, TestObjectV8Internal::activityLoggingGetterForIsol atedWorldsPerWorldBindingsLongAttributeAttributeSetterCallbackForMainWorld, 0, s tatic_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v 8::None), 0 /* on instance */}, 9813 {"activityLoggingGetterForIsolatedWorldsPerWorldBindingsLongAttribute", Test ObjectV8Internal::activityLoggingGetterForIsolatedWorldsPerWorldBindingsLongAttr ibuteAttributeGetterCallback, TestObjectV8Internal::activityLoggingGetterForIsol atedWorldsPerWorldBindingsLongAttributeAttributeSetterCallback, TestObjectV8Inte rnal::activityLoggingGetterForIsolatedWorldsPerWorldBindingsLongAttributeAttribu teGetterCallbackForMainWorld, TestObjectV8Internal::activityLoggingGetterForIsol atedWorldsPerWorldBindingsLongAttributeAttributeSetterCallbackForMainWorld, 0, s tatic_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v 8::None), 0 /* on instance */},
9746 {"location", TestObjectV8Internal::locationAttributeGetterCallback, TestObje ctV8Internal::locationAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessCo ntrol>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on insta nce */}, 9814 {"location", TestObjectV8Internal::locationAttributeGetterCallback, TestObje ctV8Internal::locationAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessCo ntrol>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on insta nce */},
9747 {"locationWithException", TestObjectV8Internal::locationWithExceptionAttribu teGetterCallback, TestObjectV8Internal::locationWithExceptionAttributeSetterCall back, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::Prop ertyAttribute>(v8::None), 0 /* on instance */}, 9815 {"locationWithException", TestObjectV8Internal::locationWithExceptionAttribu teGetterCallback, TestObjectV8Internal::locationWithExceptionAttributeSetterCall back, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::Prop ertyAttribute>(v8::None), 0 /* on instance */},
9748 {"locationWithCallWith", TestObjectV8Internal::locationWithCallWithAttribute GetterCallback, TestObjectV8Internal::locationWithCallWithAttributeSetterCallbac k, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::Propert yAttribute>(v8::None), 0 /* on instance */}, 9816 {"locationWithCallWith", TestObjectV8Internal::locationWithCallWithAttribute GetterCallback, TestObjectV8Internal::locationWithCallWithAttributeSetterCallbac k, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::Propert yAttribute>(v8::None), 0 /* on instance */},
9817 {"locationByteString", TestObjectV8Internal::locationByteStringAttributeGett erCallback, TestObjectV8Internal::locationByteStringAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttri bute>(v8::None), 0 /* on instance */},
9749 {"locationWithPerWorldBindings", TestObjectV8Internal::locationWithPerWorldB indingsAttributeGetterCallback, TestObjectV8Internal::locationWithPerWorldBindin gsAttributeSetterCallback, TestObjectV8Internal::locationWithPerWorldBindingsAtt ributeGetterCallbackForMainWorld, TestObjectV8Internal::locationWithPerWorldBind ingsAttributeSetterCallbackForMainWorld, 0, static_cast<v8::AccessControl>(v8::D EFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */}, 9818 {"locationWithPerWorldBindings", TestObjectV8Internal::locationWithPerWorldB indingsAttributeGetterCallback, TestObjectV8Internal::locationWithPerWorldBindin gsAttributeSetterCallback, TestObjectV8Internal::locationWithPerWorldBindingsAtt ributeGetterCallbackForMainWorld, TestObjectV8Internal::locationWithPerWorldBind ingsAttributeSetterCallbackForMainWorld, 0, static_cast<v8::AccessControl>(v8::D EFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
9819 {"locationTypeCheckingInterface", TestObjectV8Internal::locationTypeChecking InterfaceAttributeGetterCallback, TestObjectV8Internal::locationTypeCheckingInte rfaceAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAUL T), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
9750 {"locationGarbageCollected", TestObjectV8Internal::locationGarbageCollectedA ttributeGetterCallback, TestObjectV8Internal::locationGarbageCollectedAttributeS etterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast <v8::PropertyAttribute>(v8::None), 0 /* on instance */}, 9820 {"locationGarbageCollected", TestObjectV8Internal::locationGarbageCollectedA ttributeGetterCallback, TestObjectV8Internal::locationGarbageCollectedAttributeS etterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast <v8::PropertyAttribute>(v8::None), 0 /* on instance */},
9751 {"locationWillBeGarbageCollected", TestObjectV8Internal::locationWillBeGarba geCollectedAttributeGetterCallback, TestObjectV8Internal::locationWillBeGarbageC ollectedAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEF AULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */}, 9821 {"locationWillBeGarbageCollected", TestObjectV8Internal::locationWillBeGarba geCollectedAttributeGetterCallback, TestObjectV8Internal::locationWillBeGarbageC ollectedAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEF AULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
9752 {"raisesExceptionLongAttribute", TestObjectV8Internal::raisesExceptionLongAt tributeAttributeGetterCallback, TestObjectV8Internal::raisesExceptionLongAttribu teAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */}, 9822 {"raisesExceptionLongAttribute", TestObjectV8Internal::raisesExceptionLongAt tributeAttributeGetterCallback, TestObjectV8Internal::raisesExceptionLongAttribu teAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
9753 {"raisesExceptionGetterLongAttribute", TestObjectV8Internal::raisesException GetterLongAttributeAttributeGetterCallback, TestObjectV8Internal::raisesExceptio nGetterLongAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessCont rol>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instanc e */}, 9823 {"raisesExceptionGetterLongAttribute", TestObjectV8Internal::raisesException GetterLongAttributeAttributeGetterCallback, TestObjectV8Internal::raisesExceptio nGetterLongAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessCont rol>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instanc e */},
9754 {"setterRaisesExceptionLongAttribute", TestObjectV8Internal::setterRaisesExc eptionLongAttributeAttributeGetterCallback, TestObjectV8Internal::setterRaisesEx ceptionLongAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessCont rol>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instanc e */}, 9824 {"setterRaisesExceptionLongAttribute", TestObjectV8Internal::setterRaisesExc eptionLongAttributeAttributeGetterCallback, TestObjectV8Internal::setterRaisesEx ceptionLongAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessCont rol>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instanc e */},
9755 {"raisesExceptionTestInterfaceEmptyAttribute", TestObjectV8Internal::raisesE xceptionTestInterfaceEmptyAttributeAttributeGetterCallback, TestObjectV8Internal ::raisesExceptionTestInterfaceEmptyAttributeAttributeSetterCallback, 0, 0, 0, st atic_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8 ::None), 0 /* on instance */}, 9825 {"raisesExceptionTestInterfaceEmptyAttribute", TestObjectV8Internal::raisesE xceptionTestInterfaceEmptyAttributeAttributeGetterCallback, TestObjectV8Internal ::raisesExceptionTestInterfaceEmptyAttributeAttributeSetterCallback, 0, 0, 0, st atic_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8 ::None), 0 /* on instance */},
9756 {"cachedAttributeRaisesExceptionGetterAnyAttribute", TestObjectV8Internal::c achedAttributeRaisesExceptionGetterAnyAttributeAttributeGetterCallback, TestObje ctV8Internal::cachedAttributeRaisesExceptionGetterAnyAttributeAttributeSetterCal lback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::Pro pertyAttribute>(v8::None), 0 /* on instance */}, 9826 {"cachedAttributeRaisesExceptionGetterAnyAttribute", TestObjectV8Internal::c achedAttributeRaisesExceptionGetterAnyAttributeAttributeGetterCallback, TestObje ctV8Internal::cachedAttributeRaisesExceptionGetterAnyAttributeAttributeSetterCal lback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::Pro pertyAttribute>(v8::None), 0 /* on instance */},
9757 {"reflectTestInterfaceAttribute", TestObjectV8Internal::reflectTestInterface AttributeAttributeGetterCallback, TestObjectV8Internal::reflectTestInterfaceAttr ibuteAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAUL T), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */}, 9827 {"reflectTestInterfaceAttribute", TestObjectV8Internal::reflectTestInterface AttributeAttributeGetterCallback, TestObjectV8Internal::reflectTestInterfaceAttr ibuteAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAUL T), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */},
9758 {"reflectReflectedNameAttributeTestAttribute", TestObjectV8Internal::reflect ReflectedNameAttributeTestAttributeAttributeGetterCallback, TestObjectV8Internal ::reflectReflectedNameAttributeTestAttributeAttributeSetterCallback, 0, 0, 0, st atic_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8 ::None), 0 /* on instance */}, 9828 {"reflectReflectedNameAttributeTestAttribute", TestObjectV8Internal::reflect ReflectedNameAttributeTestAttributeAttributeGetterCallback, TestObjectV8Internal ::reflectReflectedNameAttributeTestAttributeAttributeSetterCallback, 0, 0, 0, st atic_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8 ::None), 0 /* on instance */},
9759 {"reflectBooleanAttribute", TestObjectV8Internal::reflectBooleanAttributeAtt ributeGetterCallback, TestObjectV8Internal::reflectBooleanAttributeAttributeSett erCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8 ::PropertyAttribute>(v8::None), 0 /* on instance */}, 9829 {"reflectBooleanAttribute", TestObjectV8Internal::reflectBooleanAttributeAtt ributeGetterCallback, TestObjectV8Internal::reflectBooleanAttributeAttributeSett erCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8 ::PropertyAttribute>(v8::None), 0 /* on instance */},
(...skipping 434 matching lines...) Expand 10 before | Expand all | Expand 10 after
10194 fromInternalPointer(object)->deref(); 10264 fromInternalPointer(object)->deref();
10195 } 10265 }
10196 10266
10197 template<> 10267 template<>
10198 v8::Handle<v8::Value> toV8NoInline(TestObject* impl, v8::Handle<v8::Object> crea tionContext, v8::Isolate* isolate) 10268 v8::Handle<v8::Value> toV8NoInline(TestObject* impl, v8::Handle<v8::Object> crea tionContext, v8::Isolate* isolate)
10199 { 10269 {
10200 return toV8(impl, creationContext, isolate); 10270 return toV8(impl, creationContext, isolate);
10201 } 10271 }
10202 10272
10203 } // namespace WebCore 10273 } // namespace WebCore
OLDNEW
« Source/bindings/scripts/v8_attributes.py ('K') | « Source/bindings/tests/results/V8TestNode.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698