OLD | NEW |
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 "HTMLNames.h" | 10 #include "HTMLNames.h" |
(...skipping 2735 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2746 { | 2746 { |
2747 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); | 2747 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); |
2748 TestObjectV8Internal::locationAttributeGetter(info); | 2748 TestObjectV8Internal::locationAttributeGetter(info); |
2749 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); | 2749 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); |
2750 } | 2750 } |
2751 | 2751 |
2752 static void locationAttributeSetter(v8::Local<v8::Value> v8Value, const v8::Prop
ertyCallbackInfo<void>& info) | 2752 static void locationAttributeSetter(v8::Local<v8::Value> v8Value, const v8::Prop
ertyCallbackInfo<void>& info) |
2753 { | 2753 { |
2754 v8::Handle<v8::Object> holder = info.Holder(); | 2754 v8::Handle<v8::Object> holder = info.Holder(); |
2755 TestObject* proxyImpl = V8TestObject::toNative(holder); | 2755 TestObject* proxyImpl = V8TestObject::toNative(holder); |
2756 RefPtr<TestNode> impl = WTF::getPtr(proxyImpl->location()); | 2756 RefPtrWillBeRawPtr<TestNode> impl = WTF::getPtr(proxyImpl->location()); |
2757 if (!impl) | 2757 if (!impl) |
2758 return; | 2758 return; |
2759 TOSTRING_VOID(V8StringResource<>, cppValue, v8Value); | 2759 TOSTRING_VOID(V8StringResource<>, cppValue, v8Value); |
2760 impl->setHref(cppValue); | 2760 impl->setHref(cppValue); |
2761 } | 2761 } |
2762 | 2762 |
2763 static void locationAttributeSetterCallback(v8::Local<v8::String>, v8::Local<v8:
:Value> v8Value, const v8::PropertyCallbackInfo<void>& info) | 2763 static void locationAttributeSetterCallback(v8::Local<v8::String>, v8::Local<v8:
:Value> v8Value, const v8::PropertyCallbackInfo<void>& info) |
2764 { | 2764 { |
2765 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter"); | 2765 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter"); |
2766 TestObjectV8Internal::locationAttributeSetter(v8Value, info); | 2766 TestObjectV8Internal::locationAttributeSetter(v8Value, info); |
(...skipping 11 matching lines...) Expand all Loading... |
2778 { | 2778 { |
2779 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); | 2779 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); |
2780 TestObjectV8Internal::locationWithExceptionAttributeGetter(info); | 2780 TestObjectV8Internal::locationWithExceptionAttributeGetter(info); |
2781 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); | 2781 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); |
2782 } | 2782 } |
2783 | 2783 |
2784 static void locationWithExceptionAttributeSetter(v8::Local<v8::Value> v8Value, c
onst v8::PropertyCallbackInfo<void>& info) | 2784 static void locationWithExceptionAttributeSetter(v8::Local<v8::Value> v8Value, c
onst v8::PropertyCallbackInfo<void>& info) |
2785 { | 2785 { |
2786 v8::Handle<v8::Object> holder = info.Holder(); | 2786 v8::Handle<v8::Object> holder = info.Holder(); |
2787 TestObject* proxyImpl = V8TestObject::toNative(holder); | 2787 TestObject* proxyImpl = V8TestObject::toNative(holder); |
2788 RefPtr<TestNode> impl = WTF::getPtr(proxyImpl->locationWithException()); | 2788 RefPtrWillBeRawPtr<TestNode> impl = WTF::getPtr(proxyImpl->locationWithExcep
tion()); |
2789 if (!impl) | 2789 if (!impl) |
2790 return; | 2790 return; |
2791 TOSTRING_VOID(V8StringResource<>, cppValue, v8Value); | 2791 TOSTRING_VOID(V8StringResource<>, cppValue, v8Value); |
2792 impl->setHrefThrows(cppValue); | 2792 impl->setHrefThrows(cppValue); |
2793 } | 2793 } |
2794 | 2794 |
2795 static void locationWithExceptionAttributeSetterCallback(v8::Local<v8::String>,
v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info) | 2795 static void locationWithExceptionAttributeSetterCallback(v8::Local<v8::String>,
v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info) |
2796 { | 2796 { |
2797 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter"); | 2797 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter"); |
2798 TestObjectV8Internal::locationWithExceptionAttributeSetter(v8Value, info); | 2798 TestObjectV8Internal::locationWithExceptionAttributeSetter(v8Value, info); |
(...skipping 11 matching lines...) Expand all Loading... |
2810 { | 2810 { |
2811 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); | 2811 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); |
2812 TestObjectV8Internal::locationWithCallWithAttributeGetter(info); | 2812 TestObjectV8Internal::locationWithCallWithAttributeGetter(info); |
2813 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); | 2813 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); |
2814 } | 2814 } |
2815 | 2815 |
2816 static void locationWithCallWithAttributeSetter(v8::Local<v8::Value> v8Value, co
nst v8::PropertyCallbackInfo<void>& info) | 2816 static void locationWithCallWithAttributeSetter(v8::Local<v8::Value> v8Value, co
nst v8::PropertyCallbackInfo<void>& info) |
2817 { | 2817 { |
2818 v8::Handle<v8::Object> holder = info.Holder(); | 2818 v8::Handle<v8::Object> holder = info.Holder(); |
2819 TestObject* proxyImpl = V8TestObject::toNative(holder); | 2819 TestObject* proxyImpl = V8TestObject::toNative(holder); |
2820 RefPtr<TestNode> impl = WTF::getPtr(proxyImpl->locationWithCallWith()); | 2820 RefPtrWillBeRawPtr<TestNode> impl = WTF::getPtr(proxyImpl->locationWithCallW
ith()); |
2821 if (!impl) | 2821 if (!impl) |
2822 return; | 2822 return; |
2823 TOSTRING_VOID(V8StringResource<>, cppValue, v8Value); | 2823 TOSTRING_VOID(V8StringResource<>, cppValue, v8Value); |
2824 impl->setHrefCallWith(callingDOMWindow(info.GetIsolate()), enteredDOMWindow(
info.GetIsolate()), cppValue); | 2824 impl->setHrefCallWith(callingDOMWindow(info.GetIsolate()), enteredDOMWindow(
info.GetIsolate()), cppValue); |
2825 } | 2825 } |
2826 | 2826 |
2827 static void locationWithCallWithAttributeSetterCallback(v8::Local<v8::String>, v
8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info) | 2827 static void locationWithCallWithAttributeSetterCallback(v8::Local<v8::String>, v
8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info) |
2828 { | 2828 { |
2829 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter"); | 2829 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter"); |
2830 TestObjectV8Internal::locationWithCallWithAttributeSetter(v8Value, info); | 2830 TestObjectV8Internal::locationWithCallWithAttributeSetter(v8Value, info); |
(...skipping 11 matching lines...) Expand all Loading... |
2842 { | 2842 { |
2843 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); | 2843 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); |
2844 TestObjectV8Internal::locationWithPerWorldBindingsAttributeGetter(info); | 2844 TestObjectV8Internal::locationWithPerWorldBindingsAttributeGetter(info); |
2845 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); | 2845 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); |
2846 } | 2846 } |
2847 | 2847 |
2848 static void locationWithPerWorldBindingsAttributeSetter(v8::Local<v8::Value> v8V
alue, const v8::PropertyCallbackInfo<void>& info) | 2848 static void locationWithPerWorldBindingsAttributeSetter(v8::Local<v8::Value> v8V
alue, const v8::PropertyCallbackInfo<void>& info) |
2849 { | 2849 { |
2850 v8::Handle<v8::Object> holder = info.Holder(); | 2850 v8::Handle<v8::Object> holder = info.Holder(); |
2851 TestObject* proxyImpl = V8TestObject::toNative(holder); | 2851 TestObject* proxyImpl = V8TestObject::toNative(holder); |
2852 RefPtr<TestNode> impl = WTF::getPtr(proxyImpl->locationWithPerWorldBindings(
)); | 2852 RefPtrWillBeRawPtr<TestNode> impl = WTF::getPtr(proxyImpl->locationWithPerWo
rldBindings()); |
2853 if (!impl) | 2853 if (!impl) |
2854 return; | 2854 return; |
2855 TOSTRING_VOID(V8StringResource<>, cppValue, v8Value); | 2855 TOSTRING_VOID(V8StringResource<>, cppValue, v8Value); |
2856 impl->setHref(cppValue); | 2856 impl->setHref(cppValue); |
2857 } | 2857 } |
2858 | 2858 |
2859 static void locationWithPerWorldBindingsAttributeSetterCallback(v8::Local<v8::St
ring>, v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info) | 2859 static void locationWithPerWorldBindingsAttributeSetterCallback(v8::Local<v8::St
ring>, v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info) |
2860 { | 2860 { |
2861 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter"); | 2861 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter"); |
2862 TestObjectV8Internal::locationWithPerWorldBindingsAttributeSetter(v8Value, i
nfo); | 2862 TestObjectV8Internal::locationWithPerWorldBindingsAttributeSetter(v8Value, i
nfo); |
(...skipping 11 matching lines...) Expand all Loading... |
2874 { | 2874 { |
2875 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); | 2875 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); |
2876 TestObjectV8Internal::locationWithPerWorldBindingsAttributeGetterForMainWorl
d(info); | 2876 TestObjectV8Internal::locationWithPerWorldBindingsAttributeGetterForMainWorl
d(info); |
2877 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); | 2877 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); |
2878 } | 2878 } |
2879 | 2879 |
2880 static void locationWithPerWorldBindingsAttributeSetterForMainWorld(v8::Local<v8
::Value> v8Value, const v8::PropertyCallbackInfo<void>& info) | 2880 static void locationWithPerWorldBindingsAttributeSetterForMainWorld(v8::Local<v8
::Value> v8Value, const v8::PropertyCallbackInfo<void>& info) |
2881 { | 2881 { |
2882 v8::Handle<v8::Object> holder = info.Holder(); | 2882 v8::Handle<v8::Object> holder = info.Holder(); |
2883 TestObject* proxyImpl = V8TestObject::toNative(holder); | 2883 TestObject* proxyImpl = V8TestObject::toNative(holder); |
2884 RefPtr<TestNode> impl = WTF::getPtr(proxyImpl->locationWithPerWorldBindings(
)); | 2884 RefPtrWillBeRawPtr<TestNode> impl = WTF::getPtr(proxyImpl->locationWithPerWo
rldBindings()); |
2885 if (!impl) | 2885 if (!impl) |
2886 return; | 2886 return; |
2887 TOSTRING_VOID(V8StringResource<>, cppValue, v8Value); | 2887 TOSTRING_VOID(V8StringResource<>, cppValue, v8Value); |
2888 impl->setHref(cppValue); | 2888 impl->setHref(cppValue); |
2889 } | 2889 } |
2890 | 2890 |
2891 static void locationWithPerWorldBindingsAttributeSetterCallbackForMainWorld(v8::
Local<v8::String>, v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<
void>& info) | 2891 static void locationWithPerWorldBindingsAttributeSetterCallbackForMainWorld(v8::
Local<v8::String>, v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<
void>& info) |
2892 { | 2892 { |
2893 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter"); | 2893 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter"); |
2894 TestObjectV8Internal::locationWithPerWorldBindingsAttributeSetterForMainWorl
d(v8Value, info); | 2894 TestObjectV8Internal::locationWithPerWorldBindingsAttributeSetterForMainWorl
d(v8Value, info); |
(...skipping 921 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3816 { | 3816 { |
3817 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); | 3817 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); |
3818 TestObjectV8Internal::locationReplaceableAttributeGetter(info); | 3818 TestObjectV8Internal::locationReplaceableAttributeGetter(info); |
3819 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); | 3819 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); |
3820 } | 3820 } |
3821 | 3821 |
3822 static void locationReplaceableAttributeSetter(v8::Local<v8::Value> v8Value, con
st v8::PropertyCallbackInfo<void>& info) | 3822 static void locationReplaceableAttributeSetter(v8::Local<v8::Value> v8Value, con
st v8::PropertyCallbackInfo<void>& info) |
3823 { | 3823 { |
3824 v8::Handle<v8::Object> holder = info.Holder(); | 3824 v8::Handle<v8::Object> holder = info.Holder(); |
3825 TestObject* proxyImpl = V8TestObject::toNative(holder); | 3825 TestObject* proxyImpl = V8TestObject::toNative(holder); |
3826 RefPtr<TestNode> impl = WTF::getPtr(proxyImpl->locationReplaceable()); | 3826 RefPtrWillBeRawPtr<TestNode> impl = WTF::getPtr(proxyImpl->locationReplaceab
le()); |
3827 if (!impl) | 3827 if (!impl) |
3828 return; | 3828 return; |
3829 TOSTRING_VOID(V8StringResource<>, cppValue, v8Value); | 3829 TOSTRING_VOID(V8StringResource<>, cppValue, v8Value); |
3830 impl->setHref(cppValue); | 3830 impl->setHref(cppValue); |
3831 } | 3831 } |
3832 | 3832 |
3833 static void locationReplaceableAttributeSetterCallback(v8::Local<v8::String>, v8
::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info) | 3833 static void locationReplaceableAttributeSetterCallback(v8::Local<v8::String>, v8
::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info) |
3834 { | 3834 { |
3835 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter"); | 3835 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter"); |
3836 TestObjectV8Internal::locationReplaceableAttributeSetter(v8Value, info); | 3836 TestObjectV8Internal::locationReplaceableAttributeSetter(v8Value, info); |
(...skipping 5512 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
9349 fromInternalPointer(object)->deref(); | 9349 fromInternalPointer(object)->deref(); |
9350 } | 9350 } |
9351 | 9351 |
9352 template<> | 9352 template<> |
9353 v8::Handle<v8::Value> toV8NoInline(TestObject* impl, v8::Handle<v8::Object> crea
tionContext, v8::Isolate* isolate) | 9353 v8::Handle<v8::Value> toV8NoInline(TestObject* impl, v8::Handle<v8::Object> crea
tionContext, v8::Isolate* isolate) |
9354 { | 9354 { |
9355 return toV8(impl, creationContext, isolate); | 9355 return toV8(impl, creationContext, isolate); |
9356 } | 9356 } |
9357 | 9357 |
9358 } // namespace WebCore | 9358 } // namespace WebCore |
OLD | NEW |