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 7639 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7650 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); | 7650 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); |
7651 } | 7651 } |
7652 | 7652 |
7653 static void voidMethodTestInterfaceWillBeGarbageCollectedSequenceArgMethod(const
v8::FunctionCallbackInfo<v8::Value>& info) | 7653 static void voidMethodTestInterfaceWillBeGarbageCollectedSequenceArgMethod(const
v8::FunctionCallbackInfo<v8::Value>& info) |
7654 { | 7654 { |
7655 if (UNLIKELY(info.Length() < 1)) { | 7655 if (UNLIKELY(info.Length() < 1)) { |
7656 throwArityTypeErrorForMethod("voidMethodTestInterfaceWillBeGarbageCollec
tedSequenceArg", "TestObject", 1, info.Length(), info.GetIsolate()); | 7656 throwArityTypeErrorForMethod("voidMethodTestInterfaceWillBeGarbageCollec
tedSequenceArg", "TestObject", 1, info.Length(), info.GetIsolate()); |
7657 return; | 7657 return; |
7658 } | 7658 } |
7659 TestObject* impl = V8TestObject::toNative(info.Holder()); | 7659 TestObject* impl = V8TestObject::toNative(info.Holder()); |
7660 V8TRYCATCH_VOID(WillBeHeapVector<RefPtrWillBeMember<TestInterfaceWillBeGarba
geCollected> >, testInterfaceWillBeGarbageCollectedSequenceArg, (toMemberNativeA
rray<TestInterfaceWillBeGarbageCollected, V8TestInterfaceWillBeGarbageCollected>
(info[0], 1, info.GetIsolate()))); | 7660 V8TRYCATCH_VOID(WillBeHeapVector<RefPtrWillBeMember<TestInterfaceWillBeGarba
geCollected> >, testInterfaceWillBeGarbageCollectedSequenceArg, (toRefPtrWillBeM
emberNativeArray<TestInterfaceWillBeGarbageCollected, V8TestInterfaceWillBeGarba
geCollected>(info[0], 1, info.GetIsolate()))); |
7661 impl->voidMethodTestInterfaceWillBeGarbageCollectedSequenceArg(testInterface
WillBeGarbageCollectedSequenceArg); | 7661 impl->voidMethodTestInterfaceWillBeGarbageCollectedSequenceArg(testInterface
WillBeGarbageCollectedSequenceArg); |
7662 } | 7662 } |
7663 | 7663 |
7664 static void voidMethodTestInterfaceWillBeGarbageCollectedSequenceArgMethodCallba
ck(const v8::FunctionCallbackInfo<v8::Value>& info) | 7664 static void voidMethodTestInterfaceWillBeGarbageCollectedSequenceArgMethodCallba
ck(const v8::FunctionCallbackInfo<v8::Value>& info) |
7665 { | 7665 { |
7666 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod"); | 7666 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod"); |
7667 TestObjectV8Internal::voidMethodTestInterfaceWillBeGarbageCollectedSequenceA
rgMethod(info); | 7667 TestObjectV8Internal::voidMethodTestInterfaceWillBeGarbageCollectedSequenceA
rgMethod(info); |
7668 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); | 7668 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); |
7669 } | 7669 } |
7670 | 7670 |
7671 static void voidMethodTestInterfaceWillBeGarbageCollectedArrayArgMethod(const v8
::FunctionCallbackInfo<v8::Value>& info) | 7671 static void voidMethodTestInterfaceWillBeGarbageCollectedArrayArgMethod(const v8
::FunctionCallbackInfo<v8::Value>& info) |
7672 { | 7672 { |
7673 if (UNLIKELY(info.Length() < 1)) { | 7673 if (UNLIKELY(info.Length() < 1)) { |
7674 throwArityTypeErrorForMethod("voidMethodTestInterfaceWillBeGarbageCollec
tedArrayArg", "TestObject", 1, info.Length(), info.GetIsolate()); | 7674 throwArityTypeErrorForMethod("voidMethodTestInterfaceWillBeGarbageCollec
tedArrayArg", "TestObject", 1, info.Length(), info.GetIsolate()); |
7675 return; | 7675 return; |
7676 } | 7676 } |
7677 TestObject* impl = V8TestObject::toNative(info.Holder()); | 7677 TestObject* impl = V8TestObject::toNative(info.Holder()); |
7678 V8TRYCATCH_VOID(WillBeHeapVector<RefPtrWillBeMember<TestInterfaceWillBeGarba
geCollected> >, testInterfaceWillBeGarbageCollectedArrayArg, (toMemberNativeArra
y<TestInterfaceWillBeGarbageCollected, V8TestInterfaceWillBeGarbageCollected>(in
fo[0], 1, info.GetIsolate()))); | 7678 V8TRYCATCH_VOID(WillBeHeapVector<RefPtrWillBeMember<TestInterfaceWillBeGarba
geCollected> >, testInterfaceWillBeGarbageCollectedArrayArg, (toRefPtrWillBeMemb
erNativeArray<TestInterfaceWillBeGarbageCollected, V8TestInterfaceWillBeGarbageC
ollected>(info[0], 1, info.GetIsolate()))); |
7679 impl->voidMethodTestInterfaceWillBeGarbageCollectedArrayArg(testInterfaceWil
lBeGarbageCollectedArrayArg); | 7679 impl->voidMethodTestInterfaceWillBeGarbageCollectedArrayArg(testInterfaceWil
lBeGarbageCollectedArrayArg); |
7680 } | 7680 } |
7681 | 7681 |
7682 static void voidMethodTestInterfaceWillBeGarbageCollectedArrayArgMethodCallback(
const v8::FunctionCallbackInfo<v8::Value>& info) | 7682 static void voidMethodTestInterfaceWillBeGarbageCollectedArrayArgMethodCallback(
const v8::FunctionCallbackInfo<v8::Value>& info) |
7683 { | 7683 { |
7684 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod"); | 7684 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod"); |
7685 TestObjectV8Internal::voidMethodTestInterfaceWillBeGarbageCollectedArrayArgM
ethod(info); | 7685 TestObjectV8Internal::voidMethodTestInterfaceWillBeGarbageCollectedArrayArgM
ethod(info); |
7686 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); | 7686 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); |
7687 } | 7687 } |
7688 | 7688 |
(...skipping 487 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8176 fromInternalPointer(object)->deref(); | 8176 fromInternalPointer(object)->deref(); |
8177 } | 8177 } |
8178 | 8178 |
8179 template<> | 8179 template<> |
8180 v8::Handle<v8::Value> toV8NoInline(TestObject* impl, v8::Handle<v8::Object> crea
tionContext, v8::Isolate* isolate) | 8180 v8::Handle<v8::Value> toV8NoInline(TestObject* impl, v8::Handle<v8::Object> crea
tionContext, v8::Isolate* isolate) |
8181 { | 8181 { |
8182 return toV8(impl, creationContext, isolate); | 8182 return toV8(impl, creationContext, isolate); |
8183 } | 8183 } |
8184 | 8184 |
8185 } // namespace WebCore | 8185 } // namespace WebCore |
OLD | NEW |