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 6646 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6657 impl->voidMethodOptionalDictionaryArg(optionalDictionaryArg); | 6657 impl->voidMethodOptionalDictionaryArg(optionalDictionaryArg); |
6658 } | 6658 } |
6659 | 6659 |
6660 static void voidMethodOptionalDictionaryArgMethodCallback(const v8::FunctionCall
backInfo<v8::Value>& info) | 6660 static void voidMethodOptionalDictionaryArgMethodCallback(const v8::FunctionCall
backInfo<v8::Value>& info) |
6661 { | 6661 { |
6662 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod"); | 6662 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod"); |
6663 TestObjectV8Internal::voidMethodOptionalDictionaryArgMethod(info); | 6663 TestObjectV8Internal::voidMethodOptionalDictionaryArgMethod(info); |
6664 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); | 6664 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); |
6665 } | 6665 } |
6666 | 6666 |
| 6667 static void voidMethodDefaultStringArgMethod(const v8::FunctionCallbackInfo<v8::
Value>& info) |
| 6668 { |
| 6669 TestObject* impl = V8TestObject::toNative(info.Holder()); |
| 6670 V8StringResource<> defaultStringArg; |
| 6671 { |
| 6672 TOSTRING_VOID_INTERNAL(defaultStringArg, info[0]); |
| 6673 } |
| 6674 impl->voidMethodDefaultStringArg(defaultStringArg); |
| 6675 } |
| 6676 |
| 6677 static void voidMethodDefaultStringArgMethodCallback(const v8::FunctionCallbackI
nfo<v8::Value>& info) |
| 6678 { |
| 6679 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod"); |
| 6680 TestObjectV8Internal::voidMethodDefaultStringArgMethod(info); |
| 6681 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); |
| 6682 } |
| 6683 |
| 6684 static void voidMethodDefaultNullStringArgMethod(const v8::FunctionCallbackInfo<
v8::Value>& info) |
| 6685 { |
| 6686 TestObject* impl = V8TestObject::toNative(info.Holder()); |
| 6687 V8StringResource<> defaultStringArg; |
| 6688 { |
| 6689 TOSTRING_VOID_INTERNAL(defaultStringArg, argumentOrNull(info, 0)); |
| 6690 } |
| 6691 impl->voidMethodDefaultNullStringArg(defaultStringArg); |
| 6692 } |
| 6693 |
| 6694 static void voidMethodDefaultNullStringArgMethodCallback(const v8::FunctionCallb
ackInfo<v8::Value>& info) |
| 6695 { |
| 6696 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod"); |
| 6697 TestObjectV8Internal::voidMethodDefaultNullStringArgMethod(info); |
| 6698 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); |
| 6699 } |
| 6700 |
| 6701 static void voidMethodDefaultLongArgMethod(const v8::FunctionCallbackInfo<v8::Va
lue>& info) |
| 6702 { |
| 6703 ExceptionState exceptionState(ExceptionState::ExecutionContext, "voidMethodD
efaultLongArg", "TestObject", info.Holder(), info.GetIsolate()); |
| 6704 TestObject* impl = V8TestObject::toNative(info.Holder()); |
| 6705 int defaultLongArg; |
| 6706 { |
| 6707 v8::TryCatch block; |
| 6708 V8RethrowTryCatchScope rethrow(block); |
| 6709 TONATIVE_VOID_EXCEPTIONSTATE_INTERNAL(defaultLongArg, toInt32(info[0], e
xceptionState), exceptionState); |
| 6710 } |
| 6711 impl->voidMethodDefaultLongArg(defaultLongArg); |
| 6712 } |
| 6713 |
| 6714 static void voidMethodDefaultLongArgMethodCallback(const v8::FunctionCallbackInf
o<v8::Value>& info) |
| 6715 { |
| 6716 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod"); |
| 6717 TestObjectV8Internal::voidMethodDefaultLongArgMethod(info); |
| 6718 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); |
| 6719 } |
| 6720 |
| 6721 static void voidMethodDefaultDoubleArgMethod(const v8::FunctionCallbackInfo<v8::
Value>& info) |
| 6722 { |
| 6723 TestObject* impl = V8TestObject::toNative(info.Holder()); |
| 6724 double defaultDoubleArg; |
| 6725 { |
| 6726 v8::TryCatch block; |
| 6727 V8RethrowTryCatchScope rethrow(block); |
| 6728 TONATIVE_VOID_INTERNAL(defaultDoubleArg, static_cast<double>(info[0]->Nu
mberValue())); |
| 6729 } |
| 6730 impl->voidMethodDefaultDoubleArg(defaultDoubleArg); |
| 6731 } |
| 6732 |
| 6733 static void voidMethodDefaultDoubleArgMethodCallback(const v8::FunctionCallbackI
nfo<v8::Value>& info) |
| 6734 { |
| 6735 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod"); |
| 6736 TestObjectV8Internal::voidMethodDefaultDoubleArgMethod(info); |
| 6737 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); |
| 6738 } |
| 6739 |
| 6740 static void voidMethodDefaultTrueBooleanArgMethod(const v8::FunctionCallbackInfo
<v8::Value>& info) |
| 6741 { |
| 6742 TestObject* impl = V8TestObject::toNative(info.Holder()); |
| 6743 bool defaultBooleanArg; |
| 6744 { |
| 6745 v8::TryCatch block; |
| 6746 V8RethrowTryCatchScope rethrow(block); |
| 6747 TONATIVE_VOID_INTERNAL(defaultBooleanArg, info[0]->BooleanValue()); |
| 6748 } |
| 6749 impl->voidMethodDefaultTrueBooleanArg(defaultBooleanArg); |
| 6750 } |
| 6751 |
| 6752 static void voidMethodDefaultTrueBooleanArgMethodCallback(const v8::FunctionCall
backInfo<v8::Value>& info) |
| 6753 { |
| 6754 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod"); |
| 6755 TestObjectV8Internal::voidMethodDefaultTrueBooleanArgMethod(info); |
| 6756 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); |
| 6757 } |
| 6758 |
| 6759 static void voidMethodDefaultFalseBooleanArgMethod(const v8::FunctionCallbackInf
o<v8::Value>& info) |
| 6760 { |
| 6761 TestObject* impl = V8TestObject::toNative(info.Holder()); |
| 6762 bool defaultBooleanArg; |
| 6763 { |
| 6764 v8::TryCatch block; |
| 6765 V8RethrowTryCatchScope rethrow(block); |
| 6766 TONATIVE_VOID_INTERNAL(defaultBooleanArg, info[0]->BooleanValue()); |
| 6767 } |
| 6768 impl->voidMethodDefaultFalseBooleanArg(defaultBooleanArg); |
| 6769 } |
| 6770 |
| 6771 static void voidMethodDefaultFalseBooleanArgMethodCallback(const v8::FunctionCal
lbackInfo<v8::Value>& info) |
| 6772 { |
| 6773 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod"); |
| 6774 TestObjectV8Internal::voidMethodDefaultFalseBooleanArgMethod(info); |
| 6775 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); |
| 6776 } |
| 6777 |
| 6778 static void voidMethodDefaultNullableStringArgMethod(const v8::FunctionCallbackI
nfo<v8::Value>& info) |
| 6779 { |
| 6780 TestObject* impl = V8TestObject::toNative(info.Holder()); |
| 6781 V8StringResource<> defaultStringArg; |
| 6782 { |
| 6783 TOSTRING_VOID_INTERNAL(defaultStringArg, info[0]); |
| 6784 } |
| 6785 impl->voidMethodDefaultNullableStringArg(defaultStringArg); |
| 6786 } |
| 6787 |
| 6788 static void voidMethodDefaultNullableStringArgMethodCallback(const v8::FunctionC
allbackInfo<v8::Value>& info) |
| 6789 { |
| 6790 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod"); |
| 6791 TestObjectV8Internal::voidMethodDefaultNullableStringArgMethod(info); |
| 6792 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); |
| 6793 } |
| 6794 |
| 6795 static void voidMethodDefaultNullableTestInterfaceArgMethod(const v8::FunctionCa
llbackInfo<v8::Value>& info) |
| 6796 { |
| 6797 TestObject* impl = V8TestObject::toNative(info.Holder()); |
| 6798 TestInterfaceImplementation* defaultTestInterfaceArg; |
| 6799 { |
| 6800 v8::TryCatch block; |
| 6801 V8RethrowTryCatchScope rethrow(block); |
| 6802 TONATIVE_VOID_INTERNAL(defaultTestInterfaceArg, V8TestInterface::toNativ
eWithTypeCheck(info.GetIsolate(), info[0])); |
| 6803 } |
| 6804 impl->voidMethodDefaultNullableTestInterfaceArg(defaultTestInterfaceArg); |
| 6805 } |
| 6806 |
| 6807 static void voidMethodDefaultNullableTestInterfaceArgMethodCallback(const v8::Fu
nctionCallbackInfo<v8::Value>& info) |
| 6808 { |
| 6809 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod"); |
| 6810 TestObjectV8Internal::voidMethodDefaultNullableTestInterfaceArgMethod(info); |
| 6811 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); |
| 6812 } |
| 6813 |
6667 static void voidMethodVariadicStringArgMethod(const v8::FunctionCallbackInfo<v8:
:Value>& info) | 6814 static void voidMethodVariadicStringArgMethod(const v8::FunctionCallbackInfo<v8:
:Value>& info) |
6668 { | 6815 { |
6669 TestObject* impl = V8TestObject::toNative(info.Holder()); | 6816 TestObject* impl = V8TestObject::toNative(info.Holder()); |
6670 Vector<String> variadicStringArgs; | 6817 Vector<String> variadicStringArgs; |
6671 { | 6818 { |
6672 v8::TryCatch block; | 6819 v8::TryCatch block; |
6673 V8RethrowTryCatchScope rethrow(block); | 6820 V8RethrowTryCatchScope rethrow(block); |
6674 TONATIVE_VOID_INTERNAL(variadicStringArgs, toNativeArguments<String>(inf
o, 0)); | 6821 TONATIVE_VOID_INTERNAL(variadicStringArgs, toNativeArguments<String>(inf
o, 0)); |
6675 } | 6822 } |
6676 impl->voidMethodVariadicStringArg(variadicStringArgs); | 6823 impl->voidMethodVariadicStringArg(variadicStringArgs); |
(...skipping 531 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7208 TONATIVE_VOID_INTERNAL(testInterfaceEmptyOrNullArg, V8TestInterfaceEmpty
::toNativeWithTypeCheck(info.GetIsolate(), info[0])); | 7355 TONATIVE_VOID_INTERNAL(testInterfaceEmptyOrNullArg, V8TestInterfaceEmpty
::toNativeWithTypeCheck(info.GetIsolate(), info[0])); |
7209 } | 7356 } |
7210 impl->overloadedMethodG(testInterfaceEmptyOrNullArg); | 7357 impl->overloadedMethodG(testInterfaceEmptyOrNullArg); |
7211 } | 7358 } |
7212 | 7359 |
7213 static void overloadedMethodGMethod(const v8::FunctionCallbackInfo<v8::Value>& i
nfo) | 7360 static void overloadedMethodGMethod(const v8::FunctionCallbackInfo<v8::Value>& i
nfo) |
7214 { | 7361 { |
7215 v8::Isolate* isolate = info.GetIsolate(); | 7362 v8::Isolate* isolate = info.GetIsolate(); |
7216 ExceptionState exceptionState(ExceptionState::ExecutionContext, "overloadedM
ethodG", "TestObject", info.Holder(), isolate); | 7363 ExceptionState exceptionState(ExceptionState::ExecutionContext, "overloadedM
ethodG", "TestObject", info.Holder(), isolate); |
7217 switch (std::min(1, info.Length())) { | 7364 switch (std::min(1, info.Length())) { |
| 7365 case 0: |
| 7366 if (true) { |
| 7367 overloadedMethodG2Method(info); |
| 7368 return; |
| 7369 } |
| 7370 break; |
7218 case 1: | 7371 case 1: |
| 7372 if (info[0]->IsUndefined()) { |
| 7373 overloadedMethodG2Method(info); |
| 7374 return; |
| 7375 } |
7219 if (isUndefinedOrNull(info[0])) { | 7376 if (isUndefinedOrNull(info[0])) { |
7220 overloadedMethodG2Method(info); | 7377 overloadedMethodG2Method(info); |
7221 return; | 7378 return; |
7222 } | 7379 } |
7223 if (V8TestInterfaceEmpty::hasInstance(info[0], isolate)) { | 7380 if (V8TestInterfaceEmpty::hasInstance(info[0], isolate)) { |
7224 overloadedMethodG2Method(info); | 7381 overloadedMethodG2Method(info); |
7225 return; | 7382 return; |
7226 } | 7383 } |
7227 if (true) { | 7384 if (true) { |
7228 overloadedMethodG1Method(info); | 7385 overloadedMethodG1Method(info); |
7229 return; | 7386 return; |
7230 } | 7387 } |
7231 break; | 7388 break; |
7232 default: | 7389 default: |
7233 exceptionState.throwTypeError(ExceptionMessages::notEnoughArguments(1, i
nfo.Length())); | 7390 exceptionState.throwTypeError(ExceptionMessages::notEnoughArguments(0, i
nfo.Length())); |
7234 exceptionState.throwIfNeeded(); | 7391 exceptionState.throwIfNeeded(); |
7235 return; | 7392 return; |
7236 } | 7393 } |
7237 exceptionState.throwTypeError("No function was found that matched the signat
ure provided."); | 7394 exceptionState.throwTypeError("No function was found that matched the signat
ure provided."); |
7238 exceptionState.throwIfNeeded(); | 7395 exceptionState.throwIfNeeded(); |
7239 } | 7396 } |
7240 | 7397 |
7241 static void overloadedMethodGMethodCallback(const v8::FunctionCallbackInfo<v8::V
alue>& info) | 7398 static void overloadedMethodGMethodCallback(const v8::FunctionCallbackInfo<v8::V
alue>& info) |
7242 { | 7399 { |
7243 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod"); | 7400 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod"); |
(...skipping 379 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7623 impl->voidMethodDefaultUndefinedStringArg(defaultUndefinedStringArg); | 7780 impl->voidMethodDefaultUndefinedStringArg(defaultUndefinedStringArg); |
7624 } | 7781 } |
7625 | 7782 |
7626 static void voidMethodDefaultUndefinedStringArgMethodCallback(const v8::Function
CallbackInfo<v8::Value>& info) | 7783 static void voidMethodDefaultUndefinedStringArgMethodCallback(const v8::Function
CallbackInfo<v8::Value>& info) |
7627 { | 7784 { |
7628 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod"); | 7785 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod"); |
7629 TestObjectV8Internal::voidMethodDefaultUndefinedStringArgMethod(info); | 7786 TestObjectV8Internal::voidMethodDefaultUndefinedStringArgMethod(info); |
7630 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); | 7787 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); |
7631 } | 7788 } |
7632 | 7789 |
7633 static void voidMethodDefaultNullStringStringArgMethod(const v8::FunctionCallbac
kInfo<v8::Value>& info) | |
7634 { | |
7635 TestObject* impl = V8TestObject::toNative(info.Holder()); | |
7636 V8StringResource<> defaultNullStringStringArg; | |
7637 { | |
7638 TOSTRING_VOID_INTERNAL(defaultNullStringStringArg, argumentOrNull(info,
0)); | |
7639 } | |
7640 impl->voidMethodDefaultNullStringStringArg(defaultNullStringStringArg); | |
7641 } | |
7642 | |
7643 static void voidMethodDefaultNullStringStringArgMethodCallback(const v8::Functio
nCallbackInfo<v8::Value>& info) | |
7644 { | |
7645 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod"); | |
7646 TestObjectV8Internal::voidMethodDefaultNullStringStringArgMethod(info); | |
7647 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); | |
7648 } | |
7649 | |
7650 static void voidMethodEnforceRangeLongArgMethod(const v8::FunctionCallbackInfo<v
8::Value>& info) | 7790 static void voidMethodEnforceRangeLongArgMethod(const v8::FunctionCallbackInfo<v
8::Value>& info) |
7651 { | 7791 { |
7652 ExceptionState exceptionState(ExceptionState::ExecutionContext, "voidMethodE
nforceRangeLongArg", "TestObject", info.Holder(), info.GetIsolate()); | 7792 ExceptionState exceptionState(ExceptionState::ExecutionContext, "voidMethodE
nforceRangeLongArg", "TestObject", info.Holder(), info.GetIsolate()); |
7653 if (UNLIKELY(info.Length() < 1)) { | 7793 if (UNLIKELY(info.Length() < 1)) { |
7654 throwMinimumArityTypeError(exceptionState, 1, info.Length()); | 7794 throwMinimumArityTypeError(exceptionState, 1, info.Length()); |
7655 return; | 7795 return; |
7656 } | 7796 } |
7657 TestObject* impl = V8TestObject::toNative(info.Holder()); | 7797 TestObject* impl = V8TestObject::toNative(info.Holder()); |
7658 int enforceRangeLongArg; | 7798 int enforceRangeLongArg; |
7659 { | 7799 { |
(...skipping 1765 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
9425 {"voidMethodOptionalTestInterfaceEmptyArg", TestObjectV8Internal::voidMethod
OptionalTestInterfaceEmptyArgMethodCallback, 0, 0}, | 9565 {"voidMethodOptionalTestInterfaceEmptyArg", TestObjectV8Internal::voidMethod
OptionalTestInterfaceEmptyArgMethodCallback, 0, 0}, |
9426 {"voidMethodOptionalLongArg", TestObjectV8Internal::voidMethodOptionalLongAr
gMethodCallback, 0, 0}, | 9566 {"voidMethodOptionalLongArg", TestObjectV8Internal::voidMethodOptionalLongAr
gMethodCallback, 0, 0}, |
9427 {"stringMethodOptionalLongArg", TestObjectV8Internal::stringMethodOptionalLo
ngArgMethodCallback, 0, 0}, | 9567 {"stringMethodOptionalLongArg", TestObjectV8Internal::stringMethodOptionalLo
ngArgMethodCallback, 0, 0}, |
9428 {"testInterfaceEmptyMethodOptionalLongArg", TestObjectV8Internal::testInterf
aceEmptyMethodOptionalLongArgMethodCallback, 0, 0}, | 9568 {"testInterfaceEmptyMethodOptionalLongArg", TestObjectV8Internal::testInterf
aceEmptyMethodOptionalLongArgMethodCallback, 0, 0}, |
9429 {"longMethodOptionalLongArg", TestObjectV8Internal::longMethodOptionalLongAr
gMethodCallback, 0, 0}, | 9569 {"longMethodOptionalLongArg", TestObjectV8Internal::longMethodOptionalLongAr
gMethodCallback, 0, 0}, |
9430 {"voidMethodLongArgOptionalLongArg", TestObjectV8Internal::voidMethodLongArg
OptionalLongArgMethodCallback, 0, 1}, | 9570 {"voidMethodLongArgOptionalLongArg", TestObjectV8Internal::voidMethodLongArg
OptionalLongArgMethodCallback, 0, 1}, |
9431 {"voidMethodLongArgOptionalLongArgOptionalLongArg", TestObjectV8Internal::vo
idMethodLongArgOptionalLongArgOptionalLongArgMethodCallback, 0, 1}, | 9571 {"voidMethodLongArgOptionalLongArgOptionalLongArg", TestObjectV8Internal::vo
idMethodLongArgOptionalLongArgOptionalLongArgMethodCallback, 0, 1}, |
9432 {"voidMethodLongArgOptionalTestInterfaceEmptyArg", TestObjectV8Internal::voi
dMethodLongArgOptionalTestInterfaceEmptyArgMethodCallback, 0, 1}, | 9572 {"voidMethodLongArgOptionalTestInterfaceEmptyArg", TestObjectV8Internal::voi
dMethodLongArgOptionalTestInterfaceEmptyArgMethodCallback, 0, 1}, |
9433 {"voidMethodTestInterfaceEmptyArgOptionalLongArg", TestObjectV8Internal::voi
dMethodTestInterfaceEmptyArgOptionalLongArgMethodCallback, 0, 1}, | 9573 {"voidMethodTestInterfaceEmptyArgOptionalLongArg", TestObjectV8Internal::voi
dMethodTestInterfaceEmptyArgOptionalLongArgMethodCallback, 0, 1}, |
9434 {"voidMethodOptionalDictionaryArg", TestObjectV8Internal::voidMethodOptional
DictionaryArgMethodCallback, 0, 0}, | 9574 {"voidMethodOptionalDictionaryArg", TestObjectV8Internal::voidMethodOptional
DictionaryArgMethodCallback, 0, 0}, |
| 9575 {"voidMethodDefaultStringArg", TestObjectV8Internal::voidMethodDefaultString
ArgMethodCallback, 0, 0}, |
| 9576 {"voidMethodDefaultNullStringArg", TestObjectV8Internal::voidMethodDefaultNu
llStringArgMethodCallback, 0, 0}, |
| 9577 {"voidMethodDefaultLongArg", TestObjectV8Internal::voidMethodDefaultLongArgM
ethodCallback, 0, 0}, |
| 9578 {"voidMethodDefaultDoubleArg", TestObjectV8Internal::voidMethodDefaultDouble
ArgMethodCallback, 0, 0}, |
| 9579 {"voidMethodDefaultTrueBooleanArg", TestObjectV8Internal::voidMethodDefaultT
rueBooleanArgMethodCallback, 0, 0}, |
| 9580 {"voidMethodDefaultFalseBooleanArg", TestObjectV8Internal::voidMethodDefault
FalseBooleanArgMethodCallback, 0, 0}, |
| 9581 {"voidMethodDefaultNullableStringArg", TestObjectV8Internal::voidMethodDefau
ltNullableStringArgMethodCallback, 0, 0}, |
| 9582 {"voidMethodDefaultNullableTestInterfaceArg", TestObjectV8Internal::voidMeth
odDefaultNullableTestInterfaceArgMethodCallback, 0, 0}, |
9435 {"voidMethodVariadicStringArg", TestObjectV8Internal::voidMethodVariadicStri
ngArgMethodCallback, 0, 0}, | 9583 {"voidMethodVariadicStringArg", TestObjectV8Internal::voidMethodVariadicStri
ngArgMethodCallback, 0, 0}, |
9436 {"voidMethodStringArgVariadicStringArg", TestObjectV8Internal::voidMethodStr
ingArgVariadicStringArgMethodCallback, 0, 1}, | 9584 {"voidMethodStringArgVariadicStringArg", TestObjectV8Internal::voidMethodStr
ingArgVariadicStringArgMethodCallback, 0, 1}, |
9437 {"voidMethodVariadicTestInterfaceEmptyArg", TestObjectV8Internal::voidMethod
VariadicTestInterfaceEmptyArgMethodCallback, 0, 0}, | 9585 {"voidMethodVariadicTestInterfaceEmptyArg", TestObjectV8Internal::voidMethod
VariadicTestInterfaceEmptyArgMethodCallback, 0, 0}, |
9438 {"voidMethodTestInterfaceEmptyArgVariadicTestInterfaceEmptyArg", TestObjectV
8Internal::voidMethodTestInterfaceEmptyArgVariadicTestInterfaceEmptyArgMethodCal
lback, 0, 1}, | 9586 {"voidMethodTestInterfaceEmptyArgVariadicTestInterfaceEmptyArg", TestObjectV
8Internal::voidMethodTestInterfaceEmptyArgVariadicTestInterfaceEmptyArgMethodCal
lback, 0, 1}, |
9439 {"voidMethodVariadicTestInterfaceGarbageCollectedArg", TestObjectV8Internal:
:voidMethodVariadicTestInterfaceGarbageCollectedArgMethodCallback, 0, 0}, | 9587 {"voidMethodVariadicTestInterfaceGarbageCollectedArg", TestObjectV8Internal:
:voidMethodVariadicTestInterfaceGarbageCollectedArgMethodCallback, 0, 0}, |
9440 {"voidMethodVariadicTestInterfaceWillBeGarbageCollectedArg", TestObjectV8Int
ernal::voidMethodVariadicTestInterfaceWillBeGarbageCollectedArgMethodCallback, 0
, 0}, | 9588 {"voidMethodVariadicTestInterfaceWillBeGarbageCollectedArg", TestObjectV8Int
ernal::voidMethodVariadicTestInterfaceWillBeGarbageCollectedArgMethodCallback, 0
, 0}, |
9441 {"overloadedMethodA", TestObjectV8Internal::overloadedMethodAMethodCallback,
0, 1}, | 9589 {"overloadedMethodA", TestObjectV8Internal::overloadedMethodAMethodCallback,
0, 1}, |
9442 {"overloadedMethodB", TestObjectV8Internal::overloadedMethodBMethodCallback,
0, 1}, | 9590 {"overloadedMethodB", TestObjectV8Internal::overloadedMethodBMethodCallback,
0, 1}, |
9443 {"overloadedMethodC", TestObjectV8Internal::overloadedMethodCMethodCallback,
0, 1}, | 9591 {"overloadedMethodC", TestObjectV8Internal::overloadedMethodCMethodCallback,
0, 1}, |
9444 {"overloadedMethodD", TestObjectV8Internal::overloadedMethodDMethodCallback,
0, 1}, | 9592 {"overloadedMethodD", TestObjectV8Internal::overloadedMethodDMethodCallback,
0, 1}, |
9445 {"overloadedMethodE", TestObjectV8Internal::overloadedMethodEMethodCallback,
0, 1}, | 9593 {"overloadedMethodE", TestObjectV8Internal::overloadedMethodEMethodCallback,
0, 1}, |
9446 {"overloadedMethodF", TestObjectV8Internal::overloadedMethodFMethodCallback,
0, 0}, | 9594 {"overloadedMethodF", TestObjectV8Internal::overloadedMethodFMethodCallback,
0, 0}, |
9447 {"overloadedMethodG", TestObjectV8Internal::overloadedMethodGMethodCallback,
0, 1}, | 9595 {"overloadedMethodG", TestObjectV8Internal::overloadedMethodGMethodCallback,
0, 0}, |
9448 {"overloadedMethodH", TestObjectV8Internal::overloadedMethodHMethodCallback,
0, 1}, | 9596 {"overloadedMethodH", TestObjectV8Internal::overloadedMethodHMethodCallback,
0, 1}, |
9449 {"overloadedMethodI", TestObjectV8Internal::overloadedMethodIMethodCallback,
0, 1}, | 9597 {"overloadedMethodI", TestObjectV8Internal::overloadedMethodIMethodCallback,
0, 1}, |
9450 {"overloadedPerWorldBindingsMethod", TestObjectV8Internal::overloadedPerWorl
dBindingsMethodMethodCallback, TestObjectV8Internal::overloadedPerWorldBindingsM
ethodMethodCallbackForMainWorld, 0}, | 9598 {"overloadedPerWorldBindingsMethod", TestObjectV8Internal::overloadedPerWorl
dBindingsMethodMethodCallback, TestObjectV8Internal::overloadedPerWorldBindingsM
ethodMethodCallbackForMainWorld, 0}, |
9451 {"voidMethodClampUnsignedShortArg", TestObjectV8Internal::voidMethodClampUns
ignedShortArgMethodCallback, 0, 1}, | 9599 {"voidMethodClampUnsignedShortArg", TestObjectV8Internal::voidMethodClampUns
ignedShortArgMethodCallback, 0, 1}, |
9452 {"voidMethodClampUnsignedLongArg", TestObjectV8Internal::voidMethodClampUnsi
gnedLongArgMethodCallback, 0, 1}, | 9600 {"voidMethodClampUnsignedLongArg", TestObjectV8Internal::voidMethodClampUnsi
gnedLongArgMethodCallback, 0, 1}, |
9453 {"voidMethodDefaultUndefinedTestInterfaceEmptyArg", TestObjectV8Internal::vo
idMethodDefaultUndefinedTestInterfaceEmptyArgMethodCallback, 0, 0}, | 9601 {"voidMethodDefaultUndefinedTestInterfaceEmptyArg", TestObjectV8Internal::vo
idMethodDefaultUndefinedTestInterfaceEmptyArgMethodCallback, 0, 0}, |
9454 {"voidMethodDefaultUndefinedLongArg", TestObjectV8Internal::voidMethodDefaul
tUndefinedLongArgMethodCallback, 0, 0}, | 9602 {"voidMethodDefaultUndefinedLongArg", TestObjectV8Internal::voidMethodDefaul
tUndefinedLongArgMethodCallback, 0, 0}, |
9455 {"voidMethodDefaultUndefinedStringArg", TestObjectV8Internal::voidMethodDefa
ultUndefinedStringArgMethodCallback, 0, 0}, | 9603 {"voidMethodDefaultUndefinedStringArg", TestObjectV8Internal::voidMethodDefa
ultUndefinedStringArgMethodCallback, 0, 0}, |
9456 {"voidMethodDefaultNullStringStringArg", TestObjectV8Internal::voidMethodDef
aultNullStringStringArgMethodCallback, 0, 0}, | |
9457 {"voidMethodEnforceRangeLongArg", TestObjectV8Internal::voidMethodEnforceRan
geLongArgMethodCallback, 0, 1}, | 9604 {"voidMethodEnforceRangeLongArg", TestObjectV8Internal::voidMethodEnforceRan
geLongArgMethodCallback, 0, 1}, |
9458 {"voidMethodTreatNullAsNullStringStringArg", TestObjectV8Internal::voidMetho
dTreatNullAsNullStringStringArgMethodCallback, 0, 1}, | 9605 {"voidMethodTreatNullAsNullStringStringArg", TestObjectV8Internal::voidMetho
dTreatNullAsNullStringStringArgMethodCallback, 0, 1}, |
9459 {"voidMethodTreatNullAsNullStringTreatUndefinedAsNullStringStringArg", TestO
bjectV8Internal::voidMethodTreatNullAsNullStringTreatUndefinedAsNullStringString
ArgMethodCallback, 0, 1}, | 9606 {"voidMethodTreatNullAsNullStringTreatUndefinedAsNullStringStringArg", TestO
bjectV8Internal::voidMethodTreatNullAsNullStringTreatUndefinedAsNullStringString
ArgMethodCallback, 0, 1}, |
9460 {"activityLoggingAccessForAllWorldsMethod", TestObjectV8Internal::activityLo
ggingAccessForAllWorldsMethodMethodCallback, 0, 0}, | 9607 {"activityLoggingAccessForAllWorldsMethod", TestObjectV8Internal::activityLo
ggingAccessForAllWorldsMethodMethodCallback, 0, 0}, |
9461 {"callWithExecutionContextVoidMethod", TestObjectV8Internal::callWithExecuti
onContextVoidMethodMethodCallback, 0, 0}, | 9608 {"callWithExecutionContextVoidMethod", TestObjectV8Internal::callWithExecuti
onContextVoidMethodMethodCallback, 0, 0}, |
9462 {"callWithScriptStateVoidMethod", TestObjectV8Internal::callWithScriptStateV
oidMethodMethodCallback, 0, 0}, | 9609 {"callWithScriptStateVoidMethod", TestObjectV8Internal::callWithScriptStateV
oidMethodMethodCallback, 0, 0}, |
9463 {"callWithScriptStateLongMethod", TestObjectV8Internal::callWithScriptStateL
ongMethodMethodCallback, 0, 0}, | 9610 {"callWithScriptStateLongMethod", TestObjectV8Internal::callWithScriptStateL
ongMethodMethodCallback, 0, 0}, |
9464 {"callWithScriptStateExecutionContextVoidMethod", TestObjectV8Internal::call
WithScriptStateExecutionContextVoidMethodMethodCallback, 0, 0}, | 9611 {"callWithScriptStateExecutionContextVoidMethod", TestObjectV8Internal::call
WithScriptStateExecutionContextVoidMethodMethodCallback, 0, 0}, |
9465 {"callWithScriptStateScriptArgumentsVoidMethod", TestObjectV8Internal::callW
ithScriptStateScriptArgumentsVoidMethodMethodCallback, 0, 0}, | 9612 {"callWithScriptStateScriptArgumentsVoidMethod", TestObjectV8Internal::callW
ithScriptStateScriptArgumentsVoidMethodMethodCallback, 0, 0}, |
9466 {"callWithScriptStateScriptArgumentsVoidMethodOptionalBooleanArg", TestObjec
tV8Internal::callWithScriptStateScriptArgumentsVoidMethodOptionalBooleanArgMetho
dCallback, 0, 0}, | 9613 {"callWithScriptStateScriptArgumentsVoidMethodOptionalBooleanArg", TestObjec
tV8Internal::callWithScriptStateScriptArgumentsVoidMethodOptionalBooleanArgMetho
dCallback, 0, 0}, |
(...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
9684 fromInternalPointer(object)->deref(); | 9831 fromInternalPointer(object)->deref(); |
9685 } | 9832 } |
9686 | 9833 |
9687 template<> | 9834 template<> |
9688 v8::Handle<v8::Value> toV8NoInline(TestObject* impl, v8::Handle<v8::Object> crea
tionContext, v8::Isolate* isolate) | 9835 v8::Handle<v8::Value> toV8NoInline(TestObject* impl, v8::Handle<v8::Object> crea
tionContext, v8::Isolate* isolate) |
9689 { | 9836 { |
9690 return toV8(impl, creationContext, isolate); | 9837 return toV8(impl, creationContext, isolate); |
9691 } | 9838 } |
9692 | 9839 |
9693 } // namespace WebCore | 9840 } // namespace WebCore |
OLD | NEW |