| 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 // clang-format off | 7 // clang-format off |
| 8 #include "V8TestInterface5.h" | 8 #include "V8TestInterface5.h" |
| 9 | 9 |
| 10 #include "bindings/core/v8/ExceptionState.h" | 10 #include "bindings/core/v8/ExceptionState.h" |
| (...skipping 826 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 837 } | 837 } |
| 838 } | 838 } |
| 839 | 839 |
| 840 // Suppress warning: global constructors, because AttributeConfiguration is triv
ial | 840 // Suppress warning: global constructors, because AttributeConfiguration is triv
ial |
| 841 // and does not depend on another global objects. | 841 // and does not depend on another global objects. |
| 842 #if defined(COMPONENT_BUILD) && defined(WIN32) && COMPILER(CLANG) | 842 #if defined(COMPONENT_BUILD) && defined(WIN32) && COMPILER(CLANG) |
| 843 #pragma clang diagnostic push | 843 #pragma clang diagnostic push |
| 844 #pragma clang diagnostic ignored "-Wglobal-constructors" | 844 #pragma clang diagnostic ignored "-Wglobal-constructors" |
| 845 #endif | 845 #endif |
| 846 const V8DOMConfiguration::AttributeConfiguration V8TestInterface5Attributes[] =
{ | 846 const V8DOMConfiguration::AttributeConfiguration V8TestInterface5Attributes[] =
{ |
| 847 {"testInterfaceConstructorAttribute", v8ConstructorAttributeGetter, 0, 0, 0,
const_cast<WrapperTypeInfo*>(&V8TestInterface5::wrapperTypeInfo), static_cast<v
8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::DontEnum)
, V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnInstance, V8DOM
Configuration::CheckHolder}, | 847 {"testInterfaceConstructorAttribute", v8ConstructorAttributeGetter, 0, 0, 0,
nullptr, const_cast<WrapperTypeInfo*>(&V8TestInterface5::wrapperTypeInfo), stat
ic_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::
DontEnum), V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnInstan
ce, V8DOMConfiguration::CheckHolder}, |
| 848 }; | 848 }; |
| 849 #if defined(COMPONENT_BUILD) && defined(WIN32) && COMPILER(CLANG) | 849 #if defined(COMPONENT_BUILD) && defined(WIN32) && COMPILER(CLANG) |
| 850 #pragma clang diagnostic pop | 850 #pragma clang diagnostic pop |
| 851 #endif | 851 #endif |
| 852 | 852 |
| 853 const V8DOMConfiguration::AccessorConfiguration V8TestInterface5Accessors[] = { | 853 const V8DOMConfiguration::AccessorConfiguration V8TestInterface5Accessors[] = { |
| 854 {"testInterfaceAttribute", TestInterface5ImplementationV8Internal::testInter
faceAttributeAttributeGetterCallback, TestInterface5ImplementationV8Internal::te
stInterfaceAttributeAttributeSetterCallback, 0, 0, 0, v8::DEFAULT, static_cast<v
8::PropertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAllScripts, V8DOMC
onfiguration::OnPrototype, V8DOMConfiguration::CheckHolder}, | 854 {"testInterfaceAttribute", TestInterface5ImplementationV8Internal::testInter
faceAttributeAttributeGetterCallback, TestInterface5ImplementationV8Internal::te
stInterfaceAttributeAttributeSetterCallback, 0, 0, nullptr, 0, v8::DEFAULT, stat
ic_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAllScript
s, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder}, |
| 855 {"doubleAttribute", TestInterface5ImplementationV8Internal::doubleAttributeA
ttributeGetterCallback, TestInterface5ImplementationV8Internal::doubleAttributeA
ttributeSetterCallback, 0, 0, 0, v8::DEFAULT, static_cast<v8::PropertyAttribute>
(v8::None), V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnProto
type, V8DOMConfiguration::CheckHolder}, | 855 {"doubleAttribute", TestInterface5ImplementationV8Internal::doubleAttributeA
ttributeGetterCallback, TestInterface5ImplementationV8Internal::doubleAttributeA
ttributeSetterCallback, 0, 0, nullptr, 0, v8::DEFAULT, static_cast<v8::PropertyA
ttribute>(v8::None), V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration
::OnPrototype, V8DOMConfiguration::CheckHolder}, |
| 856 {"floatAttribute", TestInterface5ImplementationV8Internal::floatAttributeAtt
ributeGetterCallback, TestInterface5ImplementationV8Internal::floatAttributeAttr
ibuteSetterCallback, 0, 0, 0, v8::DEFAULT, static_cast<v8::PropertyAttribute>(v8
::None), V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnPrototyp
e, V8DOMConfiguration::CheckHolder}, | 856 {"floatAttribute", TestInterface5ImplementationV8Internal::floatAttributeAtt
ributeGetterCallback, TestInterface5ImplementationV8Internal::floatAttributeAttr
ibuteSetterCallback, 0, 0, nullptr, 0, v8::DEFAULT, static_cast<v8::PropertyAttr
ibute>(v8::None), V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::O
nPrototype, V8DOMConfiguration::CheckHolder}, |
| 857 {"unrestrictedDoubleAttribute", TestInterface5ImplementationV8Internal::unre
strictedDoubleAttributeAttributeGetterCallback, TestInterface5ImplementationV8In
ternal::unrestrictedDoubleAttributeAttributeSetterCallback, 0, 0, 0, v8::DEFAULT
, static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAll
Scripts, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder}, | 857 {"unrestrictedDoubleAttribute", TestInterface5ImplementationV8Internal::unre
strictedDoubleAttributeAttributeGetterCallback, TestInterface5ImplementationV8In
ternal::unrestrictedDoubleAttributeAttributeSetterCallback, 0, 0, nullptr, 0, v8
::DEFAULT, static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::Exp
osedToAllScripts, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHold
er}, |
| 858 {"unrestrictedFloatAttribute", TestInterface5ImplementationV8Internal::unres
trictedFloatAttributeAttributeGetterCallback, TestInterface5ImplementationV8Inte
rnal::unrestrictedFloatAttributeAttributeSetterCallback, 0, 0, 0, v8::DEFAULT, s
tatic_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAllScr
ipts, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder}, | 858 {"unrestrictedFloatAttribute", TestInterface5ImplementationV8Internal::unres
trictedFloatAttributeAttributeGetterCallback, TestInterface5ImplementationV8Inte
rnal::unrestrictedFloatAttributeAttributeSetterCallback, 0, 0, nullptr, 0, v8::D
EFAULT, static_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::Expose
dToAllScripts, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder}
, |
| 859 {"staticStringAttribute", TestInterface5ImplementationV8Internal::staticStri
ngAttributeAttributeGetterCallback, TestInterface5ImplementationV8Internal::stat
icStringAttributeAttributeSetterCallback, 0, 0, 0, v8::DEFAULT, static_cast<v8::
PropertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAllScripts, V8DOMConf
iguration::OnInterface, V8DOMConfiguration::CheckHolder}, | 859 {"staticStringAttribute", TestInterface5ImplementationV8Internal::staticStri
ngAttributeAttributeGetterCallback, TestInterface5ImplementationV8Internal::stat
icStringAttributeAttributeSetterCallback, 0, 0, nullptr, 0, v8::DEFAULT, static_
cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAllScripts,
V8DOMConfiguration::OnInterface, V8DOMConfiguration::CheckHolder}, |
| 860 {"alwaysExposedAttribute", TestInterface5ImplementationV8Internal::alwaysExp
osedAttributeAttributeGetterCallback, TestInterface5ImplementationV8Internal::al
waysExposedAttributeAttributeSetterCallback, 0, 0, 0, v8::DEFAULT, static_cast<v
8::PropertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAllScripts, V8DOMC
onfiguration::OnPrototype, V8DOMConfiguration::CheckHolder}, | 860 {"alwaysExposedAttribute", TestInterface5ImplementationV8Internal::alwaysExp
osedAttributeAttributeGetterCallback, TestInterface5ImplementationV8Internal::al
waysExposedAttributeAttributeSetterCallback, 0, 0, nullptr, 0, v8::DEFAULT, stat
ic_cast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAllScript
s, V8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder}, |
| 861 }; | 861 }; |
| 862 | 862 |
| 863 const V8DOMConfiguration::MethodConfiguration V8TestInterface5Methods[] = { | 863 const V8DOMConfiguration::MethodConfiguration V8TestInterface5Methods[] = { |
| 864 {"voidMethodTestInterfaceEmptyArg", TestInterface5ImplementationV8Internal::
voidMethodTestInterfaceEmptyArgMethodCallback, 0, 1, v8::None, V8DOMConfiguratio
n::ExposedToAllScripts, V8DOMConfiguration::OnPrototype}, | 864 {"voidMethodTestInterfaceEmptyArg", TestInterface5ImplementationV8Internal::
voidMethodTestInterfaceEmptyArgMethodCallback, 0, 1, v8::None, V8DOMConfiguratio
n::ExposedToAllScripts, V8DOMConfiguration::OnPrototype}, |
| 865 {"voidMethodDoubleArgFloatArg", TestInterface5ImplementationV8Internal::void
MethodDoubleArgFloatArgMethodCallback, 0, 2, v8::None, V8DOMConfiguration::Expos
edToAllScripts, V8DOMConfiguration::OnPrototype}, | 865 {"voidMethodDoubleArgFloatArg", TestInterface5ImplementationV8Internal::void
MethodDoubleArgFloatArgMethodCallback, 0, 2, v8::None, V8DOMConfiguration::Expos
edToAllScripts, V8DOMConfiguration::OnPrototype}, |
| 866 {"voidMethodUnrestrictedDoubleArgUnrestrictedFloatArg", TestInterface5Implem
entationV8Internal::voidMethodUnrestrictedDoubleArgUnrestrictedFloatArgMethodCal
lback, 0, 2, v8::None, V8DOMConfiguration::ExposedToAllScripts, V8DOMConfigurati
on::OnPrototype}, | 866 {"voidMethodUnrestrictedDoubleArgUnrestrictedFloatArg", TestInterface5Implem
entationV8Internal::voidMethodUnrestrictedDoubleArgUnrestrictedFloatArgMethodCal
lback, 0, 2, v8::None, V8DOMConfiguration::ExposedToAllScripts, V8DOMConfigurati
on::OnPrototype}, |
| 867 {"voidMethod", TestInterface5ImplementationV8Internal::voidMethodMethodCallb
ack, TestInterface5ImplementationV8Internal::voidMethodMethodCallbackForMainWorl
d, 0, v8::None, V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnP
rototype}, | 867 {"voidMethod", TestInterface5ImplementationV8Internal::voidMethodMethodCallb
ack, TestInterface5ImplementationV8Internal::voidMethodMethodCallbackForMainWorl
d, 0, v8::None, V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnP
rototype}, |
| 868 {"alwaysExposedMethod", TestInterface5ImplementationV8Internal::alwaysExpose
dMethodMethodCallback, 0, 0, v8::None, V8DOMConfiguration::ExposedToAllScripts,
V8DOMConfiguration::OnPrototype}, | 868 {"alwaysExposedMethod", TestInterface5ImplementationV8Internal::alwaysExpose
dMethodMethodCallback, 0, 0, v8::None, V8DOMConfiguration::ExposedToAllScripts,
V8DOMConfiguration::OnPrototype}, |
| 869 {"alwaysExposedStaticMethod", TestInterface5ImplementationV8Internal::always
ExposedStaticMethodMethodCallback, 0, 0, v8::None, V8DOMConfiguration::ExposedTo
AllScripts, V8DOMConfiguration::OnInterface}, | 869 {"alwaysExposedStaticMethod", TestInterface5ImplementationV8Internal::always
ExposedStaticMethodMethodCallback, 0, 0, v8::None, V8DOMConfiguration::ExposedTo
AllScripts, V8DOMConfiguration::OnInterface}, |
| 870 {"voidMethodBooleanOrDOMStringArg", TestInterface5ImplementationV8Internal::
voidMethodBooleanOrDOMStringArgMethodCallback, 0, 1, v8::None, V8DOMConfiguratio
n::ExposedToAllScripts, V8DOMConfiguration::OnPrototype}, | 870 {"voidMethodBooleanOrDOMStringArg", TestInterface5ImplementationV8Internal::
voidMethodBooleanOrDOMStringArgMethodCallback, 0, 1, v8::None, V8DOMConfiguratio
n::ExposedToAllScripts, V8DOMConfiguration::OnPrototype}, |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 931 { | 931 { |
| 932 return hasInstance(value, isolate) ? toImpl(v8::Local<v8::Object>::Cast(valu
e)) : nullptr; | 932 return hasInstance(value, isolate) ? toImpl(v8::Local<v8::Object>::Cast(valu
e)) : nullptr; |
| 933 } | 933 } |
| 934 | 934 |
| 935 void V8TestInterface5::preparePrototypeAndInterfaceObject(v8::Local<v8::Context>
context, const DOMWrapperWorld& world, v8::Local<v8::Object> prototypeObject, v
8::Local<v8::Function> interfaceObject, v8::Local<v8::FunctionTemplate> interfac
eTemplate) | 935 void V8TestInterface5::preparePrototypeAndInterfaceObject(v8::Local<v8::Context>
context, const DOMWrapperWorld& world, v8::Local<v8::Object> prototypeObject, v
8::Local<v8::Function> interfaceObject, v8::Local<v8::FunctionTemplate> interfac
eTemplate) |
| 936 { | 936 { |
| 937 v8::Isolate* isolate = context->GetIsolate(); | 937 v8::Isolate* isolate = context->GetIsolate(); |
| 938 ExecutionContext* executionContext = toExecutionContext(context); | 938 ExecutionContext* executionContext = toExecutionContext(context); |
| 939 v8::Local<v8::Signature> signature = v8::Signature::New(isolate, interfaceTe
mplate); | 939 v8::Local<v8::Signature> signature = v8::Signature::New(isolate, interfaceTe
mplate); |
| 940 if (executionContext && (executionContext->isWorkerGlobalScope())) { | 940 if (executionContext && (executionContext->isWorkerGlobalScope())) { |
| 941 const V8DOMConfiguration::AccessorConfiguration accessorConfiguration =
{"workerExposedAttribute", TestInterface5ImplementationV8Internal::workerExposed
AttributeAttributeGetterCallback, TestInterface5ImplementationV8Internal::worker
ExposedAttributeAttributeSetterCallback, 0, 0, 0, v8::DEFAULT, static_cast<v8::P
ropertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAllScripts, V8DOMConfi
guration::OnPrototype, V8DOMConfiguration::CheckHolder}; | 941 const V8DOMConfiguration::AccessorConfiguration accessorConfiguration =
{"workerExposedAttribute", TestInterface5ImplementationV8Internal::workerExposed
AttributeAttributeGetterCallback, TestInterface5ImplementationV8Internal::worker
ExposedAttributeAttributeSetterCallback, 0, 0, nullptr, 0, v8::DEFAULT, static_c
ast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAllScripts, V
8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder}; |
| 942 V8DOMConfiguration::installAccessor(isolate, world, v8::Local<v8::Object
>(), prototypeObject, interfaceObject, signature, accessorConfiguration); | 942 V8DOMConfiguration::installAccessor(isolate, world, v8::Local<v8::Object
>(), prototypeObject, interfaceObject, signature, accessorConfiguration); |
| 943 } | 943 } |
| 944 if (executionContext && (executionContext->isDocument())) { | 944 if (executionContext && (executionContext->isDocument())) { |
| 945 const V8DOMConfiguration::AccessorConfiguration accessorConfiguration =
{"windowExposedAttribute", TestInterface5ImplementationV8Internal::windowExposed
AttributeAttributeGetterCallback, TestInterface5ImplementationV8Internal::window
ExposedAttributeAttributeSetterCallback, 0, 0, 0, v8::DEFAULT, static_cast<v8::P
ropertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAllScripts, V8DOMConfi
guration::OnPrototype, V8DOMConfiguration::CheckHolder}; | 945 const V8DOMConfiguration::AccessorConfiguration accessorConfiguration =
{"windowExposedAttribute", TestInterface5ImplementationV8Internal::windowExposed
AttributeAttributeGetterCallback, TestInterface5ImplementationV8Internal::window
ExposedAttributeAttributeSetterCallback, 0, 0, nullptr, 0, v8::DEFAULT, static_c
ast<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAllScripts, V
8DOMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder}; |
| 946 V8DOMConfiguration::installAccessor(isolate, world, v8::Local<v8::Object
>(), prototypeObject, interfaceObject, signature, accessorConfiguration); | 946 V8DOMConfiguration::installAccessor(isolate, world, v8::Local<v8::Object
>(), prototypeObject, interfaceObject, signature, accessorConfiguration); |
| 947 } | 947 } |
| 948 v8::Local<v8::Signature> signature = v8::Signature::New(isolate, interfaceTe
mplate); | 948 v8::Local<v8::Signature> signature = v8::Signature::New(isolate, interfaceTe
mplate); |
| 949 ExecutionContext* executionContext = toExecutionContext(prototypeObject->Cre
ationContext()); | 949 ExecutionContext* executionContext = toExecutionContext(prototypeObject->Cre
ationContext()); |
| 950 ASSERT(executionContext); | 950 ASSERT(executionContext); |
| 951 if (executionContext && (executionContext->isWorkerGlobalScope())) { | 951 if (executionContext && (executionContext->isWorkerGlobalScope())) { |
| 952 const V8DOMConfiguration::MethodConfiguration workerExposedMethodMethodC
onfiguration = {"workerExposedMethod", TestInterface5ImplementationV8Internal::w
orkerExposedMethodMethodCallback, 0, 0, v8::None, V8DOMConfiguration::ExposedToA
llScripts, V8DOMConfiguration::OnPrototype}; | 952 const V8DOMConfiguration::MethodConfiguration workerExposedMethodMethodC
onfiguration = {"workerExposedMethod", TestInterface5ImplementationV8Internal::w
orkerExposedMethodMethodCallback, 0, 0, v8::None, V8DOMConfiguration::ExposedToA
llScripts, V8DOMConfiguration::OnPrototype}; |
| 953 V8DOMConfiguration::installMethod(isolate, world, v8::Local<v8::Object>(
), prototypeObject, interfaceObject, signature, workerExposedMethodMethodConfigu
ration); | 953 V8DOMConfiguration::installMethod(isolate, world, v8::Local<v8::Object>(
), prototypeObject, interfaceObject, signature, workerExposedMethodMethodConfigu
ration); |
| 954 } | 954 } |
| 955 if (executionContext && (executionContext->isDocument())) { | 955 if (executionContext && (executionContext->isDocument())) { |
| 956 const V8DOMConfiguration::MethodConfiguration windowExposedMethodMethodC
onfiguration = {"windowExposedMethod", TestInterface5ImplementationV8Internal::w
indowExposedMethodMethodCallback, 0, 0, v8::None, V8DOMConfiguration::ExposedToA
llScripts, V8DOMConfiguration::OnPrototype}; | 956 const V8DOMConfiguration::MethodConfiguration windowExposedMethodMethodC
onfiguration = {"windowExposedMethod", TestInterface5ImplementationV8Internal::w
indowExposedMethodMethodCallback, 0, 0, v8::None, V8DOMConfiguration::ExposedToA
llScripts, V8DOMConfiguration::OnPrototype}; |
| 957 V8DOMConfiguration::installMethod(isolate, world, v8::Local<v8::Object>(
), prototypeObject, interfaceObject, signature, windowExposedMethodMethodConfigu
ration); | 957 V8DOMConfiguration::installMethod(isolate, world, v8::Local<v8::Object>(
), prototypeObject, interfaceObject, signature, windowExposedMethodMethodConfigu
ration); |
| 958 } | 958 } |
| 959 if (executionContext && (executionContext->isWorkerGlobalScope())) { | 959 if (executionContext && (executionContext->isWorkerGlobalScope())) { |
| 960 const V8DOMConfiguration::MethodConfiguration workerExposedStaticMethodM
ethodConfiguration = {"workerExposedStaticMethod", TestInterface5ImplementationV
8Internal::workerExposedStaticMethodMethodCallback, 0, 0, v8::None, V8DOMConfigu
ration::ExposedToAllScripts, V8DOMConfiguration::OnInterface}; | 960 const V8DOMConfiguration::MethodConfiguration workerExposedStaticMethodM
ethodConfiguration = {"workerExposedStaticMethod", TestInterface5ImplementationV
8Internal::workerExposedStaticMethodMethodCallback, 0, 0, v8::None, V8DOMConfigu
ration::ExposedToAllScripts, V8DOMConfiguration::OnInterface}; |
| 961 V8DOMConfiguration::installMethod(isolate, world, v8::Local<v8::Object>(
), prototypeObject, interfaceObject, signature, workerExposedStaticMethodMethodC
onfiguration); | 961 V8DOMConfiguration::installMethod(isolate, world, v8::Local<v8::Object>(
), prototypeObject, interfaceObject, signature, workerExposedStaticMethodMethodC
onfiguration); |
| 962 } | 962 } |
| 963 if (executionContext && (executionContext->isDocument())) { | 963 if (executionContext && (executionContext->isDocument())) { |
| 964 const V8DOMConfiguration::MethodConfiguration windowExposedStaticMethodM
ethodConfiguration = {"windowExposedStaticMethod", TestInterface5ImplementationV
8Internal::windowExposedStaticMethodMethodCallback, 0, 0, v8::None, V8DOMConfigu
ration::ExposedToAllScripts, V8DOMConfiguration::OnInterface}; | 964 const V8DOMConfiguration::MethodConfiguration windowExposedStaticMethodM
ethodConfiguration = {"windowExposedStaticMethod", TestInterface5ImplementationV
8Internal::windowExposedStaticMethodMethodCallback, 0, 0, v8::None, V8DOMConfigu
ration::ExposedToAllScripts, V8DOMConfiguration::OnInterface}; |
| 965 V8DOMConfiguration::installMethod(isolate, world, v8::Local<v8::Object>(
), prototypeObject, interfaceObject, signature, windowExposedStaticMethodMethodC
onfiguration); | 965 V8DOMConfiguration::installMethod(isolate, world, v8::Local<v8::Object>(
), prototypeObject, interfaceObject, signature, windowExposedStaticMethodMethodC
onfiguration); |
| 966 } | 966 } |
| 967 if (executionContext && (executionContext->isDocument() || executionContext-
>isServiceWorkerGlobalScope())) { | 967 if (executionContext && (executionContext->isDocument() || executionContext-
>isServiceWorkerGlobalScope())) { |
| 968 const V8DOMConfiguration::MethodConfiguration windowAndServiceWorkerExpo
sedMethodMethodConfiguration = {"windowAndServiceWorkerExposedMethod", TestInter
face5ImplementationV8Internal::windowAndServiceWorkerExposedMethodMethodCallback
, 0, 0, v8::None, V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::O
nPrototype}; | 968 const V8DOMConfiguration::MethodConfiguration windowAndServiceWorkerExpo
sedMethodMethodConfiguration = {"windowAndServiceWorkerExposedMethod", TestInter
face5ImplementationV8Internal::windowAndServiceWorkerExposedMethodMethodCallback
, 0, 0, v8::None, V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::O
nPrototype}; |
| 969 V8DOMConfiguration::installMethod(isolate, world, v8::Local<v8::Object>(
), prototypeObject, interfaceObject, signature, windowAndServiceWorkerExposedMet
hodMethodConfiguration); | 969 V8DOMConfiguration::installMethod(isolate, world, v8::Local<v8::Object>(
), prototypeObject, interfaceObject, signature, windowAndServiceWorkerExposedMet
hodMethodConfiguration); |
| 970 } | 970 } |
| 971 } | 971 } |
| 972 | 972 |
| 973 } // namespace blink | 973 } // namespace blink |
| OLD | NEW |