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 6579 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6590 impl->voidMethodOptionalDictionaryArg(optionalDictionaryArg); | 6590 impl->voidMethodOptionalDictionaryArg(optionalDictionaryArg); |
6591 } | 6591 } |
6592 | 6592 |
6593 static void voidMethodOptionalDictionaryArgMethodCallback(const v8::FunctionCall
backInfo<v8::Value>& info) | 6593 static void voidMethodOptionalDictionaryArgMethodCallback(const v8::FunctionCall
backInfo<v8::Value>& info) |
6594 { | 6594 { |
6595 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod"); | 6595 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod"); |
6596 TestObjectV8Internal::voidMethodOptionalDictionaryArgMethod(info); | 6596 TestObjectV8Internal::voidMethodOptionalDictionaryArgMethod(info); |
6597 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); | 6597 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); |
6598 } | 6598 } |
6599 | 6599 |
| 6600 static void voidMethodDefaultStringArgMethod(const v8::FunctionCallbackInfo<v8::
Value>& info) |
| 6601 { |
| 6602 TestObject* impl = V8TestObject::toNative(info.Holder()); |
| 6603 V8StringResource<> defaultStringArg; |
| 6604 { |
| 6605 if (info.Length() > 0) { |
| 6606 TOSTRING_VOID_INTERNAL(defaultStringArg, info[0]); |
| 6607 } else { |
| 6608 defaultStringArg = String("foo"); |
| 6609 } |
| 6610 } |
| 6611 impl->voidMethodDefaultStringArg(defaultStringArg); |
| 6612 } |
| 6613 |
| 6614 static void voidMethodDefaultStringArgMethodCallback(const v8::FunctionCallbackI
nfo<v8::Value>& info) |
| 6615 { |
| 6616 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod"); |
| 6617 TestObjectV8Internal::voidMethodDefaultStringArgMethod(info); |
| 6618 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); |
| 6619 } |
| 6620 |
| 6621 static void voidMethodDefaultNullStringArgMethod(const v8::FunctionCallbackInfo<
v8::Value>& info) |
| 6622 { |
| 6623 TestObject* impl = V8TestObject::toNative(info.Holder()); |
| 6624 V8StringResource<> defaultStringArg; |
| 6625 { |
| 6626 if (info.Length() > 0) { |
| 6627 TOSTRING_VOID_INTERNAL(defaultStringArg, info[0]); |
| 6628 } else { |
| 6629 defaultStringArg = String(); |
| 6630 } |
| 6631 } |
| 6632 impl->voidMethodDefaultNullStringArg(defaultStringArg); |
| 6633 } |
| 6634 |
| 6635 static void voidMethodDefaultNullStringArgMethodCallback(const v8::FunctionCallb
ackInfo<v8::Value>& info) |
| 6636 { |
| 6637 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod"); |
| 6638 TestObjectV8Internal::voidMethodDefaultNullStringArgMethod(info); |
| 6639 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); |
| 6640 } |
| 6641 |
| 6642 static void voidMethodDefaultLongArgMethod(const v8::FunctionCallbackInfo<v8::Va
lue>& info) |
| 6643 { |
| 6644 ExceptionState exceptionState(ExceptionState::ExecutionContext, "voidMethodD
efaultLongArg", "TestObject", info.Holder(), info.GetIsolate()); |
| 6645 TestObject* impl = V8TestObject::toNative(info.Holder()); |
| 6646 int defaultLongArg; |
| 6647 { |
| 6648 v8::TryCatch block; |
| 6649 V8RethrowTryCatchScope rethrow(block); |
| 6650 if (info.Length() > 0) { |
| 6651 TONATIVE_VOID_EXCEPTIONSTATE_INTERNAL(defaultLongArg, toInt32(info[0
], exceptionState), exceptionState); |
| 6652 } else { |
| 6653 defaultLongArg = 10; |
| 6654 } |
| 6655 } |
| 6656 impl->voidMethodDefaultLongArg(defaultLongArg); |
| 6657 } |
| 6658 |
| 6659 static void voidMethodDefaultLongArgMethodCallback(const v8::FunctionCallbackInf
o<v8::Value>& info) |
| 6660 { |
| 6661 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod"); |
| 6662 TestObjectV8Internal::voidMethodDefaultLongArgMethod(info); |
| 6663 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); |
| 6664 } |
| 6665 |
| 6666 static void voidMethodDefaultDoubleArgMethod(const v8::FunctionCallbackInfo<v8::
Value>& info) |
| 6667 { |
| 6668 TestObject* impl = V8TestObject::toNative(info.Holder()); |
| 6669 double defaultDoubleArg; |
| 6670 { |
| 6671 v8::TryCatch block; |
| 6672 V8RethrowTryCatchScope rethrow(block); |
| 6673 if (info.Length() > 0) { |
| 6674 TONATIVE_VOID_INTERNAL(defaultDoubleArg, static_cast<double>(info[0]
->NumberValue())); |
| 6675 } else { |
| 6676 defaultDoubleArg = 0.5; |
| 6677 } |
| 6678 } |
| 6679 impl->voidMethodDefaultDoubleArg(defaultDoubleArg); |
| 6680 } |
| 6681 |
| 6682 static void voidMethodDefaultDoubleArgMethodCallback(const v8::FunctionCallbackI
nfo<v8::Value>& info) |
| 6683 { |
| 6684 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod"); |
| 6685 TestObjectV8Internal::voidMethodDefaultDoubleArgMethod(info); |
| 6686 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); |
| 6687 } |
| 6688 |
| 6689 static void voidMethodDefaultTrueBooleanArgMethod(const v8::FunctionCallbackInfo
<v8::Value>& info) |
| 6690 { |
| 6691 TestObject* impl = V8TestObject::toNative(info.Holder()); |
| 6692 bool defaultBooleanArg; |
| 6693 { |
| 6694 v8::TryCatch block; |
| 6695 V8RethrowTryCatchScope rethrow(block); |
| 6696 if (info.Length() > 0) { |
| 6697 TONATIVE_VOID_INTERNAL(defaultBooleanArg, info[0]->BooleanValue()); |
| 6698 } else { |
| 6699 defaultBooleanArg = true; |
| 6700 } |
| 6701 } |
| 6702 impl->voidMethodDefaultTrueBooleanArg(defaultBooleanArg); |
| 6703 } |
| 6704 |
| 6705 static void voidMethodDefaultTrueBooleanArgMethodCallback(const v8::FunctionCall
backInfo<v8::Value>& info) |
| 6706 { |
| 6707 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod"); |
| 6708 TestObjectV8Internal::voidMethodDefaultTrueBooleanArgMethod(info); |
| 6709 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); |
| 6710 } |
| 6711 |
| 6712 static void voidMethodDefaultFalseBooleanArgMethod(const v8::FunctionCallbackInf
o<v8::Value>& info) |
| 6713 { |
| 6714 TestObject* impl = V8TestObject::toNative(info.Holder()); |
| 6715 bool defaultBooleanArg; |
| 6716 { |
| 6717 v8::TryCatch block; |
| 6718 V8RethrowTryCatchScope rethrow(block); |
| 6719 if (info.Length() > 0) { |
| 6720 TONATIVE_VOID_INTERNAL(defaultBooleanArg, info[0]->BooleanValue()); |
| 6721 } else { |
| 6722 defaultBooleanArg = false; |
| 6723 } |
| 6724 } |
| 6725 impl->voidMethodDefaultFalseBooleanArg(defaultBooleanArg); |
| 6726 } |
| 6727 |
| 6728 static void voidMethodDefaultFalseBooleanArgMethodCallback(const v8::FunctionCal
lbackInfo<v8::Value>& info) |
| 6729 { |
| 6730 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod"); |
| 6731 TestObjectV8Internal::voidMethodDefaultFalseBooleanArgMethod(info); |
| 6732 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); |
| 6733 } |
| 6734 |
| 6735 static void voidMethodDefaultNullableStringArgMethod(const v8::FunctionCallbackI
nfo<v8::Value>& info) |
| 6736 { |
| 6737 TestObject* impl = V8TestObject::toNative(info.Holder()); |
| 6738 V8StringResource<> defaultStringArg; |
| 6739 { |
| 6740 if (info.Length() > 0) { |
| 6741 TOSTRING_VOID_INTERNAL(defaultStringArg, info[0]); |
| 6742 } else { |
| 6743 defaultStringArg = String(); |
| 6744 } |
| 6745 } |
| 6746 impl->voidMethodDefaultNullableStringArg(defaultStringArg); |
| 6747 } |
| 6748 |
| 6749 static void voidMethodDefaultNullableStringArgMethodCallback(const v8::FunctionC
allbackInfo<v8::Value>& info) |
| 6750 { |
| 6751 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod"); |
| 6752 TestObjectV8Internal::voidMethodDefaultNullableStringArgMethod(info); |
| 6753 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); |
| 6754 } |
| 6755 |
| 6756 static void voidMethodDefaultNullableTestInterfaceArgMethod(const v8::FunctionCa
llbackInfo<v8::Value>& info) |
| 6757 { |
| 6758 TestObject* impl = V8TestObject::toNative(info.Holder()); |
| 6759 TestInterfaceImplementation* defaultTestInterfaceArg; |
| 6760 { |
| 6761 v8::TryCatch block; |
| 6762 V8RethrowTryCatchScope rethrow(block); |
| 6763 if (info.Length() > 0) { |
| 6764 TONATIVE_VOID_INTERNAL(defaultTestInterfaceArg, V8TestInterface::toN
ativeWithTypeCheck(info.GetIsolate(), info[0])); |
| 6765 } else { |
| 6766 defaultTestInterfaceArg = nullptr; |
| 6767 } |
| 6768 } |
| 6769 impl->voidMethodDefaultNullableTestInterfaceArg(defaultTestInterfaceArg); |
| 6770 } |
| 6771 |
| 6772 static void voidMethodDefaultNullableTestInterfaceArgMethodCallback(const v8::Fu
nctionCallbackInfo<v8::Value>& info) |
| 6773 { |
| 6774 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod"); |
| 6775 TestObjectV8Internal::voidMethodDefaultNullableTestInterfaceArgMethod(info); |
| 6776 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); |
| 6777 } |
| 6778 |
6600 static void voidMethodVariadicStringArgMethod(const v8::FunctionCallbackInfo<v8:
:Value>& info) | 6779 static void voidMethodVariadicStringArgMethod(const v8::FunctionCallbackInfo<v8:
:Value>& info) |
6601 { | 6780 { |
6602 TestObject* impl = V8TestObject::toNative(info.Holder()); | 6781 TestObject* impl = V8TestObject::toNative(info.Holder()); |
6603 Vector<String> variadicStringArgs; | 6782 Vector<String> variadicStringArgs; |
6604 { | 6783 { |
6605 v8::TryCatch block; | 6784 v8::TryCatch block; |
6606 V8RethrowTryCatchScope rethrow(block); | 6785 V8RethrowTryCatchScope rethrow(block); |
6607 TONATIVE_VOID_INTERNAL(variadicStringArgs, toNativeArguments<String>(inf
o, 0)); | 6786 TONATIVE_VOID_INTERNAL(variadicStringArgs, toNativeArguments<String>(inf
o, 0)); |
6608 } | 6787 } |
6609 impl->voidMethodVariadicStringArg(variadicStringArgs); | 6788 impl->voidMethodVariadicStringArg(variadicStringArgs); |
(...skipping 513 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7123 impl->overloadedMethodG(longArg); | 7302 impl->overloadedMethodG(longArg); |
7124 } | 7303 } |
7125 | 7304 |
7126 static void overloadedMethodG2Method(const v8::FunctionCallbackInfo<v8::Value>&
info) | 7305 static void overloadedMethodG2Method(const v8::FunctionCallbackInfo<v8::Value>&
info) |
7127 { | 7306 { |
7128 TestObject* impl = V8TestObject::toNative(info.Holder()); | 7307 TestObject* impl = V8TestObject::toNative(info.Holder()); |
7129 TestInterfaceEmpty* testInterfaceEmptyOrNullArg; | 7308 TestInterfaceEmpty* testInterfaceEmptyOrNullArg; |
7130 { | 7309 { |
7131 v8::TryCatch block; | 7310 v8::TryCatch block; |
7132 V8RethrowTryCatchScope rethrow(block); | 7311 V8RethrowTryCatchScope rethrow(block); |
7133 TONATIVE_VOID_INTERNAL(testInterfaceEmptyOrNullArg, V8TestInterfaceEmpty
::toNativeWithTypeCheck(info.GetIsolate(), info[0])); | 7312 if (info.Length() > 0) { |
| 7313 TONATIVE_VOID_INTERNAL(testInterfaceEmptyOrNullArg, V8TestInterfaceE
mpty::toNativeWithTypeCheck(info.GetIsolate(), info[0])); |
| 7314 } else { |
| 7315 testInterfaceEmptyOrNullArg = nullptr; |
| 7316 } |
7134 } | 7317 } |
7135 impl->overloadedMethodG(testInterfaceEmptyOrNullArg); | 7318 impl->overloadedMethodG(testInterfaceEmptyOrNullArg); |
7136 } | 7319 } |
7137 | 7320 |
7138 static void overloadedMethodGMethod(const v8::FunctionCallbackInfo<v8::Value>& i
nfo) | 7321 static void overloadedMethodGMethod(const v8::FunctionCallbackInfo<v8::Value>& i
nfo) |
7139 { | 7322 { |
7140 v8::Isolate* isolate = info.GetIsolate(); | 7323 v8::Isolate* isolate = info.GetIsolate(); |
7141 ExceptionState exceptionState(ExceptionState::ExecutionContext, "overloadedM
ethodG", "TestObject", info.Holder(), isolate); | 7324 ExceptionState exceptionState(ExceptionState::ExecutionContext, "overloadedM
ethodG", "TestObject", info.Holder(), isolate); |
7142 switch (std::min(1, info.Length())) { | 7325 switch (std::min(1, info.Length())) { |
| 7326 case 0: |
| 7327 if (true) { |
| 7328 overloadedMethodG2Method(info); |
| 7329 return; |
| 7330 } |
| 7331 break; |
7143 case 1: | 7332 case 1: |
| 7333 if (info[0]->IsUndefined()) { |
| 7334 overloadedMethodG2Method(info); |
| 7335 return; |
| 7336 } |
7144 if (isUndefinedOrNull(info[0])) { | 7337 if (isUndefinedOrNull(info[0])) { |
7145 overloadedMethodG2Method(info); | 7338 overloadedMethodG2Method(info); |
7146 return; | 7339 return; |
7147 } | 7340 } |
7148 if (V8TestInterfaceEmpty::hasInstance(info[0], isolate)) { | 7341 if (V8TestInterfaceEmpty::hasInstance(info[0], isolate)) { |
7149 overloadedMethodG2Method(info); | 7342 overloadedMethodG2Method(info); |
7150 return; | 7343 return; |
7151 } | 7344 } |
7152 if (true) { | 7345 if (true) { |
7153 overloadedMethodG1Method(info); | 7346 overloadedMethodG1Method(info); |
7154 return; | 7347 return; |
7155 } | 7348 } |
7156 break; | 7349 break; |
7157 default: | 7350 default: |
7158 exceptionState.throwTypeError(ExceptionMessages::notEnoughArguments(1, i
nfo.Length())); | 7351 exceptionState.throwTypeError(ExceptionMessages::notEnoughArguments(0, i
nfo.Length())); |
7159 exceptionState.throwIfNeeded(); | 7352 exceptionState.throwIfNeeded(); |
7160 return; | 7353 return; |
7161 } | 7354 } |
7162 exceptionState.throwTypeError("No function was found that matched the signat
ure provided."); | 7355 exceptionState.throwTypeError("No function was found that matched the signat
ure provided."); |
7163 exceptionState.throwIfNeeded(); | 7356 exceptionState.throwIfNeeded(); |
7164 } | 7357 } |
7165 | 7358 |
7166 static void overloadedMethodGMethodCallback(const v8::FunctionCallbackInfo<v8::V
alue>& info) | 7359 static void overloadedMethodGMethodCallback(const v8::FunctionCallbackInfo<v8::V
alue>& info) |
7167 { | 7360 { |
7168 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod"); | 7361 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod"); |
(...skipping 375 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7544 impl->voidMethodDefaultUndefinedStringArg(defaultUndefinedStringArg); | 7737 impl->voidMethodDefaultUndefinedStringArg(defaultUndefinedStringArg); |
7545 } | 7738 } |
7546 | 7739 |
7547 static void voidMethodDefaultUndefinedStringArgMethodCallback(const v8::Function
CallbackInfo<v8::Value>& info) | 7740 static void voidMethodDefaultUndefinedStringArgMethodCallback(const v8::Function
CallbackInfo<v8::Value>& info) |
7548 { | 7741 { |
7549 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod"); | 7742 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod"); |
7550 TestObjectV8Internal::voidMethodDefaultUndefinedStringArgMethod(info); | 7743 TestObjectV8Internal::voidMethodDefaultUndefinedStringArgMethod(info); |
7551 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); | 7744 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); |
7552 } | 7745 } |
7553 | 7746 |
7554 static void voidMethodDefaultNullStringStringArgMethod(const v8::FunctionCallbac
kInfo<v8::Value>& info) | |
7555 { | |
7556 TestObject* impl = V8TestObject::toNative(info.Holder()); | |
7557 V8StringResource<> defaultNullStringStringArg; | |
7558 { | |
7559 TOSTRING_VOID_INTERNAL(defaultNullStringStringArg, argumentOrNull(info,
0)); | |
7560 } | |
7561 impl->voidMethodDefaultNullStringStringArg(defaultNullStringStringArg); | |
7562 } | |
7563 | |
7564 static void voidMethodDefaultNullStringStringArgMethodCallback(const v8::Functio
nCallbackInfo<v8::Value>& info) | |
7565 { | |
7566 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMMethod"); | |
7567 TestObjectV8Internal::voidMethodDefaultNullStringStringArgMethod(info); | |
7568 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); | |
7569 } | |
7570 | |
7571 static void voidMethodEnforceRangeLongArgMethod(const v8::FunctionCallbackInfo<v
8::Value>& info) | 7747 static void voidMethodEnforceRangeLongArgMethod(const v8::FunctionCallbackInfo<v
8::Value>& info) |
7572 { | 7748 { |
7573 ExceptionState exceptionState(ExceptionState::ExecutionContext, "voidMethodE
nforceRangeLongArg", "TestObject", info.Holder(), info.GetIsolate()); | 7749 ExceptionState exceptionState(ExceptionState::ExecutionContext, "voidMethodE
nforceRangeLongArg", "TestObject", info.Holder(), info.GetIsolate()); |
7574 if (UNLIKELY(info.Length() < 1)) { | 7750 if (UNLIKELY(info.Length() < 1)) { |
7575 throwMinimumArityTypeError(exceptionState, 1, info.Length()); | 7751 throwMinimumArityTypeError(exceptionState, 1, info.Length()); |
7576 return; | 7752 return; |
7577 } | 7753 } |
7578 TestObject* impl = V8TestObject::toNative(info.Holder()); | 7754 TestObject* impl = V8TestObject::toNative(info.Holder()); |
7579 int enforceRangeLongArg; | 7755 int enforceRangeLongArg; |
7580 { | 7756 { |
(...skipping 1626 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
9207 {"voidMethodOptionalTestInterfaceEmptyArg", TestObjectV8Internal::voidMethod
OptionalTestInterfaceEmptyArgMethodCallback, 0, 0}, | 9383 {"voidMethodOptionalTestInterfaceEmptyArg", TestObjectV8Internal::voidMethod
OptionalTestInterfaceEmptyArgMethodCallback, 0, 0}, |
9208 {"voidMethodOptionalLongArg", TestObjectV8Internal::voidMethodOptionalLongAr
gMethodCallback, 0, 0}, | 9384 {"voidMethodOptionalLongArg", TestObjectV8Internal::voidMethodOptionalLongAr
gMethodCallback, 0, 0}, |
9209 {"stringMethodOptionalLongArg", TestObjectV8Internal::stringMethodOptionalLo
ngArgMethodCallback, 0, 0}, | 9385 {"stringMethodOptionalLongArg", TestObjectV8Internal::stringMethodOptionalLo
ngArgMethodCallback, 0, 0}, |
9210 {"testInterfaceEmptyMethodOptionalLongArg", TestObjectV8Internal::testInterf
aceEmptyMethodOptionalLongArgMethodCallback, 0, 0}, | 9386 {"testInterfaceEmptyMethodOptionalLongArg", TestObjectV8Internal::testInterf
aceEmptyMethodOptionalLongArgMethodCallback, 0, 0}, |
9211 {"longMethodOptionalLongArg", TestObjectV8Internal::longMethodOptionalLongAr
gMethodCallback, 0, 0}, | 9387 {"longMethodOptionalLongArg", TestObjectV8Internal::longMethodOptionalLongAr
gMethodCallback, 0, 0}, |
9212 {"voidMethodLongArgOptionalLongArg", TestObjectV8Internal::voidMethodLongArg
OptionalLongArgMethodCallback, 0, 1}, | 9388 {"voidMethodLongArgOptionalLongArg", TestObjectV8Internal::voidMethodLongArg
OptionalLongArgMethodCallback, 0, 1}, |
9213 {"voidMethodLongArgOptionalLongArgOptionalLongArg", TestObjectV8Internal::vo
idMethodLongArgOptionalLongArgOptionalLongArgMethodCallback, 0, 1}, | 9389 {"voidMethodLongArgOptionalLongArgOptionalLongArg", TestObjectV8Internal::vo
idMethodLongArgOptionalLongArgOptionalLongArgMethodCallback, 0, 1}, |
9214 {"voidMethodLongArgOptionalTestInterfaceEmptyArg", TestObjectV8Internal::voi
dMethodLongArgOptionalTestInterfaceEmptyArgMethodCallback, 0, 1}, | 9390 {"voidMethodLongArgOptionalTestInterfaceEmptyArg", TestObjectV8Internal::voi
dMethodLongArgOptionalTestInterfaceEmptyArgMethodCallback, 0, 1}, |
9215 {"voidMethodTestInterfaceEmptyArgOptionalLongArg", TestObjectV8Internal::voi
dMethodTestInterfaceEmptyArgOptionalLongArgMethodCallback, 0, 1}, | 9391 {"voidMethodTestInterfaceEmptyArgOptionalLongArg", TestObjectV8Internal::voi
dMethodTestInterfaceEmptyArgOptionalLongArgMethodCallback, 0, 1}, |
9216 {"voidMethodOptionalDictionaryArg", TestObjectV8Internal::voidMethodOptional
DictionaryArgMethodCallback, 0, 0}, | 9392 {"voidMethodOptionalDictionaryArg", TestObjectV8Internal::voidMethodOptional
DictionaryArgMethodCallback, 0, 0}, |
| 9393 {"voidMethodDefaultStringArg", TestObjectV8Internal::voidMethodDefaultString
ArgMethodCallback, 0, 0}, |
| 9394 {"voidMethodDefaultNullStringArg", TestObjectV8Internal::voidMethodDefaultNu
llStringArgMethodCallback, 0, 0}, |
| 9395 {"voidMethodDefaultLongArg", TestObjectV8Internal::voidMethodDefaultLongArgM
ethodCallback, 0, 0}, |
| 9396 {"voidMethodDefaultDoubleArg", TestObjectV8Internal::voidMethodDefaultDouble
ArgMethodCallback, 0, 0}, |
| 9397 {"voidMethodDefaultTrueBooleanArg", TestObjectV8Internal::voidMethodDefaultT
rueBooleanArgMethodCallback, 0, 0}, |
| 9398 {"voidMethodDefaultFalseBooleanArg", TestObjectV8Internal::voidMethodDefault
FalseBooleanArgMethodCallback, 0, 0}, |
| 9399 {"voidMethodDefaultNullableStringArg", TestObjectV8Internal::voidMethodDefau
ltNullableStringArgMethodCallback, 0, 0}, |
| 9400 {"voidMethodDefaultNullableTestInterfaceArg", TestObjectV8Internal::voidMeth
odDefaultNullableTestInterfaceArgMethodCallback, 0, 0}, |
9217 {"voidMethodVariadicStringArg", TestObjectV8Internal::voidMethodVariadicStri
ngArgMethodCallback, 0, 1}, | 9401 {"voidMethodVariadicStringArg", TestObjectV8Internal::voidMethodVariadicStri
ngArgMethodCallback, 0, 1}, |
9218 {"voidMethodStringArgVariadicStringArg", TestObjectV8Internal::voidMethodStr
ingArgVariadicStringArgMethodCallback, 0, 2}, | 9402 {"voidMethodStringArgVariadicStringArg", TestObjectV8Internal::voidMethodStr
ingArgVariadicStringArgMethodCallback, 0, 2}, |
9219 {"voidMethodVariadicTestInterfaceEmptyArg", TestObjectV8Internal::voidMethod
VariadicTestInterfaceEmptyArgMethodCallback, 0, 1}, | 9403 {"voidMethodVariadicTestInterfaceEmptyArg", TestObjectV8Internal::voidMethod
VariadicTestInterfaceEmptyArgMethodCallback, 0, 1}, |
9220 {"voidMethodTestInterfaceEmptyArgVariadicTestInterfaceEmptyArg", TestObjectV
8Internal::voidMethodTestInterfaceEmptyArgVariadicTestInterfaceEmptyArgMethodCal
lback, 0, 2}, | 9404 {"voidMethodTestInterfaceEmptyArgVariadicTestInterfaceEmptyArg", TestObjectV
8Internal::voidMethodTestInterfaceEmptyArgVariadicTestInterfaceEmptyArgMethodCal
lback, 0, 2}, |
9221 {"voidMethodVariadicTestInterfaceGarbageCollectedArg", TestObjectV8Internal:
:voidMethodVariadicTestInterfaceGarbageCollectedArgMethodCallback, 0, 1}, | 9405 {"voidMethodVariadicTestInterfaceGarbageCollectedArg", TestObjectV8Internal:
:voidMethodVariadicTestInterfaceGarbageCollectedArgMethodCallback, 0, 1}, |
9222 {"voidMethodVariadicTestInterfaceWillBeGarbageCollectedArg", TestObjectV8Int
ernal::voidMethodVariadicTestInterfaceWillBeGarbageCollectedArgMethodCallback, 0
, 1}, | 9406 {"voidMethodVariadicTestInterfaceWillBeGarbageCollectedArg", TestObjectV8Int
ernal::voidMethodVariadicTestInterfaceWillBeGarbageCollectedArgMethodCallback, 0
, 1}, |
9223 {"overloadedMethodA", TestObjectV8Internal::overloadedMethodAMethodCallback,
0, 1}, | 9407 {"overloadedMethodA", TestObjectV8Internal::overloadedMethodAMethodCallback,
0, 1}, |
9224 {"overloadedMethodB", TestObjectV8Internal::overloadedMethodBMethodCallback,
0, 1}, | 9408 {"overloadedMethodB", TestObjectV8Internal::overloadedMethodBMethodCallback,
0, 1}, |
9225 {"overloadedMethodC", TestObjectV8Internal::overloadedMethodCMethodCallback,
0, 1}, | 9409 {"overloadedMethodC", TestObjectV8Internal::overloadedMethodCMethodCallback,
0, 1}, |
9226 {"overloadedMethodD", TestObjectV8Internal::overloadedMethodDMethodCallback,
0, 1}, | 9410 {"overloadedMethodD", TestObjectV8Internal::overloadedMethodDMethodCallback,
0, 1}, |
9227 {"overloadedMethodE", TestObjectV8Internal::overloadedMethodEMethodCallback,
0, 1}, | 9411 {"overloadedMethodE", TestObjectV8Internal::overloadedMethodEMethodCallback,
0, 1}, |
9228 {"overloadedMethodF", TestObjectV8Internal::overloadedMethodFMethodCallback,
0, 0}, | 9412 {"overloadedMethodF", TestObjectV8Internal::overloadedMethodFMethodCallback,
0, 0}, |
9229 {"overloadedMethodG", TestObjectV8Internal::overloadedMethodGMethodCallback,
0, 1}, | 9413 {"overloadedMethodG", TestObjectV8Internal::overloadedMethodGMethodCallback,
0, 1}, |
9230 {"overloadedMethodH", TestObjectV8Internal::overloadedMethodHMethodCallback,
0, 1}, | 9414 {"overloadedMethodH", TestObjectV8Internal::overloadedMethodHMethodCallback,
0, 1}, |
9231 {"overloadedMethodI", TestObjectV8Internal::overloadedMethodIMethodCallback,
0, 1}, | 9415 {"overloadedMethodI", TestObjectV8Internal::overloadedMethodIMethodCallback,
0, 1}, |
9232 {"overloadedPerWorldBindingsMethod", TestObjectV8Internal::overloadedPerWorl
dBindingsMethodMethodCallback, TestObjectV8Internal::overloadedPerWorldBindingsM
ethodMethodCallbackForMainWorld, 0}, | 9416 {"overloadedPerWorldBindingsMethod", TestObjectV8Internal::overloadedPerWorl
dBindingsMethodMethodCallback, TestObjectV8Internal::overloadedPerWorldBindingsM
ethodMethodCallbackForMainWorld, 0}, |
9233 {"voidMethodClampUnsignedShortArg", TestObjectV8Internal::voidMethodClampUns
ignedShortArgMethodCallback, 0, 1}, | 9417 {"voidMethodClampUnsignedShortArg", TestObjectV8Internal::voidMethodClampUns
ignedShortArgMethodCallback, 0, 1}, |
9234 {"voidMethodClampUnsignedLongArg", TestObjectV8Internal::voidMethodClampUnsi
gnedLongArgMethodCallback, 0, 1}, | 9418 {"voidMethodClampUnsignedLongArg", TestObjectV8Internal::voidMethodClampUnsi
gnedLongArgMethodCallback, 0, 1}, |
9235 {"voidMethodDefaultUndefinedTestInterfaceEmptyArg", TestObjectV8Internal::vo
idMethodDefaultUndefinedTestInterfaceEmptyArgMethodCallback, 0, 0}, | 9419 {"voidMethodDefaultUndefinedTestInterfaceEmptyArg", TestObjectV8Internal::vo
idMethodDefaultUndefinedTestInterfaceEmptyArgMethodCallback, 0, 0}, |
9236 {"voidMethodDefaultUndefinedLongArg", TestObjectV8Internal::voidMethodDefaul
tUndefinedLongArgMethodCallback, 0, 0}, | 9420 {"voidMethodDefaultUndefinedLongArg", TestObjectV8Internal::voidMethodDefaul
tUndefinedLongArgMethodCallback, 0, 0}, |
9237 {"voidMethodDefaultUndefinedStringArg", TestObjectV8Internal::voidMethodDefa
ultUndefinedStringArgMethodCallback, 0, 0}, | 9421 {"voidMethodDefaultUndefinedStringArg", TestObjectV8Internal::voidMethodDefa
ultUndefinedStringArgMethodCallback, 0, 0}, |
9238 {"voidMethodDefaultNullStringStringArg", TestObjectV8Internal::voidMethodDef
aultNullStringStringArgMethodCallback, 0, 0}, | |
9239 {"voidMethodEnforceRangeLongArg", TestObjectV8Internal::voidMethodEnforceRan
geLongArgMethodCallback, 0, 1}, | 9422 {"voidMethodEnforceRangeLongArg", TestObjectV8Internal::voidMethodEnforceRan
geLongArgMethodCallback, 0, 1}, |
9240 {"voidMethodTreatNullAsNullStringStringArg", TestObjectV8Internal::voidMetho
dTreatNullAsNullStringStringArgMethodCallback, 0, 1}, | 9423 {"voidMethodTreatNullAsNullStringStringArg", TestObjectV8Internal::voidMetho
dTreatNullAsNullStringStringArgMethodCallback, 0, 1}, |
9241 {"voidMethodTreatNullAsNullStringTreatUndefinedAsNullStringStringArg", TestO
bjectV8Internal::voidMethodTreatNullAsNullStringTreatUndefinedAsNullStringString
ArgMethodCallback, 0, 1}, | 9424 {"voidMethodTreatNullAsNullStringTreatUndefinedAsNullStringStringArg", TestO
bjectV8Internal::voidMethodTreatNullAsNullStringTreatUndefinedAsNullStringString
ArgMethodCallback, 0, 1}, |
9242 {"activityLoggingAccessForAllWorldsMethod", TestObjectV8Internal::activityLo
ggingAccessForAllWorldsMethodMethodCallback, 0, 0}, | 9425 {"activityLoggingAccessForAllWorldsMethod", TestObjectV8Internal::activityLo
ggingAccessForAllWorldsMethodMethodCallback, 0, 0}, |
9243 {"callWithExecutionContextVoidMethod", TestObjectV8Internal::callWithExecuti
onContextVoidMethodMethodCallback, 0, 0}, | 9426 {"callWithExecutionContextVoidMethod", TestObjectV8Internal::callWithExecuti
onContextVoidMethodMethodCallback, 0, 0}, |
9244 {"callWithScriptStateVoidMethod", TestObjectV8Internal::callWithScriptStateV
oidMethodMethodCallback, 0, 0}, | 9427 {"callWithScriptStateVoidMethod", TestObjectV8Internal::callWithScriptStateV
oidMethodMethodCallback, 0, 0}, |
9245 {"callWithScriptStateLongMethod", TestObjectV8Internal::callWithScriptStateL
ongMethodMethodCallback, 0, 0}, | 9428 {"callWithScriptStateLongMethod", TestObjectV8Internal::callWithScriptStateL
ongMethodMethodCallback, 0, 0}, |
9246 {"callWithScriptStateExecutionContextVoidMethod", TestObjectV8Internal::call
WithScriptStateExecutionContextVoidMethodMethodCallback, 0, 0}, | 9429 {"callWithScriptStateExecutionContextVoidMethod", TestObjectV8Internal::call
WithScriptStateExecutionContextVoidMethodMethodCallback, 0, 0}, |
9247 {"callWithScriptStateScriptArgumentsVoidMethod", TestObjectV8Internal::callW
ithScriptStateScriptArgumentsVoidMethodMethodCallback, 0, 0}, | 9430 {"callWithScriptStateScriptArgumentsVoidMethod", TestObjectV8Internal::callW
ithScriptStateScriptArgumentsVoidMethodMethodCallback, 0, 0}, |
9248 {"callWithScriptStateScriptArgumentsVoidMethodOptionalBooleanArg", TestObjec
tV8Internal::callWithScriptStateScriptArgumentsVoidMethodOptionalBooleanArgMetho
dCallback, 0, 0}, | 9431 {"callWithScriptStateScriptArgumentsVoidMethodOptionalBooleanArg", TestObjec
tV8Internal::callWithScriptStateScriptArgumentsVoidMethodOptionalBooleanArgMetho
dCallback, 0, 0}, |
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
9463 fromInternalPointer(object)->deref(); | 9646 fromInternalPointer(object)->deref(); |
9464 } | 9647 } |
9465 | 9648 |
9466 template<> | 9649 template<> |
9467 v8::Handle<v8::Value> toV8NoInline(TestObject* impl, v8::Handle<v8::Object> crea
tionContext, v8::Isolate* isolate) | 9650 v8::Handle<v8::Value> toV8NoInline(TestObject* impl, v8::Handle<v8::Object> crea
tionContext, v8::Isolate* isolate) |
9468 { | 9651 { |
9469 return toV8(impl, creationContext, isolate); | 9652 return toV8(impl, creationContext, isolate); |
9470 } | 9653 } |
9471 | 9654 |
9472 } // namespace WebCore | 9655 } // namespace WebCore |
OLD | NEW |