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. | 5 // This file has been auto-generated by code_generator_v8.py. |
6 // DO NOT MODIFY! | 6 // DO NOT MODIFY! |
7 | 7 |
8 // This file has been generated from the Jinja2 template in | 8 // This file has been generated from the Jinja2 template in |
9 // third_party/WebKit/Source/bindings/templates/interface.cpp.tmpl | 9 // third_party/WebKit/Source/bindings/templates/interface.cpp.tmpl |
10 | 10 |
(...skipping 758 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
769 {"doubleAttribute", V8TestInterface5::doubleAttributeAttributeGetterCallback
, V8TestInterface5::doubleAttributeAttributeSetterCallback, nullptr, nullptr, nu
llptr, nullptr, static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration
::OnPrototype, V8DOMConfiguration::CheckHolder}, | 769 {"doubleAttribute", V8TestInterface5::doubleAttributeAttributeGetterCallback
, V8TestInterface5::doubleAttributeAttributeSetterCallback, nullptr, nullptr, nu
llptr, nullptr, static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration
::OnPrototype, V8DOMConfiguration::CheckHolder}, |
770 {"floatAttribute", V8TestInterface5::floatAttributeAttributeGetterCallback,
V8TestInterface5::floatAttributeAttributeSetterCallback, nullptr, nullptr, nullp
tr, nullptr, static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::O
nPrototype, V8DOMConfiguration::CheckHolder}, | 770 {"floatAttribute", V8TestInterface5::floatAttributeAttributeGetterCallback,
V8TestInterface5::floatAttributeAttributeSetterCallback, nullptr, nullptr, nullp
tr, nullptr, static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::O
nPrototype, V8DOMConfiguration::CheckHolder}, |
771 {"unrestrictedDoubleAttribute", V8TestInterface5::unrestrictedDoubleAttribut
eAttributeGetterCallback, V8TestInterface5::unrestrictedDoubleAttributeAttribute
SetterCallback, nullptr, nullptr, nullptr, nullptr, static_cast<v8::PropertyAttr
ibute>(v8::None), V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHold
er}, | 771 {"unrestrictedDoubleAttribute", V8TestInterface5::unrestrictedDoubleAttribut
eAttributeGetterCallback, V8TestInterface5::unrestrictedDoubleAttributeAttribute
SetterCallback, nullptr, nullptr, nullptr, nullptr, static_cast<v8::PropertyAttr
ibute>(v8::None), V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHold
er}, |
772 {"unrestrictedFloatAttribute", V8TestInterface5::unrestrictedFloatAttributeA
ttributeGetterCallback, V8TestInterface5::unrestrictedFloatAttributeAttributeSet
terCallback, nullptr, nullptr, nullptr, nullptr, static_cast<v8::PropertyAttribu
te>(v8::None), V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder}
, | 772 {"unrestrictedFloatAttribute", V8TestInterface5::unrestrictedFloatAttributeA
ttributeGetterCallback, V8TestInterface5::unrestrictedFloatAttributeAttributeSet
terCallback, nullptr, nullptr, nullptr, nullptr, static_cast<v8::PropertyAttribu
te>(v8::None), V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder}
, |
773 {"staticStringAttribute", V8TestInterface5::staticStringAttributeAttributeGe
tterCallback, V8TestInterface5::staticStringAttributeAttributeSetterCallback, nu
llptr, nullptr, nullptr, nullptr, static_cast<v8::PropertyAttribute>(v8::None),
V8DOMConfiguration::OnInterface, V8DOMConfiguration::CheckHolder}, | 773 {"staticStringAttribute", V8TestInterface5::staticStringAttributeAttributeGe
tterCallback, V8TestInterface5::staticStringAttributeAttributeSetterCallback, nu
llptr, nullptr, nullptr, nullptr, static_cast<v8::PropertyAttribute>(v8::None),
V8DOMConfiguration::OnInterface, V8DOMConfiguration::CheckHolder}, |
774 {"length", V8TestInterface5::lengthAttributeGetterCallback, nullptr, nullptr
, nullptr, nullptr, nullptr, static_cast<v8::PropertyAttribute>(v8::ReadOnly), V
8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder}, | 774 {"length", V8TestInterface5::lengthAttributeGetterCallback, nullptr, nullptr
, nullptr, nullptr, nullptr, static_cast<v8::PropertyAttribute>(v8::ReadOnly), V
8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder}, |
775 {"alwaysExposedAttribute", V8TestInterface5::alwaysExposedAttributeAttribute
GetterCallback, V8TestInterface5::alwaysExposedAttributeAttributeSetterCallback,
nullptr, nullptr, nullptr, nullptr, static_cast<v8::PropertyAttribute>(v8::None
), V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder}, | 775 {"alwaysExposedAttribute", V8TestInterface5::alwaysExposedAttributeAttribute
GetterCallback, V8TestInterface5::alwaysExposedAttributeAttributeSetterCallback,
nullptr, nullptr, nullptr, nullptr, static_cast<v8::PropertyAttribute>(v8::None
), V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder}, |
776 }; | 776 }; |
777 | 777 |
778 const V8DOMConfiguration::MethodConfiguration V8TestInterface5Methods[] = { | 778 const V8DOMConfiguration::MethodConfiguration V8TestInterface5Methods[] = { |
779 {"voidMethodTestInterfaceEmptyArg", V8TestInterface5::voidMethodTestInterfac
eEmptyArgMethodCallback, nullptr, 1, v8::None, V8DOMConfiguration::OnPrototype,
V8DOMConfiguration::CheckHolder, V8DOMConfiguration::DoNotCheckAccess}, | 779 {"voidMethodTestInterfaceEmptyArg", V8TestInterface5::voidMethodTestInterfac
eEmptyArgMethodCallback, 1, v8::None, V8DOMConfiguration::OnPrototype, V8DOMConf
iguration::CheckHolder, V8DOMConfiguration::DoNotCheckAccess, V8DOMConfiguration
::AllWorlds}, |
780 {"voidMethodDoubleArgFloatArg", V8TestInterface5::voidMethodDoubleArgFloatAr
gMethodCallback, nullptr, 2, v8::None, V8DOMConfiguration::OnPrototype, V8DOMCon
figuration::CheckHolder, V8DOMConfiguration::DoNotCheckAccess}, | 780 {"voidMethodDoubleArgFloatArg", V8TestInterface5::voidMethodDoubleArgFloatAr
gMethodCallback, 2, v8::None, V8DOMConfiguration::OnPrototype, V8DOMConfiguratio
n::CheckHolder, V8DOMConfiguration::DoNotCheckAccess, V8DOMConfiguration::AllWor
lds}, |
781 {"voidMethodUnrestrictedDoubleArgUnrestrictedFloatArg", V8TestInterface5::vo
idMethodUnrestrictedDoubleArgUnrestrictedFloatArgMethodCallback, nullptr, 2, v8:
:None, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder, V8DOMCo
nfiguration::DoNotCheckAccess}, | 781 {"voidMethodUnrestrictedDoubleArgUnrestrictedFloatArg", V8TestInterface5::vo
idMethodUnrestrictedDoubleArgUnrestrictedFloatArgMethodCallback, 2, v8::None, V8
DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder, V8DOMConfigurati
on::DoNotCheckAccess, V8DOMConfiguration::AllWorlds}, |
782 {"voidMethod", V8TestInterface5::voidMethodMethodCallback, V8TestInterface5:
:voidMethodMethodCallbackForMainWorld, 0, v8::None, V8DOMConfiguration::OnProtot
ype, V8DOMConfiguration::CheckHolder, V8DOMConfiguration::DoNotCheckAccess}, | 782 {"voidMethod", V8TestInterface5::voidMethodMethodCallbackForMainWorld, 0, v8
::None, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder, V8DOMC
onfiguration::DoNotCheckAccess, V8DOMConfiguration::MainWorld}, |
783 {"alwaysExposedMethod", V8TestInterface5::alwaysExposedMethodMethodCallback,
nullptr, 0, v8::None, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::Chec
kHolder, V8DOMConfiguration::DoNotCheckAccess}, | 783 {"voidMethod", V8TestInterface5::voidMethodMethodCallback, 0, v8::None, V8DO
MConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder, V8DOMConfiguration
::DoNotCheckAccess, V8DOMConfiguration::NonMainWorlds}, |
784 {"alwaysExposedStaticMethod", V8TestInterface5::alwaysExposedStaticMethodMet
hodCallback, nullptr, 0, v8::None, V8DOMConfiguration::OnInterface, V8DOMConfigu
ration::CheckHolder, V8DOMConfiguration::DoNotCheckAccess}, | 784 {"alwaysExposedMethod", V8TestInterface5::alwaysExposedMethodMethodCallback,
0, v8::None, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder,
V8DOMConfiguration::DoNotCheckAccess, V8DOMConfiguration::AllWorlds}, |
785 {"voidMethodBooleanOrDOMStringArg", V8TestInterface5::voidMethodBooleanOrDOM
StringArgMethodCallback, nullptr, 1, v8::None, V8DOMConfiguration::OnPrototype,
V8DOMConfiguration::CheckHolder, V8DOMConfiguration::DoNotCheckAccess}, | 785 {"alwaysExposedStaticMethod", V8TestInterface5::alwaysExposedStaticMethodMet
hodCallback, 0, v8::None, V8DOMConfiguration::OnInterface, V8DOMConfiguration::C
heckHolder, V8DOMConfiguration::DoNotCheckAccess, V8DOMConfiguration::AllWorlds}
, |
786 {"voidMethodDoubleOrDOMStringArg", V8TestInterface5::voidMethodDoubleOrDOMSt
ringArgMethodCallback, nullptr, 1, v8::None, V8DOMConfiguration::OnPrototype, V8
DOMConfiguration::CheckHolder, V8DOMConfiguration::DoNotCheckAccess}, | 786 {"voidMethodBooleanOrDOMStringArg", V8TestInterface5::voidMethodBooleanOrDOM
StringArgMethodCallback, 1, v8::None, V8DOMConfiguration::OnPrototype, V8DOMConf
iguration::CheckHolder, V8DOMConfiguration::DoNotCheckAccess, V8DOMConfiguration
::AllWorlds}, |
787 {"voidMethodVoidExperimentalCallbackFunction", V8TestInterface5::voidMethodV
oidExperimentalCallbackFunctionMethodCallback, nullptr, 1, v8::None, V8DOMConfig
uration::OnPrototype, V8DOMConfiguration::CheckHolder, V8DOMConfiguration::DoNot
CheckAccess}, | 787 {"voidMethodDoubleOrDOMStringArg", V8TestInterface5::voidMethodDoubleOrDOMSt
ringArgMethodCallback, 1, v8::None, V8DOMConfiguration::OnPrototype, V8DOMConfig
uration::CheckHolder, V8DOMConfiguration::DoNotCheckAccess, V8DOMConfiguration::
AllWorlds}, |
788 {"voidMethodVoidCallbackFunctionModulesArg", V8TestInterface5::voidMethodVoi
dCallbackFunctionModulesArgMethodCallback, nullptr, 1, v8::None, V8DOMConfigurat
ion::OnPrototype, V8DOMConfiguration::CheckHolder, V8DOMConfiguration::DoNotChec
kAccess}, | 788 {"voidMethodVoidExperimentalCallbackFunction", V8TestInterface5::voidMethodV
oidExperimentalCallbackFunctionMethodCallback, 1, v8::None, V8DOMConfiguration::
OnPrototype, V8DOMConfiguration::CheckHolder, V8DOMConfiguration::DoNotCheckAcce
ss, V8DOMConfiguration::AllWorlds}, |
789 {"toString", V8TestInterface5::toStringMethodCallback, nullptr, 0, static_ca
st<v8::PropertyAttribute>(v8::DontEnum), V8DOMConfiguration::OnPrototype, V8DOMC
onfiguration::CheckHolder, V8DOMConfiguration::DoNotCheckAccess}, | 789 {"voidMethodVoidCallbackFunctionModulesArg", V8TestInterface5::voidMethodVoi
dCallbackFunctionModulesArgMethodCallback, 1, v8::None, V8DOMConfiguration::OnPr
ototype, V8DOMConfiguration::CheckHolder, V8DOMConfiguration::DoNotCheckAccess,
V8DOMConfiguration::AllWorlds}, |
| 790 {"toString", V8TestInterface5::toStringMethodCallback, 0, static_cast<v8::Pr
opertyAttribute>(v8::DontEnum), V8DOMConfiguration::OnPrototype, V8DOMConfigurat
ion::CheckHolder, V8DOMConfiguration::DoNotCheckAccess, V8DOMConfiguration::AllW
orlds}, |
790 }; | 791 }; |
791 | 792 |
792 static void installV8TestInterface5Template(v8::Isolate* isolate, const DOMWrapp
erWorld& world, v8::Local<v8::FunctionTemplate> interfaceTemplate) { | 793 static void installV8TestInterface5Template(v8::Isolate* isolate, const DOMWrapp
erWorld& world, v8::Local<v8::FunctionTemplate> interfaceTemplate) { |
793 // Initialize the interface object's template. | 794 // Initialize the interface object's template. |
794 V8DOMConfiguration::initializeDOMInterfaceTemplate(isolate, interfaceTemplate,
V8TestInterface5::wrapperTypeInfo.interfaceName, V8TestInterfaceEmpty::domTempl
ate(isolate, world), V8TestInterface5::internalFieldCount); | 795 V8DOMConfiguration::initializeDOMInterfaceTemplate(isolate, interfaceTemplate,
V8TestInterface5::wrapperTypeInfo.interfaceName, V8TestInterfaceEmpty::domTempl
ate(isolate, world), V8TestInterface5::internalFieldCount); |
795 | 796 |
796 if (!RuntimeEnabledFeatures::featureNameEnabled()) { | 797 if (!RuntimeEnabledFeatures::featureNameEnabled()) { |
797 return; | 798 return; |
798 } | 799 } |
799 | 800 |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
861 | 862 |
862 if (executionContext && (executionContext->isWorkerGlobalScope())) { | 863 if (executionContext && (executionContext->isWorkerGlobalScope())) { |
863 const V8DOMConfiguration::AccessorConfiguration accessorConfiguration = {"wo
rkerExposedAttribute", V8TestInterface5::workerExposedAttributeAttributeGetterCa
llback, V8TestInterface5::workerExposedAttributeAttributeSetterCallback, nullptr
, nullptr, nullptr, nullptr, static_cast<v8::PropertyAttribute>(v8::None), V8DOM
Configuration::OnPrototype, V8DOMConfiguration::CheckHolder}; | 864 const V8DOMConfiguration::AccessorConfiguration accessorConfiguration = {"wo
rkerExposedAttribute", V8TestInterface5::workerExposedAttributeAttributeGetterCa
llback, V8TestInterface5::workerExposedAttributeAttributeSetterCallback, nullptr
, nullptr, nullptr, nullptr, static_cast<v8::PropertyAttribute>(v8::None), V8DOM
Configuration::OnPrototype, V8DOMConfiguration::CheckHolder}; |
864 V8DOMConfiguration::installAccessor(isolate, world, v8::Local<v8::Object>(),
prototypeObject, interfaceObject, signature, accessorConfiguration); | 865 V8DOMConfiguration::installAccessor(isolate, world, v8::Local<v8::Object>(),
prototypeObject, interfaceObject, signature, accessorConfiguration); |
865 } | 866 } |
866 if (executionContext && (executionContext->isDocument())) { | 867 if (executionContext && (executionContext->isDocument())) { |
867 const V8DOMConfiguration::AccessorConfiguration accessorConfiguration = {"wi
ndowExposedAttribute", V8TestInterface5::windowExposedAttributeAttributeGetterCa
llback, V8TestInterface5::windowExposedAttributeAttributeSetterCallback, nullptr
, nullptr, nullptr, nullptr, static_cast<v8::PropertyAttribute>(v8::None), V8DOM
Configuration::OnPrototype, V8DOMConfiguration::CheckHolder}; | 868 const V8DOMConfiguration::AccessorConfiguration accessorConfiguration = {"wi
ndowExposedAttribute", V8TestInterface5::windowExposedAttributeAttributeGetterCa
llback, V8TestInterface5::windowExposedAttributeAttributeSetterCallback, nullptr
, nullptr, nullptr, nullptr, static_cast<v8::PropertyAttribute>(v8::None), V8DOM
Configuration::OnPrototype, V8DOMConfiguration::CheckHolder}; |
868 V8DOMConfiguration::installAccessor(isolate, world, v8::Local<v8::Object>(),
prototypeObject, interfaceObject, signature, accessorConfiguration); | 869 V8DOMConfiguration::installAccessor(isolate, world, v8::Local<v8::Object>(),
prototypeObject, interfaceObject, signature, accessorConfiguration); |
869 } | 870 } |
870 if (executionContext && (executionContext->isWorkerGlobalScope())) { | 871 if (executionContext && (executionContext->isWorkerGlobalScope())) { |
871 const V8DOMConfiguration::MethodConfiguration workerExposedMethodMethodConfi
guration = {"workerExposedMethod", V8TestInterface5::workerExposedMethodMethodCa
llback, nullptr, 0, v8::None, V8DOMConfiguration::OnPrototype, V8DOMConfiguratio
n::CheckHolder, V8DOMConfiguration::DoNotCheckAccess}; | 872 const V8DOMConfiguration::MethodConfiguration workerExposedMethodMethodConfi
guration[] = { |
872 V8DOMConfiguration::installMethod(isolate, world, v8::Local<v8::Object>(), p
rototypeObject, interfaceObject, signature, workerExposedMethodMethodConfigurati
on); | 873 {"workerExposedMethod", V8TestInterface5::workerExposedMethodMethodCallbac
k, 0, v8::None, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder
, V8DOMConfiguration::DoNotCheckAccess, V8DOMConfiguration::AllWorlds} |
| 874 }; |
| 875 for (const auto& methodConfig : workerExposedMethodMethodConfiguration) |
| 876 V8DOMConfiguration::installMethod(isolate, world, v8::Local<v8::Object>(),
prototypeObject, interfaceObject, signature, methodConfig); |
873 } | 877 } |
874 if (executionContext && (executionContext->isDocument())) { | 878 if (executionContext && (executionContext->isDocument())) { |
875 const V8DOMConfiguration::MethodConfiguration windowExposedMethodMethodConfi
guration = {"windowExposedMethod", V8TestInterface5::windowExposedMethodMethodCa
llback, nullptr, 0, v8::None, V8DOMConfiguration::OnPrototype, V8DOMConfiguratio
n::CheckHolder, V8DOMConfiguration::DoNotCheckAccess}; | 879 const V8DOMConfiguration::MethodConfiguration windowExposedMethodMethodConfi
guration[] = { |
876 V8DOMConfiguration::installMethod(isolate, world, v8::Local<v8::Object>(), p
rototypeObject, interfaceObject, signature, windowExposedMethodMethodConfigurati
on); | 880 {"windowExposedMethod", V8TestInterface5::windowExposedMethodMethodCallbac
k, 0, v8::None, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder
, V8DOMConfiguration::DoNotCheckAccess, V8DOMConfiguration::AllWorlds} |
| 881 }; |
| 882 for (const auto& methodConfig : windowExposedMethodMethodConfiguration) |
| 883 V8DOMConfiguration::installMethod(isolate, world, v8::Local<v8::Object>(),
prototypeObject, interfaceObject, signature, methodConfig); |
877 } | 884 } |
878 if (executionContext && (executionContext->isWorkerGlobalScope())) { | 885 if (executionContext && (executionContext->isWorkerGlobalScope())) { |
879 const V8DOMConfiguration::MethodConfiguration workerExposedStaticMethodMetho
dConfiguration = {"workerExposedStaticMethod", V8TestInterface5::workerExposedSt
aticMethodMethodCallback, nullptr, 0, v8::None, V8DOMConfiguration::OnInterface,
V8DOMConfiguration::CheckHolder, V8DOMConfiguration::DoNotCheckAccess}; | 886 const V8DOMConfiguration::MethodConfiguration workerExposedStaticMethodMetho
dConfiguration[] = { |
880 V8DOMConfiguration::installMethod(isolate, world, v8::Local<v8::Object>(), p
rototypeObject, interfaceObject, signature, workerExposedStaticMethodMethodConfi
guration); | 887 {"workerExposedStaticMethod", V8TestInterface5::workerExposedStaticMethodM
ethodCallback, 0, v8::None, V8DOMConfiguration::OnInterface, V8DOMConfiguration:
:CheckHolder, V8DOMConfiguration::DoNotCheckAccess, V8DOMConfiguration::AllWorld
s} |
| 888 }; |
| 889 for (const auto& methodConfig : workerExposedStaticMethodMethodConfiguration
) |
| 890 V8DOMConfiguration::installMethod(isolate, world, v8::Local<v8::Object>(),
prototypeObject, interfaceObject, signature, methodConfig); |
881 } | 891 } |
882 if (executionContext && (executionContext->isDocument())) { | 892 if (executionContext && (executionContext->isDocument())) { |
883 const V8DOMConfiguration::MethodConfiguration windowExposedStaticMethodMetho
dConfiguration = {"windowExposedStaticMethod", V8TestInterface5::windowExposedSt
aticMethodMethodCallback, nullptr, 0, v8::None, V8DOMConfiguration::OnInterface,
V8DOMConfiguration::CheckHolder, V8DOMConfiguration::DoNotCheckAccess}; | 893 const V8DOMConfiguration::MethodConfiguration windowExposedStaticMethodMetho
dConfiguration[] = { |
884 V8DOMConfiguration::installMethod(isolate, world, v8::Local<v8::Object>(), p
rototypeObject, interfaceObject, signature, windowExposedStaticMethodMethodConfi
guration); | 894 {"windowExposedStaticMethod", V8TestInterface5::windowExposedStaticMethodM
ethodCallback, 0, v8::None, V8DOMConfiguration::OnInterface, V8DOMConfiguration:
:CheckHolder, V8DOMConfiguration::DoNotCheckAccess, V8DOMConfiguration::AllWorld
s} |
| 895 }; |
| 896 for (const auto& methodConfig : windowExposedStaticMethodMethodConfiguration
) |
| 897 V8DOMConfiguration::installMethod(isolate, world, v8::Local<v8::Object>(),
prototypeObject, interfaceObject, signature, methodConfig); |
885 } | 898 } |
886 if (executionContext && (executionContext->isDocument() || executionContext->i
sServiceWorkerGlobalScope())) { | 899 if (executionContext && (executionContext->isDocument() || executionContext->i
sServiceWorkerGlobalScope())) { |
887 const V8DOMConfiguration::MethodConfiguration windowAndServiceWorkerExposedM
ethodMethodConfiguration = {"windowAndServiceWorkerExposedMethod", V8TestInterfa
ce5::windowAndServiceWorkerExposedMethodMethodCallback, nullptr, 0, v8::None, V8
DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder, V8DOMConfigurati
on::DoNotCheckAccess}; | 900 const V8DOMConfiguration::MethodConfiguration windowAndServiceWorkerExposedM
ethodMethodConfiguration[] = { |
888 V8DOMConfiguration::installMethod(isolate, world, v8::Local<v8::Object>(), p
rototypeObject, interfaceObject, signature, windowAndServiceWorkerExposedMethodM
ethodConfiguration); | 901 {"windowAndServiceWorkerExposedMethod", V8TestInterface5::windowAndService
WorkerExposedMethodMethodCallback, 0, v8::None, V8DOMConfiguration::OnPrototype,
V8DOMConfiguration::CheckHolder, V8DOMConfiguration::DoNotCheckAccess, V8DOMCon
figuration::AllWorlds} |
| 902 }; |
| 903 for (const auto& methodConfig : windowAndServiceWorkerExposedMethodMethodCon
figuration) |
| 904 V8DOMConfiguration::installMethod(isolate, world, v8::Local<v8::Object>(),
prototypeObject, interfaceObject, signature, methodConfig); |
889 } | 905 } |
890 } | 906 } |
891 | 907 |
892 } // namespace blink | 908 } // namespace blink |
OLD | NEW |