| 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 2198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2209 TestInterfaceImplementation* referencedName = impl->referencedName(); | 2209 TestInterfaceImplementation* referencedName = impl->referencedName(); |
| 2210 if (referencedName) { | 2210 if (referencedName) { |
| 2211 if (!DOMDataStore::containsWrapper(referencedName, isolate)) | 2211 if (!DOMDataStore::containsWrapper(referencedName, isolate)) |
| 2212 referencedName->wrap(isolate, creationContext); | 2212 referencedName->wrap(isolate, creationContext); |
| 2213 DOMDataStore::setWrapperReference(wrapper, referencedName, isolate); | 2213 DOMDataStore::setWrapperReference(wrapper, referencedName, isolate); |
| 2214 } | 2214 } |
| 2215 setObjectGroup(isolate, scriptWrappable, wrapper); | 2215 setObjectGroup(isolate, scriptWrappable, wrapper); |
| 2216 } | 2216 } |
| 2217 | 2217 |
| 2218 static const V8DOMConfiguration::AttributeConfiguration V8TestInterfaceAttribute
s[] = { | 2218 static const V8DOMConfiguration::AttributeConfiguration V8TestInterfaceAttribute
s[] = { |
| 2219 {"testInterfaceConstructorAttribute", v8ConstructorAttributeGetter, TestInte
rfaceImplementationV8Internal::testInterfaceConstructorAttributeAttributeSetterC
allback, 0, 0, const_cast<WrapperTypeInfo*>(&V8TestInterface::wrapperTypeInfo),
static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(
v8::DontEnum), V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnIn
stance}, | 2219 {"testInterfaceConstructorAttribute", v8ConstructorAttributeGetter, TestInte
rfaceImplementationV8Internal::testInterfaceConstructorAttributeAttributeSetterC
allback, 0, 0, const_cast<WrapperTypeInfo*>(&V8TestInterface::wrapperTypeInfo),
static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(
v8::DontEnum), V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnIn
stance, V8DOMConfiguration::CheckHolder}, |
| 2220 {"TestInterface", v8ConstructorAttributeGetter, TestInterfaceImplementationV
8Internal::TestInterfaceImplementationConstructorAttributeSetterCallback, 0, 0,
const_cast<WrapperTypeInfo*>(&V8TestInterface::wrapperTypeInfo), static_cast<v8:
:AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::DontEnum),
V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnInstance}, | 2220 {"TestInterface", v8ConstructorAttributeGetter, TestInterfaceImplementationV
8Internal::TestInterfaceImplementationConstructorAttributeSetterCallback, 0, 0,
const_cast<WrapperTypeInfo*>(&V8TestInterface::wrapperTypeInfo), static_cast<v8:
:AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::DontEnum),
V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnInstance, V8DOMCo
nfiguration::CheckHolder}, |
| 2221 {"TestInterface2", v8ConstructorAttributeGetter, TestInterfaceImplementation
V8Internal::TestInterfaceImplementationConstructorAttributeSetterCallback, 0, 0,
const_cast<WrapperTypeInfo*>(&V8TestInterface2::wrapperTypeInfo), static_cast<v
8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::DontEnum)
, V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnInstance}, | 2221 {"TestInterface2", v8ConstructorAttributeGetter, TestInterfaceImplementation
V8Internal::TestInterfaceImplementationConstructorAttributeSetterCallback, 0, 0,
const_cast<WrapperTypeInfo*>(&V8TestInterface2::wrapperTypeInfo), static_cast<v
8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::DontEnum)
, V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnInstance, V8DOM
Configuration::CheckHolder}, |
| 2222 }; | 2222 }; |
| 2223 | 2223 |
| 2224 static const V8DOMConfiguration::AccessorConfiguration V8TestInterfaceAccessors[
] = { | 2224 static const V8DOMConfiguration::AccessorConfiguration V8TestInterfaceAccessors[
] = { |
| 2225 {"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::CheckHolder}, | 2225 {"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::OnPrototype, V8DOMConfiguration::Che
ckHolder}, |
| 2226 {"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::CheckHolder}, | 2226 {"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::OnPrototype, V8DOMConfiguration::CheckHolder}, |
| 2227 {"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::CheckHolder}, | 2227 {"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::OnPrototype, V8DOMConfiguration::CheckHolder}, |
| 2228 {"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::CheckHolder}, | 2228 {"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::OnPrototype, V8DOMCon
figuration::CheckHolder}, |
| 2229 {"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::CheckHolder}, | 2229 {"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::OnPrototype, V8DOMConfig
uration::CheckHolder}, |
| 2230 {"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::CheckHolder}, | 2230 {"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::OnPrototype, V8DOMConfiguration::CheckHolder}, |
| 2231 {"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::CheckHolder}, | 2231 {"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::OnPrototype, V8DOMConfiguration::
CheckHolder}, |
| 2232 {"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::CheckHolder}, | 2232 {"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::OnPrototype, V8DOMConfiguration::CheckHolder}, |
| 2233 {"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::CheckHolder}, | 2233 {"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::OnPrototype, V8DOMConfiguration::Che
ckHolder}, |
| 2234 {"lenientThisAttribute", TestInterfaceImplementationV8Internal::lenientThisA
ttributeAttributeGetterCallback, TestInterfaceImplementationV8Internal::lenientT
hisAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8:
:DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::Exp
osedToAllScripts, V8DOMConfiguration::DoNotCheckHolder}, | 2234 {"lenientThisAttribute", TestInterfaceImplementationV8Internal::lenientThisA
ttributeAttributeGetterCallback, TestInterfaceImplementationV8Internal::lenientT
hisAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8:
:DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::Exp
osedToAllScripts, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::DoNotChec
kHolder}, |
| 2235 {"implementsReadonlyStringAttribute", TestInterfaceImplementationV8Internal:
:implementsReadonlyStringAttributeAttributeGetterCallback, 0, 0, 0, 0, static_ca
st<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None)
, V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::CheckHolder}, | 2235 {"implementsReadonlyStringAttribute", TestInterfaceImplementationV8Internal:
:implementsReadonlyStringAttributeAttributeGetterCallback, 0, 0, 0, 0, static_ca
st<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None)
, V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnPrototype, V8DO
MConfiguration::CheckHolder}, |
| 2236 {"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::CheckHolder}, | 2236 {"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::OnPrototype, V8DOMConfigura
tion::CheckHolder}, |
| 2237 {"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::CheckHolder}, | 2237 {"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::OnPrototype, V8DOMConfiguration::
CheckHolder}, |
| 2238 {"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::CheckHold
er}, | 2238 {"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::OnPrototy
pe, V8DOMConfiguration::CheckHolder}, |
| 2239 {"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::CheckHolder}, | 2239 {"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::OnPrototype, V8DOMConfig
uration::CheckHolder}, |
| 2240 {"partial2LongAttribute", TestInterfaceImplementationV8Internal::partial2Lon
gAttributeAttributeGetterCallback, TestInterfaceImplementationV8Internal::partia
l2LongAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(
v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::
ExposedToAllScripts, V8DOMConfiguration::CheckHolder}, | 2240 {"partial2LongAttribute", TestInterfaceImplementationV8Internal::partial2Lon
gAttributeAttributeGetterCallback, TestInterfaceImplementationV8Internal::partia
l2LongAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(
v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::
ExposedToAllScripts, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckH
older}, |
| 2241 }; | 2241 }; |
| 2242 | 2242 |
| 2243 static const V8DOMConfiguration::MethodConfiguration V8TestInterfaceMethods[] =
{ | 2243 static const V8DOMConfiguration::MethodConfiguration V8TestInterfaceMethods[] =
{ |
| 2244 {"voidMethodTestInterfaceEmptyArg", TestInterfaceImplementationV8Internal::v
oidMethodTestInterfaceEmptyArgMethodCallback, 0, 1, V8DOMConfiguration::ExposedT
oAllScripts}, | 2244 {"voidMethodTestInterfaceEmptyArg", TestInterfaceImplementationV8Internal::v
oidMethodTestInterfaceEmptyArgMethodCallback, 0, 1, V8DOMConfiguration::ExposedT
oAllScripts}, |
| 2245 {"voidMethodDoubleArgFloatArg", TestInterfaceImplementationV8Internal::voidM
ethodDoubleArgFloatArgMethodCallback, 0, 2, V8DOMConfiguration::ExposedToAllScri
pts}, | 2245 {"voidMethodDoubleArgFloatArg", TestInterfaceImplementationV8Internal::voidM
ethodDoubleArgFloatArgMethodCallback, 0, 2, V8DOMConfiguration::ExposedToAllScri
pts}, |
| 2246 {"voidMethodUnrestrictedDoubleArgUnrestrictedFloatArg", TestInterfaceImpleme
ntationV8Internal::voidMethodUnrestrictedDoubleArgUnrestrictedFloatArgMethodCall
back, 0, 2, V8DOMConfiguration::ExposedToAllScripts}, | 2246 {"voidMethodUnrestrictedDoubleArgUnrestrictedFloatArg", TestInterfaceImpleme
ntationV8Internal::voidMethodUnrestrictedDoubleArgUnrestrictedFloatArgMethodCall
back, 0, 2, V8DOMConfiguration::ExposedToAllScripts}, |
| 2247 {"voidMethodTestEnumArg", TestInterfaceImplementationV8Internal::voidMethodT
estEnumArgMethodCallback, 0, 1, V8DOMConfiguration::ExposedToAllScripts}, | 2247 {"voidMethodTestEnumArg", TestInterfaceImplementationV8Internal::voidMethodT
estEnumArgMethodCallback, 0, 1, V8DOMConfiguration::ExposedToAllScripts}, |
| 2248 {"voidMethod", TestInterfaceImplementationV8Internal::voidMethodMethodCallba
ck, TestInterfaceImplementationV8Internal::voidMethodMethodCallbackForMainWorld,
0, V8DOMConfiguration::ExposedToAllScripts}, | 2248 {"voidMethod", TestInterfaceImplementationV8Internal::voidMethodMethodCallba
ck, TestInterfaceImplementationV8Internal::voidMethodMethodCallbackForMainWorld,
0, V8DOMConfiguration::ExposedToAllScripts}, |
| 2249 {"alwaysExposedMethod", TestInterfaceImplementationV8Internal::alwaysExposed
MethodMethodCallback, 0, 0, V8DOMConfiguration::ExposedToAllScripts}, | 2249 {"alwaysExposedMethod", TestInterfaceImplementationV8Internal::alwaysExposed
MethodMethodCallback, 0, 0, V8DOMConfiguration::ExposedToAllScripts}, |
| 2250 {"legacyInterfaceTypeCheckingMethod", TestInterfaceImplementationV8Internal:
:legacyInterfaceTypeCheckingMethodMethodCallback, 0, 1, V8DOMConfiguration::Expo
sedToAllScripts}, | 2250 {"legacyInterfaceTypeCheckingMethod", TestInterfaceImplementationV8Internal:
:legacyInterfaceTypeCheckingMethodMethodCallback, 0, 1, V8DOMConfiguration::Expo
sedToAllScripts}, |
| (...skipping 17 matching lines...) Expand all Loading... |
| 2268 defaultSignature = V8DOMConfiguration::installDOMClassTemplate(isolate,
functionTemplate, "TestInterface", V8TestInterfaceEmpty::domTemplate(isolate), V
8TestInterface::internalFieldCount, | 2268 defaultSignature = V8DOMConfiguration::installDOMClassTemplate(isolate,
functionTemplate, "TestInterface", V8TestInterfaceEmpty::domTemplate(isolate), V
8TestInterface::internalFieldCount, |
| 2269 V8TestInterfaceAttributes, WTF_ARRAY_LENGTH(V8TestInterfaceAttribute
s), | 2269 V8TestInterfaceAttributes, WTF_ARRAY_LENGTH(V8TestInterfaceAttribute
s), |
| 2270 V8TestInterfaceAccessors, WTF_ARRAY_LENGTH(V8TestInterfaceAccessors)
, | 2270 V8TestInterfaceAccessors, WTF_ARRAY_LENGTH(V8TestInterfaceAccessors)
, |
| 2271 V8TestInterfaceMethods, WTF_ARRAY_LENGTH(V8TestInterfaceMethods)); | 2271 V8TestInterfaceMethods, WTF_ARRAY_LENGTH(V8TestInterfaceMethods)); |
| 2272 v8::Local<v8::ObjectTemplate> instanceTemplate = functionTemplate->InstanceT
emplate(); | 2272 v8::Local<v8::ObjectTemplate> instanceTemplate = functionTemplate->InstanceT
emplate(); |
| 2273 ALLOW_UNUSED_LOCAL(instanceTemplate); | 2273 ALLOW_UNUSED_LOCAL(instanceTemplate); |
| 2274 v8::Local<v8::ObjectTemplate> prototypeTemplate = functionTemplate->Prototyp
eTemplate(); | 2274 v8::Local<v8::ObjectTemplate> prototypeTemplate = functionTemplate->Prototyp
eTemplate(); |
| 2275 ALLOW_UNUSED_LOCAL(prototypeTemplate); | 2275 ALLOW_UNUSED_LOCAL(prototypeTemplate); |
| 2276 if (RuntimeEnabledFeatures::implementsFeatureNameEnabled()) { | 2276 if (RuntimeEnabledFeatures::implementsFeatureNameEnabled()) { |
| 2277 static const V8DOMConfiguration::AccessorConfiguration accessorConfigura
tion =\ | 2277 static const V8DOMConfiguration::AccessorConfiguration accessorConfigura
tion =\ |
| 2278 {"implementsRuntimeEnabledNodeAttribute", TestInterfaceImplementationV8I
nternal::implementsRuntimeEnabledNodeAttributeAttributeGetterCallback, TestInter
faceImplementationV8Internal::implementsRuntimeEnabledNodeAttributeAttributeSett
erCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8
::PropertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAllScripts, V8DOMCo
nfiguration::CheckHolder}; | 2278 {"implementsRuntimeEnabledNodeAttribute", TestInterfaceImplementationV8I
nternal::implementsRuntimeEnabledNodeAttributeAttributeGetterCallback, TestInter
faceImplementationV8Internal::implementsRuntimeEnabledNodeAttributeAttributeSett
erCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8
::PropertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAllScripts, V8DOMCo
nfiguration::OnPrototype, V8DOMConfiguration::CheckHolder}; |
| 2279 V8DOMConfiguration::installAccessor(isolate, prototypeTemplate, defaultS
ignature, accessorConfiguration); | 2279 V8DOMConfiguration::installAccessor(isolate, instanceTemplate, prototype
Template, functionTemplate, defaultSignature, accessorConfiguration); |
| 2280 } | 2280 } |
| 2281 if (RuntimeEnabledFeatures::implements2FeatureNameEnabled()) { | 2281 if (RuntimeEnabledFeatures::implements2FeatureNameEnabled()) { |
| 2282 static const V8DOMConfiguration::AccessorConfiguration accessorConfigura
tion =\ | 2282 static const V8DOMConfiguration::AccessorConfiguration accessorConfigura
tion =\ |
| 2283 {"implements2StringAttribute", TestInterfaceImplementationV8Internal::im
plements2StringAttributeAttributeGetterCallback, TestInterfaceImplementationV8In
ternal::implements2StringAttributeAttributeSetterCallback, 0, 0, 0, static_cast<
v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), V
8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::CheckHolder}; | 2283 {"implements2StringAttribute", TestInterfaceImplementationV8Internal::im
plements2StringAttributeAttributeGetterCallback, TestInterfaceImplementationV8In
ternal::implements2StringAttributeAttributeSetterCallback, 0, 0, 0, static_cast<
v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), V
8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnPrototype, V8DOMCo
nfiguration::CheckHolder}; |
| 2284 V8DOMConfiguration::installAccessor(isolate, prototypeTemplate, defaultS
ignature, accessorConfiguration); | 2284 V8DOMConfiguration::installAccessor(isolate, instanceTemplate, prototype
Template, functionTemplate, defaultSignature, accessorConfiguration); |
| 2285 } | 2285 } |
| 2286 #if ENABLE(PARTIAL_CONDITION) | 2286 #if ENABLE(PARTIAL_CONDITION) |
| 2287 if (RuntimeEnabledFeatures::partialFeatureNameEnabled()) { | 2287 if (RuntimeEnabledFeatures::partialFeatureNameEnabled()) { |
| 2288 static const V8DOMConfiguration::AccessorConfiguration accessorConfigura
tion =\ | 2288 static const V8DOMConfiguration::AccessorConfiguration accessorConfigura
tion =\ |
| 2289 {"partialLongAttribute", TestInterfaceImplementationV8Internal::partialL
ongAttributeAttributeGetterCallback, TestInterfaceImplementationV8Internal::part
ialLongAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>
(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration:
:ExposedToAllScripts, V8DOMConfiguration::CheckHolder}; | 2289 {"partialLongAttribute", TestInterfaceImplementationV8Internal::partialL
ongAttributeAttributeGetterCallback, TestInterfaceImplementationV8Internal::part
ialLongAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>
(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration:
:ExposedToAllScripts, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::Check
Holder}; |
| 2290 V8DOMConfiguration::installAccessor(isolate, prototypeTemplate, defaultS
ignature, accessorConfiguration); | 2290 V8DOMConfiguration::installAccessor(isolate, instanceTemplate, prototype
Template, functionTemplate, defaultSignature, accessorConfiguration); |
| 2291 } | 2291 } |
| 2292 #endif // ENABLE(PARTIAL_CONDITION) | 2292 #endif // ENABLE(PARTIAL_CONDITION) |
| 2293 #if ENABLE(PARTIAL_CONDITION) | 2293 #if ENABLE(PARTIAL_CONDITION) |
| 2294 if (RuntimeEnabledFeatures::partialFeatureNameEnabled()) { | 2294 if (RuntimeEnabledFeatures::partialFeatureNameEnabled()) { |
| 2295 static const V8DOMConfiguration::AccessorConfiguration accessorConfigura
tion =\ | 2295 static const V8DOMConfiguration::AccessorConfiguration accessorConfigura
tion =\ |
| 2296 {"partialCallWithExecutionContextLongAttribute", TestInterfaceImplementa
tionV8Internal::partialCallWithExecutionContextLongAttributeAttributeGetterCallb
ack, TestInterfaceImplementationV8Internal::partialCallWithExecutionContextLongA
ttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEF
AULT), static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::Exposed
ToAllScripts, V8DOMConfiguration::CheckHolder}; | 2296 {"partialCallWithExecutionContextLongAttribute", TestInterfaceImplementa
tionV8Internal::partialCallWithExecutionContextLongAttributeAttributeGetterCallb
ack, TestInterfaceImplementationV8Internal::partialCallWithExecutionContextLongA
ttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEF
AULT), static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::Exposed
ToAllScripts, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder}; |
| 2297 V8DOMConfiguration::installAccessor(isolate, prototypeTemplate, defaultS
ignature, accessorConfiguration); | 2297 V8DOMConfiguration::installAccessor(isolate, instanceTemplate, prototype
Template, functionTemplate, defaultSignature, accessorConfiguration); |
| 2298 } | 2298 } |
| 2299 #endif // ENABLE(PARTIAL_CONDITION) | 2299 #endif // ENABLE(PARTIAL_CONDITION) |
| 2300 #if ENABLE(PARTIAL_CONDITION) | 2300 #if ENABLE(PARTIAL_CONDITION) |
| 2301 if (RuntimeEnabledFeatures::partialFeatureNameEnabled()) { | 2301 if (RuntimeEnabledFeatures::partialFeatureNameEnabled()) { |
| 2302 static const V8DOMConfiguration::AccessorConfiguration accessorConfigura
tion =\ | 2302 static const V8DOMConfiguration::AccessorConfiguration accessorConfigura
tion =\ |
| 2303 {"partialPartialEnumTypeAttribute", TestInterfaceImplementationV8Interna
l::partialPartialEnumTypeAttributeAttributeGetterCallback, TestInterfaceImplemen
tationV8Internal::partialPartialEnumTypeAttributeAttributeSetterCallback, 0, 0,
0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribut
e>(v8::None), V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::Check
Holder}; | 2303 {"partialPartialEnumTypeAttribute", TestInterfaceImplementationV8Interna
l::partialPartialEnumTypeAttributeAttributeGetterCallback, TestInterfaceImplemen
tationV8Internal::partialPartialEnumTypeAttributeAttributeSetterCallback, 0, 0,
0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribut
e>(v8::None), V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnPro
totype, V8DOMConfiguration::CheckHolder}; |
| 2304 V8DOMConfiguration::installAccessor(isolate, prototypeTemplate, defaultS
ignature, accessorConfiguration); | 2304 V8DOMConfiguration::installAccessor(isolate, instanceTemplate, prototype
Template, functionTemplate, defaultSignature, accessorConfiguration); |
| 2305 } | 2305 } |
| 2306 #endif // ENABLE(PARTIAL_CONDITION) | 2306 #endif // ENABLE(PARTIAL_CONDITION) |
| 2307 #if ENABLE(PARTIAL_CONDITION) | 2307 #if ENABLE(PARTIAL_CONDITION) |
| 2308 if (RuntimeEnabledFeatures::partialFeatureNameEnabled()) { | 2308 if (RuntimeEnabledFeatures::partialFeatureNameEnabled()) { |
| 2309 static const V8DOMConfiguration::AccessorConfiguration accessorConfigura
tion =\ | 2309 static const V8DOMConfiguration::AccessorConfiguration accessorConfigura
tion =\ |
| 2310 {"stringAttribute", TestInterfaceImplementationV8Internal::stringAttribu
teAttributeGetterCallback, TestInterfaceImplementationV8Internal::stringAttribut
eAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT),
static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAllSc
ripts, V8DOMConfiguration::CheckHolder}; | 2310 {"stringAttribute", TestInterfaceImplementationV8Internal::stringAttribu
teAttributeGetterCallback, TestInterfaceImplementationV8Internal::stringAttribut
eAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT),
static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAllSc
ripts, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder}; |
| 2311 V8DOMConfiguration::installAccessor(isolate, prototypeTemplate, defaultS
ignature, accessorConfiguration); | 2311 V8DOMConfiguration::installAccessor(isolate, instanceTemplate, prototype
Template, functionTemplate, defaultSignature, accessorConfiguration); |
| 2312 } | 2312 } |
| 2313 #endif // ENABLE(PARTIAL_CONDITION) | 2313 #endif // ENABLE(PARTIAL_CONDITION) |
| 2314 static const V8DOMConfiguration::ConstantConfiguration V8TestInterfaceConsta
nts[] = { | 2314 static const V8DOMConfiguration::ConstantConfiguration V8TestInterfaceConsta
nts[] = { |
| 2315 {"UNSIGNED_LONG", 0, 0, 0, V8DOMConfiguration::ConstantTypeUnsignedLong}
, | 2315 {"UNSIGNED_LONG", 0, 0, 0, V8DOMConfiguration::ConstantTypeUnsignedLong}
, |
| 2316 {"CONST_JAVASCRIPT", 1, 0, 0, V8DOMConfiguration::ConstantTypeShort}, | 2316 {"CONST_JAVASCRIPT", 1, 0, 0, V8DOMConfiguration::ConstantTypeShort}, |
| 2317 {"IMPLEMENTS_CONSTANT_1", 1, 0, 0, V8DOMConfiguration::ConstantTypeUnsig
nedShort}, | 2317 {"IMPLEMENTS_CONSTANT_1", 1, 0, 0, V8DOMConfiguration::ConstantTypeUnsig
nedShort}, |
| 2318 {"IMPLEMENTS_CONSTANT_2", 2, 0, 0, V8DOMConfiguration::ConstantTypeUnsig
nedShort}, | 2318 {"IMPLEMENTS_CONSTANT_2", 2, 0, 0, V8DOMConfiguration::ConstantTypeUnsig
nedShort}, |
| 2319 {"PARTIAL2_UNSIGNED_SHORT", 0, 0, 0, V8DOMConfiguration::ConstantTypeUns
ignedShort}, | 2319 {"PARTIAL2_UNSIGNED_SHORT", 0, 0, 0, V8DOMConfiguration::ConstantTypeUns
ignedShort}, |
| 2320 }; | 2320 }; |
| 2321 V8DOMConfiguration::installConstants(isolate, functionTemplate, prototypeTem
plate, V8TestInterfaceConstants, WTF_ARRAY_LENGTH(V8TestInterfaceConstants)); | 2321 V8DOMConfiguration::installConstants(isolate, functionTemplate, prototypeTem
plate, V8TestInterfaceConstants, WTF_ARRAY_LENGTH(V8TestInterfaceConstants)); |
| (...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2474 TestInterfaceImplementation* V8TestInterface::toImplWithTypeCheck(v8::Isolate* i
solate, v8::Local<v8::Value> value) | 2474 TestInterfaceImplementation* V8TestInterface::toImplWithTypeCheck(v8::Isolate* i
solate, v8::Local<v8::Value> value) |
| 2475 { | 2475 { |
| 2476 return hasInstance(value, isolate) ? toImpl(v8::Local<v8::Object>::Cast(valu
e)) : 0; | 2476 return hasInstance(value, isolate) ? toImpl(v8::Local<v8::Object>::Cast(valu
e)) : 0; |
| 2477 } | 2477 } |
| 2478 | 2478 |
| 2479 void V8TestInterface::installConditionallyEnabledProperties(v8::Local<v8::Object
> instanceObject, v8::Isolate* isolate) | 2479 void V8TestInterface::installConditionallyEnabledProperties(v8::Local<v8::Object
> instanceObject, v8::Isolate* isolate) |
| 2480 { | 2480 { |
| 2481 v8::Local<v8::Object> prototypeObject = v8::Local<v8::Object>::Cast(instance
Object->GetPrototype()); | 2481 v8::Local<v8::Object> prototypeObject = v8::Local<v8::Object>::Cast(instance
Object->GetPrototype()); |
| 2482 ExecutionContext* context = toExecutionContext(prototypeObject->CreationCont
ext()); | 2482 ExecutionContext* context = toExecutionContext(prototypeObject->CreationCont
ext()); |
| 2483 | 2483 |
| 2484 if (context && (context->isWorkerGlobalScope())) { | 2484 if (context && (context->isWorkerGlobalScope())) { |
| 2485 static const V8DOMConfiguration::AccessorConfiguration accessorConfigura
tion = {"workerExposedAttribute", TestInterfaceImplementationV8Internal::workerE
xposedAttributeAttributeGetterCallback, TestInterfaceImplementationV8Internal::w
orkerExposedAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessCon
trol>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfigura
tion::ExposedToAllScripts, V8DOMConfiguration::CheckHolder}; | 2485 #error No one is actually using per-member [Exposed] extended attribute. No
t supported. Contact to blink-reviews-bindings@ if you need. |
| 2486 V8DOMConfiguration::installAccessor(isolate, prototypeObject, accessorCo
nfiguration); | 2486 // TODO(yukishiino): Implement the feature again if there is a client. |
| 2487 } | 2487 } |
| 2488 if (context && (context->isDocument())) { | 2488 if (context && (context->isDocument())) { |
| 2489 static const V8DOMConfiguration::AccessorConfiguration accessorConfigura
tion = {"windowExposedAttribute", TestInterfaceImplementationV8Internal::windowE
xposedAttributeAttributeGetterCallback, TestInterfaceImplementationV8Internal::w
indowExposedAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessCon
trol>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfigura
tion::ExposedToAllScripts, V8DOMConfiguration::CheckHolder}; | 2489 #error No one is actually using per-member [Exposed] extended attribute. No
t supported. Contact to blink-reviews-bindings@ if you need. |
| 2490 V8DOMConfiguration::installAccessor(isolate, prototypeObject, accessorCo
nfiguration); | 2490 // TODO(yukishiino): Implement the feature again if there is a client. |
| 2491 } | 2491 } |
| 2492 if (context && (context->isWorkerGlobalScope())) { |
| 2493 #error No one is actually using per-member [Exposed] extended attribute. No
t supported. Contact to blink-reviews-bindings@ if you need. |
| 2494 // TODO(yukishiino): Implement the feature again if there is a client. |
| 2495 } |
| 2496 if (context && (context->isDocument())) { |
| 2497 #error No one is actually using per-member [Exposed] extended attribute. No
t supported. Contact to blink-reviews-bindings@ if you need. |
| 2498 // TODO(yukishiino): Implement the feature again if there is a client. |
| 2499 } |
| 2500 if (context && (context->isWorkerGlobalScope())) { |
| 2501 #error No one is actually using per-member [Exposed] extended attribute. No
t supported. Contact to blink-reviews-bindings@ if you need. |
| 2502 // TODO(yukishiino): Implement the feature again if there is a client. |
| 2503 } |
| 2504 if (context && (context->isDocument())) { |
| 2505 #error No one is actually using per-member [Exposed] extended attribute. No
t supported. Contact to blink-reviews-bindings@ if you need. |
| 2506 // TODO(yukishiino): Implement the feature again if there is a client. |
| 2507 } |
| 2508 if (context && (context->isDocument())) { |
| 2509 #error No one is actually using per-member [Exposed] extended attribute. No
t supported. Contact to blink-reviews-bindings@ if you need. |
| 2510 // TODO(yukishiino): Implement the feature again if there is a client. |
| 2511 } |
| 2512 if (context && (context->isDocument())) { |
| 2513 #error No one is actually using per-member [Exposed] extended attribute. No
t supported. Contact to blink-reviews-bindings@ if you need. |
| 2514 // TODO(yukishiino): Implement the feature again if there is a client. |
| 2515 } |
| 2516 if (context && (context->isDocument())) { |
| 2517 #error No one is actually using per-member [Exposed] extended attribute. No
t supported. Contact to blink-reviews-bindings@ if you need. |
| 2518 // TODO(yukishiino): Implement the feature again if there is a client. |
| 2519 } |
| 2520 if (context && (context->isDocument())) { |
| 2521 #error No one is actually using per-member [Exposed] extended attribute. No
t supported. Contact to blink-reviews-bindings@ if you need. |
| 2522 // TODO(yukishiino): Implement the feature again if there is a client. |
| 2523 } |
| 2524 if (context && ((context->isDocument() && RuntimeEnabledFeatures::featureNameEna
bled()) || (context->isWorkerGlobalScope() && RuntimeEnabledFeatures::featureNam
e2Enabled()))) { |
| 2525 #error No one is actually using per-member [Exposed] extended attribute. No
t supported. Contact to blink-reviews-bindings@ if you need. |
| 2526 // TODO(yukishiino): Implement the feature again if there is a client. |
| 2527 } |
| 2528 if (context && (context->isDocument() || context->isServiceWorkerGlobalScope()))
{ |
| 2529 #error No one is actually using per-member [Exposed] extended attribute. No
t supported. Contact to blink-reviews-bindings@ if you need. |
| 2530 // TODO(yukishiino): Implement the feature again if there is a client. |
| 2531 } |
| 2492 } | 2532 } |
| 2493 | 2533 |
| 2494 void V8TestInterface::preparePrototypeObject(v8::Isolate* isolate, v8::Local<v8:
:Object> prototypeObject) | 2534 void V8TestInterface::preparePrototypeObject(v8::Isolate* isolate, v8::Local<v8:
:Object> prototypeObject) |
| 2495 { | 2535 { |
| 2496 v8::Local<v8::Signature> defaultSignature = v8::Signature::New(isolate, domT
emplate(isolate)); | 2536 v8::Local<v8::Signature> defaultSignature = v8::Signature::New(isolate, domT
emplate(isolate)); |
| 2497 ExecutionContext* context = toExecutionContext(prototypeObject->CreationCont
ext()); | 2537 ExecutionContext* context = toExecutionContext(prototypeObject->CreationCont
ext()); |
| 2498 ASSERT(context); | 2538 ASSERT(context); |
| 2499 if (context && (context->isWorkerGlobalScope())) { | 2539 if (context && (context->isWorkerGlobalScope())) { |
| 2500 v8::Local<v8::FunctionTemplate> functionTemplate = v8::FunctionTemplate:
:New(isolate, TestInterfaceImplementationV8Internal::workerExposedMethodMethodCa
llback, v8Undefined(), defaultSignature, 0); | 2540 v8::Local<v8::FunctionTemplate> functionTemplate = v8::FunctionTemplate:
:New(isolate, TestInterfaceImplementationV8Internal::workerExposedMethodMethodCa
llback, v8Undefined(), defaultSignature, 0); |
| 2501 v8::Local<v8::Function> function = ->GetFunction(isolate->GetCurrentCont
ext())).ToLocalChecked(); | 2541 v8::Local<v8::Function> function = ->GetFunction(isolate->GetCurrentCont
ext())).ToLocalChecked(); |
| (...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2660 void V8TestInterface::registerPartial2VoidMethodMethodForPartialInterface(void (
*method)(const v8::FunctionCallbackInfo<v8::Value>&)) | 2700 void V8TestInterface::registerPartial2VoidMethodMethodForPartialInterface(void (
*method)(const v8::FunctionCallbackInfo<v8::Value>&)) |
| 2661 { | 2701 { |
| 2662 TestInterfaceImplementationV8Internal::partial2VoidMethodMethodForPartialInt
erface = method; | 2702 TestInterfaceImplementationV8Internal::partial2VoidMethodMethodForPartialInt
erface = method; |
| 2663 } | 2703 } |
| 2664 void V8TestInterface::registerPartial2StaticVoidMethodMethodForPartialInterface(
void (*method)(const v8::FunctionCallbackInfo<v8::Value>&)) | 2704 void V8TestInterface::registerPartial2StaticVoidMethodMethodForPartialInterface(
void (*method)(const v8::FunctionCallbackInfo<v8::Value>&)) |
| 2665 { | 2705 { |
| 2666 TestInterfaceImplementationV8Internal::partial2StaticVoidMethodMethodForPart
ialInterface = method; | 2706 TestInterfaceImplementationV8Internal::partial2StaticVoidMethodMethodForPart
ialInterface = method; |
| 2667 } | 2707 } |
| 2668 } // namespace blink | 2708 } // namespace blink |
| 2669 #endif // ENABLE(CONDITION) | 2709 #endif // ENABLE(CONDITION) |
| OLD | NEW |