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 #if ENABLE(CONDITION) | 8 #if ENABLE(CONDITION) |
9 #include "V8TestInterface.h" | 9 #include "V8TestInterface.h" |
10 | 10 |
(...skipping 308 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
319 TestInterfaceImplementation::setStaticStringAttribute(cppValue); | 319 TestInterfaceImplementation::setStaticStringAttribute(cppValue); |
320 } | 320 } |
321 | 321 |
322 static void staticStringAttributeAttributeSetterCallback(v8::Local<v8::String>,
v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info) | 322 static void staticStringAttributeAttributeSetterCallback(v8::Local<v8::String>,
v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info) |
323 { | 323 { |
324 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMSetter"); | 324 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMSetter"); |
325 TestInterfaceImplementationV8Internal::staticStringAttributeAttributeSetter(
v8Value, info); | 325 TestInterfaceImplementationV8Internal::staticStringAttributeAttributeSetter(
v8Value, info); |
326 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); | 326 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); |
327 } | 327 } |
328 | 328 |
| 329 static void legacyInterfaceTypeCheckingAttributeAttributeGetter(const v8::Proper
tyCallbackInfo<v8::Value>& info) |
| 330 { |
| 331 v8::Local<v8::Object> holder = info.Holder(); |
| 332 TestInterfaceImplementation* impl = V8TestInterface::toImpl(holder); |
| 333 v8SetReturnValueFast(info, WTF::getPtr(impl->legacyInterfaceTypeCheckingAttr
ibute()), impl); |
| 334 } |
| 335 |
| 336 static void legacyInterfaceTypeCheckingAttributeAttributeGetterCallback(v8::Loca
l<v8::String>, const v8::PropertyCallbackInfo<v8::Value>& info) |
| 337 { |
| 338 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMGetter"); |
| 339 TestInterfaceImplementationV8Internal::legacyInterfaceTypeCheckingAttributeA
ttributeGetter(info); |
| 340 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); |
| 341 } |
| 342 |
| 343 static void legacyInterfaceTypeCheckingAttributeAttributeSetter(v8::Local<v8::Va
lue> v8Value, const v8::PropertyCallbackInfo<void>& info) |
| 344 { |
| 345 v8::Local<v8::Object> holder = info.Holder(); |
| 346 TestInterfaceImplementation* impl = V8TestInterface::toImpl(holder); |
| 347 TestInterfaceEmpty* cppValue = V8TestInterfaceEmpty::toImplWithTypeCheck(inf
o.GetIsolate(), v8Value); |
| 348 impl->setLegacyInterfaceTypeCheckingAttribute(WTF::getPtr(cppValue)); |
| 349 } |
| 350 |
| 351 static void legacyInterfaceTypeCheckingAttributeAttributeSetterCallback(v8::Loca
l<v8::String>, v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void
>& info) |
| 352 { |
| 353 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMSetter"); |
| 354 TestInterfaceImplementationV8Internal::legacyInterfaceTypeCheckingAttributeA
ttributeSetter(v8Value, info); |
| 355 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); |
| 356 } |
| 357 |
329 static void alwaysExposedAttributeAttributeGetter(const v8::PropertyCallbackInfo
<v8::Value>& info) | 358 static void alwaysExposedAttributeAttributeGetter(const v8::PropertyCallbackInfo
<v8::Value>& info) |
330 { | 359 { |
331 v8::Local<v8::Object> holder = info.Holder(); | 360 v8::Local<v8::Object> holder = info.Holder(); |
332 TestInterfaceImplementation* impl = V8TestInterface::toImpl(holder); | 361 TestInterfaceImplementation* impl = V8TestInterface::toImpl(holder); |
333 v8SetReturnValueInt(info, impl->alwaysExposedAttribute()); | 362 v8SetReturnValueInt(info, impl->alwaysExposedAttribute()); |
334 } | 363 } |
335 | 364 |
336 static void alwaysExposedAttributeAttributeGetterCallback(v8::Local<v8::String>,
const v8::PropertyCallbackInfo<v8::Value>& info) | 365 static void alwaysExposedAttributeAttributeGetterCallback(v8::Local<v8::String>,
const v8::PropertyCallbackInfo<v8::Value>& info) |
337 { | 366 { |
338 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMGetter"); | 367 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMGetter"); |
(...skipping 1068 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1407 } | 1436 } |
1408 } | 1437 } |
1409 v8SetReturnValue(info, impl->promiseMethodPartialOverload(window).v8Value())
; | 1438 v8SetReturnValue(info, impl->promiseMethodPartialOverload(window).v8Value())
; |
1410 } | 1439 } |
1411 | 1440 |
1412 static void staticPromiseMethodPartialOverload1Method(const v8::FunctionCallback
Info<v8::Value>& info) | 1441 static void staticPromiseMethodPartialOverload1Method(const v8::FunctionCallback
Info<v8::Value>& info) |
1413 { | 1442 { |
1414 v8SetReturnValue(info, TestInterfaceImplementation::staticPromiseMethodParti
alOverload().v8Value()); | 1443 v8SetReturnValue(info, TestInterfaceImplementation::staticPromiseMethodParti
alOverload().v8Value()); |
1415 } | 1444 } |
1416 | 1445 |
| 1446 static void legacyInterfaceTypeCheckingMethodMethod(const v8::FunctionCallbackIn
fo<v8::Value>& info) |
| 1447 { |
| 1448 if (UNLIKELY(info.Length() < 1)) { |
| 1449 V8ThrowException::throwException(createMinimumArityTypeErrorForMethod(in
fo.GetIsolate(), "legacyInterfaceTypeCheckingMethod", "TestInterface", 1, info.L
ength()), info.GetIsolate()); |
| 1450 return; |
| 1451 } |
| 1452 TestInterfaceImplementation* impl = V8TestInterface::toImpl(info.Holder()); |
| 1453 TestInterfaceEmpty* testInterfaceEmptyArg; |
| 1454 { |
| 1455 testInterfaceEmptyArg = V8TestInterfaceEmpty::toImplWithTypeCheck(info.G
etIsolate(), info[0]); |
| 1456 } |
| 1457 impl->legacyInterfaceTypeCheckingMethod(testInterfaceEmptyArg); |
| 1458 } |
| 1459 |
| 1460 static void legacyInterfaceTypeCheckingMethodMethodCallback(const v8::FunctionCa
llbackInfo<v8::Value>& info) |
| 1461 { |
| 1462 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMMethod"); |
| 1463 TestInterfaceImplementationV8Internal::legacyInterfaceTypeCheckingMethodMeth
od(info); |
| 1464 TRACE_EVENT_SET_SAMPLING_STATE("v8", "V8Execution"); |
| 1465 } |
| 1466 |
1417 static void implementsVoidMethodMethod(const v8::FunctionCallbackInfo<v8::Value>
& info) | 1467 static void implementsVoidMethodMethod(const v8::FunctionCallbackInfo<v8::Value>
& info) |
1418 { | 1468 { |
1419 TestInterfaceImplementation* impl = V8TestInterface::toImpl(info.Holder()); | 1469 TestInterfaceImplementation* impl = V8TestInterface::toImpl(info.Holder()); |
1420 impl->implementsVoidMethod(); | 1470 impl->implementsVoidMethod(); |
1421 } | 1471 } |
1422 | 1472 |
1423 static void implementsVoidMethodMethodCallback(const v8::FunctionCallbackInfo<v8
::Value>& info) | 1473 static void implementsVoidMethodMethodCallback(const v8::FunctionCallbackInfo<v8
::Value>& info) |
1424 { | 1474 { |
1425 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMMethod"); | 1475 TRACE_EVENT_SET_SAMPLING_STATE("blink", "DOMMethod"); |
1426 TestInterfaceImplementationV8Internal::implementsVoidMethodMethod(info); | 1476 TestInterfaceImplementationV8Internal::implementsVoidMethodMethod(info); |
(...skipping 626 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2053 | 2103 |
2054 static const V8DOMConfiguration::AttributeConfiguration V8TestInterfaceAttribute
s[] = { | 2104 static const V8DOMConfiguration::AttributeConfiguration V8TestInterfaceAttribute
s[] = { |
2055 {"testInterfaceAttribute", TestInterfaceImplementationV8Internal::testInterf
aceAttributeAttributeGetterCallback, TestInterfaceImplementationV8Internal::test
InterfaceAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessContro
l>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguratio
n::ExposedToAllScripts, V8DOMConfiguration::OnInstance}, | 2105 {"testInterfaceAttribute", TestInterfaceImplementationV8Internal::testInterf
aceAttributeAttributeGetterCallback, TestInterfaceImplementationV8Internal::test
InterfaceAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessContro
l>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguratio
n::ExposedToAllScripts, V8DOMConfiguration::OnInstance}, |
2056 {"testInterfaceConstructorAttribute", TestInterfaceImplementationV8Internal:
:TestInterfaceImplementationConstructorGetter, TestInterfaceImplementationV8Inte
rnal::TestInterfaceImplementationForceSetAttributeOnThisCallback, 0, 0, const_ca
st<WrapperTypeInfo*>(&V8TestInterface::wrapperTypeInfo), static_cast<v8::AccessC
ontrol>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::DontEnum), V8DOMCon
figuration::ExposedToAllScripts, V8DOMConfiguration::OnInstance}, | 2106 {"testInterfaceConstructorAttribute", TestInterfaceImplementationV8Internal:
:TestInterfaceImplementationConstructorGetter, TestInterfaceImplementationV8Inte
rnal::TestInterfaceImplementationForceSetAttributeOnThisCallback, 0, 0, const_ca
st<WrapperTypeInfo*>(&V8TestInterface::wrapperTypeInfo), static_cast<v8::AccessC
ontrol>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::DontEnum), V8DOMCon
figuration::ExposedToAllScripts, V8DOMConfiguration::OnInstance}, |
2057 {"doubleAttribute", TestInterfaceImplementationV8Internal::doubleAttributeAt
tributeGetterCallback, TestInterfaceImplementationV8Internal::doubleAttributeAtt
ributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), stat
ic_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAllScript
s, V8DOMConfiguration::OnInstance}, | 2107 {"doubleAttribute", TestInterfaceImplementationV8Internal::doubleAttributeAt
tributeGetterCallback, TestInterfaceImplementationV8Internal::doubleAttributeAtt
ributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), stat
ic_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAllScript
s, V8DOMConfiguration::OnInstance}, |
2058 {"floatAttribute", TestInterfaceImplementationV8Internal::floatAttributeAttr
ibuteGetterCallback, TestInterfaceImplementationV8Internal::floatAttributeAttrib
uteSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_
cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAllScripts,
V8DOMConfiguration::OnInstance}, | 2108 {"floatAttribute", TestInterfaceImplementationV8Internal::floatAttributeAttr
ibuteGetterCallback, TestInterfaceImplementationV8Internal::floatAttributeAttrib
uteSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_
cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAllScripts,
V8DOMConfiguration::OnInstance}, |
2059 {"unrestrictedDoubleAttribute", TestInterfaceImplementationV8Internal::unres
trictedDoubleAttributeAttributeGetterCallback, TestInterfaceImplementationV8Inte
rnal::unrestrictedDoubleAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v
8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), V8
DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnInstance}, | 2109 {"unrestrictedDoubleAttribute", TestInterfaceImplementationV8Internal::unres
trictedDoubleAttributeAttributeGetterCallback, TestInterfaceImplementationV8Inte
rnal::unrestrictedDoubleAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v
8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), V8
DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnInstance}, |
2060 {"unrestrictedFloatAttribute", TestInterfaceImplementationV8Internal::unrest
rictedFloatAttributeAttributeGetterCallback, TestInterfaceImplementationV8Intern
al::unrestrictedFloatAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::
AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), V8DOM
Configuration::ExposedToAllScripts, V8DOMConfiguration::OnInstance}, | 2110 {"unrestrictedFloatAttribute", TestInterfaceImplementationV8Internal::unrest
rictedFloatAttributeAttributeGetterCallback, TestInterfaceImplementationV8Intern
al::unrestrictedFloatAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::
AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), V8DOM
Configuration::ExposedToAllScripts, V8DOMConfiguration::OnInstance}, |
2061 {"testEnumAttribute", TestInterfaceImplementationV8Internal::testEnumAttribu
teAttributeGetterCallback, TestInterfaceImplementationV8Internal::testEnumAttrib
uteAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT)
, static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAll
Scripts, V8DOMConfiguration::OnInstance}, | 2111 {"testEnumAttribute", TestInterfaceImplementationV8Internal::testEnumAttribu
teAttributeGetterCallback, TestInterfaceImplementationV8Internal::testEnumAttrib
uteAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT)
, static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAll
Scripts, V8DOMConfiguration::OnInstance}, |
2062 {"stringOrDoubleAttribute", TestInterfaceImplementationV8Internal::stringOrD
oubleAttributeAttributeGetterCallback, TestInterfaceImplementationV8Internal::st
ringOrDoubleAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessCon
trol>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfigura
tion::ExposedToAllScripts, V8DOMConfiguration::OnInstance}, | 2112 {"stringOrDoubleAttribute", TestInterfaceImplementationV8Internal::stringOrD
oubleAttributeAttributeGetterCallback, TestInterfaceImplementationV8Internal::st
ringOrDoubleAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessCon
trol>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfigura
tion::ExposedToAllScripts, V8DOMConfiguration::OnInstance}, |
| 2113 {"legacyInterfaceTypeCheckingAttribute", TestInterfaceImplementationV8Intern
al::legacyInterfaceTypeCheckingAttributeAttributeGetterCallback, TestInterfaceIm
plementationV8Internal::legacyInterfaceTypeCheckingAttributeAttributeSetterCallb
ack, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::Prope
rtyAttribute>(v8::None), V8DOMConfiguration::ExposedToAllScripts, V8DOMConfigura
tion::OnInstance}, |
2063 {"alwaysExposedAttribute", TestInterfaceImplementationV8Internal::alwaysExpo
sedAttributeAttributeGetterCallback, TestInterfaceImplementationV8Internal::alwa
ysExposedAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessContro
l>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguratio
n::ExposedToAllScripts, V8DOMConfiguration::OnInstance}, | 2114 {"alwaysExposedAttribute", TestInterfaceImplementationV8Internal::alwaysExpo
sedAttributeAttributeGetterCallback, TestInterfaceImplementationV8Internal::alwa
ysExposedAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessContro
l>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguratio
n::ExposedToAllScripts, V8DOMConfiguration::OnInstance}, |
2064 {"implementsReadonlyStringAttribute", TestInterfaceImplementationV8Internal:
:implementsReadonlyStringAttributeAttributeGetterCallback, 0, 0, 0, 0, static_ca
st<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None)
, V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnInstance}, | 2115 {"implementsReadonlyStringAttribute", TestInterfaceImplementationV8Internal:
:implementsReadonlyStringAttributeAttributeGetterCallback, 0, 0, 0, 0, static_ca
st<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None)
, V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnInstance}, |
2065 {"implementsStringAttribute", TestInterfaceImplementationV8Internal::impleme
ntsStringAttributeAttributeGetterCallback, TestInterfaceImplementationV8Internal
::implementsStringAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::Acc
essControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), V8DOMCon
figuration::ExposedToAllScripts, V8DOMConfiguration::OnInstance}, | 2116 {"implementsStringAttribute", TestInterfaceImplementationV8Internal::impleme
ntsStringAttributeAttributeGetterCallback, TestInterfaceImplementationV8Internal
::implementsStringAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::Acc
essControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), V8DOMCon
figuration::ExposedToAllScripts, V8DOMConfiguration::OnInstance}, |
2066 {"implementsNodeAttribute", TestInterfaceImplementationV8Internal::implement
sNodeAttributeAttributeGetterCallback, TestInterfaceImplementationV8Internal::im
plementsNodeAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessCon
trol>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfigura
tion::ExposedToAllScripts, V8DOMConfiguration::OnInstance}, | 2117 {"implementsNodeAttribute", TestInterfaceImplementationV8Internal::implement
sNodeAttributeAttributeGetterCallback, TestInterfaceImplementationV8Internal::im
plementsNodeAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessCon
trol>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfigura
tion::ExposedToAllScripts, V8DOMConfiguration::OnInstance}, |
2067 {"implementsEventHandlerAttribute", TestInterfaceImplementationV8Internal::i
mplementsEventHandlerAttributeAttributeGetterCallback, TestInterfaceImplementati
onV8Internal::implementsEventHandlerAttributeAttributeSetterCallback, 0, 0, 0, s
tatic_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v
8::None), V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnInstanc
e}, | 2118 {"implementsEventHandlerAttribute", TestInterfaceImplementationV8Internal::i
mplementsEventHandlerAttributeAttributeGetterCallback, TestInterfaceImplementati
onV8Internal::implementsEventHandlerAttributeAttributeSetterCallback, 0, 0, 0, s
tatic_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v
8::None), V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnInstanc
e}, |
2068 {"implements3StringAttribute", TestInterfaceImplementationV8Internal::implem
ents3StringAttributeAttributeGetterCallback, TestInterfaceImplementationV8Intern
al::implements3StringAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::
AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), V8DOM
Configuration::ExposedToAllScripts, V8DOMConfiguration::OnInstance}, | 2119 {"implements3StringAttribute", TestInterfaceImplementationV8Internal::implem
ents3StringAttributeAttributeGetterCallback, TestInterfaceImplementationV8Intern
al::implements3StringAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::
AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), V8DOM
Configuration::ExposedToAllScripts, V8DOMConfiguration::OnInstance}, |
2069 }; | 2120 }; |
2070 | 2121 |
2071 static const V8DOMConfiguration::MethodConfiguration V8TestInterfaceMethods[] =
{ | 2122 static const V8DOMConfiguration::MethodConfiguration V8TestInterfaceMethods[] =
{ |
2072 {"voidMethodTestInterfaceEmptyArg", TestInterfaceImplementationV8Internal::v
oidMethodTestInterfaceEmptyArgMethodCallback, 0, 1, V8DOMConfiguration::ExposedT
oAllScripts}, | 2123 {"voidMethodTestInterfaceEmptyArg", TestInterfaceImplementationV8Internal::v
oidMethodTestInterfaceEmptyArgMethodCallback, 0, 1, V8DOMConfiguration::ExposedT
oAllScripts}, |
2073 {"voidMethodDoubleArgFloatArg", TestInterfaceImplementationV8Internal::voidM
ethodDoubleArgFloatArgMethodCallback, 0, 2, V8DOMConfiguration::ExposedToAllScri
pts}, | 2124 {"voidMethodDoubleArgFloatArg", TestInterfaceImplementationV8Internal::voidM
ethodDoubleArgFloatArgMethodCallback, 0, 2, V8DOMConfiguration::ExposedToAllScri
pts}, |
2074 {"voidMethodUnrestrictedDoubleArgUnrestrictedFloatArg", TestInterfaceImpleme
ntationV8Internal::voidMethodUnrestrictedDoubleArgUnrestrictedFloatArgMethodCall
back, 0, 2, V8DOMConfiguration::ExposedToAllScripts}, | 2125 {"voidMethodUnrestrictedDoubleArgUnrestrictedFloatArg", TestInterfaceImpleme
ntationV8Internal::voidMethodUnrestrictedDoubleArgUnrestrictedFloatArgMethodCall
back, 0, 2, V8DOMConfiguration::ExposedToAllScripts}, |
2075 {"voidMethodTestEnumArg", TestInterfaceImplementationV8Internal::voidMethodT
estEnumArgMethodCallback, 0, 1, V8DOMConfiguration::ExposedToAllScripts}, | 2126 {"voidMethodTestEnumArg", TestInterfaceImplementationV8Internal::voidMethodT
estEnumArgMethodCallback, 0, 1, V8DOMConfiguration::ExposedToAllScripts}, |
2076 {"voidMethod", TestInterfaceImplementationV8Internal::voidMethodMethodCallba
ck, TestInterfaceImplementationV8Internal::voidMethodMethodCallbackForMainWorld,
0, V8DOMConfiguration::ExposedToAllScripts}, | 2127 {"voidMethod", TestInterfaceImplementationV8Internal::voidMethodMethodCallba
ck, TestInterfaceImplementationV8Internal::voidMethodMethodCallbackForMainWorld,
0, V8DOMConfiguration::ExposedToAllScripts}, |
2077 {"alwaysExposedMethod", TestInterfaceImplementationV8Internal::alwaysExposed
MethodMethodCallback, 0, 0, V8DOMConfiguration::ExposedToAllScripts}, | 2128 {"alwaysExposedMethod", TestInterfaceImplementationV8Internal::alwaysExposed
MethodMethodCallback, 0, 0, V8DOMConfiguration::ExposedToAllScripts}, |
| 2129 {"legacyInterfaceTypeCheckingMethod", TestInterfaceImplementationV8Internal:
:legacyInterfaceTypeCheckingMethodMethodCallback, 0, 1, V8DOMConfiguration::Expo
sedToAllScripts}, |
2078 {"implementsVoidMethod", TestInterfaceImplementationV8Internal::implementsVo
idMethodMethodCallback, 0, 0, V8DOMConfiguration::ExposedToAllScripts}, | 2130 {"implementsVoidMethod", TestInterfaceImplementationV8Internal::implementsVo
idMethodMethodCallback, 0, 0, V8DOMConfiguration::ExposedToAllScripts}, |
2079 {"implementsComplexMethod", TestInterfaceImplementationV8Internal::implement
sComplexMethodMethodCallback, 0, 2, V8DOMConfiguration::ExposedToAllScripts}, | 2131 {"implementsComplexMethod", TestInterfaceImplementationV8Internal::implement
sComplexMethodMethodCallback, 0, 2, V8DOMConfiguration::ExposedToAllScripts}, |
2080 {"implementsCustomVoidMethod", TestInterfaceImplementationV8Internal::implem
entsCustomVoidMethodMethodCallback, 0, 0, V8DOMConfiguration::ExposedToAllScript
s}, | 2132 {"implementsCustomVoidMethod", TestInterfaceImplementationV8Internal::implem
entsCustomVoidMethodMethodCallback, 0, 0, V8DOMConfiguration::ExposedToAllScript
s}, |
2081 {"implements3VoidMethod", TestInterfaceImplementationV8Internal::implements3
VoidMethodMethodCallback, 0, 0, V8DOMConfiguration::ExposedToAllScripts}, | 2133 {"implements3VoidMethod", TestInterfaceImplementationV8Internal::implements3
VoidMethodMethodCallback, 0, 0, V8DOMConfiguration::ExposedToAllScripts}, |
2082 {"voidMethodPartialOverload", TestInterfaceImplementationV8Internal::voidMet
hodPartialOverloadMethodCallback, 0, 0, V8DOMConfiguration::ExposedToAllScripts}
, | 2134 {"voidMethodPartialOverload", TestInterfaceImplementationV8Internal::voidMet
hodPartialOverloadMethodCallback, 0, 0, V8DOMConfiguration::ExposedToAllScripts}
, |
2083 {"promiseMethodPartialOverload", TestInterfaceImplementationV8Internal::prom
iseMethodPartialOverloadMethodCallback, 0, 0, V8DOMConfiguration::ExposedToAllSc
ripts}, | 2135 {"promiseMethodPartialOverload", TestInterfaceImplementationV8Internal::prom
iseMethodPartialOverloadMethodCallback, 0, 0, V8DOMConfiguration::ExposedToAllSc
ripts}, |
2084 {"partial2VoidMethod", TestInterfaceImplementationV8Internal::partial2VoidMe
thodMethodCallback, 0, 0, V8DOMConfiguration::ExposedToAllScripts}, | 2136 {"partial2VoidMethod", TestInterfaceImplementationV8Internal::partial2VoidMe
thodMethodCallback, 0, 0, V8DOMConfiguration::ExposedToAllScripts}, |
2085 }; | 2137 }; |
2086 | 2138 |
2087 void V8TestInterface::installV8TestInterfaceTemplate(v8::Local<v8::FunctionTempl
ate> functionTemplate, v8::Isolate* isolate) | 2139 void V8TestInterface::installV8TestInterfaceTemplate(v8::Local<v8::FunctionTempl
ate> functionTemplate, v8::Isolate* isolate) |
(...skipping 388 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2476 void V8TestInterface::registerPartial2VoidMethodMethodForPartialInterface(void (
*method)(const v8::FunctionCallbackInfo<v8::Value>&)) | 2528 void V8TestInterface::registerPartial2VoidMethodMethodForPartialInterface(void (
*method)(const v8::FunctionCallbackInfo<v8::Value>&)) |
2477 { | 2529 { |
2478 TestInterfaceImplementationV8Internal::partial2VoidMethodMethodForPartialInt
erface = method; | 2530 TestInterfaceImplementationV8Internal::partial2VoidMethodMethodForPartialInt
erface = method; |
2479 } | 2531 } |
2480 void V8TestInterface::registerPartial2StaticVoidMethodMethodForPartialInterface(
void (*method)(const v8::FunctionCallbackInfo<v8::Value>&)) | 2532 void V8TestInterface::registerPartial2StaticVoidMethodMethodForPartialInterface(
void (*method)(const v8::FunctionCallbackInfo<v8::Value>&)) |
2481 { | 2533 { |
2482 TestInterfaceImplementationV8Internal::partial2StaticVoidMethodMethodForPart
ialInterface = method; | 2534 TestInterfaceImplementationV8Internal::partial2StaticVoidMethodMethodForPart
ialInterface = method; |
2483 } | 2535 } |
2484 } // namespace blink | 2536 } // namespace blink |
2485 #endif // ENABLE(CONDITION) | 2537 #endif // ENABLE(CONDITION) |
OLD | NEW |