Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(75)

Side by Side Diff: third_party/WebKit/Source/bindings/tests/results/modules/V8TestInterface5.cpp

Issue 2429343004: [CachedAccessor] for window.document. (Closed)
Patch Set: Fix expectation for global-interface-listing-expected, windows. Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 // clang-format off 8 // clang-format off
9 #include "V8TestInterface5.h" 9 #include "V8TestInterface5.h"
10 10
(...skipping 842 matching lines...) Expand 10 before | Expand all | Expand 10 after
853 } 853 }
854 } 854 }
855 855
856 // Suppress warning: global constructors, because AttributeConfiguration is triv ial 856 // Suppress warning: global constructors, because AttributeConfiguration is triv ial
857 // and does not depend on another global objects. 857 // and does not depend on another global objects.
858 #if defined(COMPONENT_BUILD) && defined(WIN32) && COMPILER(CLANG) 858 #if defined(COMPONENT_BUILD) && defined(WIN32) && COMPILER(CLANG)
859 #pragma clang diagnostic push 859 #pragma clang diagnostic push
860 #pragma clang diagnostic ignored "-Wglobal-constructors" 860 #pragma clang diagnostic ignored "-Wglobal-constructors"
861 #endif 861 #endif
862 const V8DOMConfiguration::AttributeConfiguration V8TestInterface5LazyDataAttribu tes[] = { 862 const V8DOMConfiguration::AttributeConfiguration V8TestInterface5LazyDataAttribu tes[] = {
863 {"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}, 863 {"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},
864 }; 864 };
865 #if defined(COMPONENT_BUILD) && defined(WIN32) && COMPILER(CLANG) 865 #if defined(COMPONENT_BUILD) && defined(WIN32) && COMPILER(CLANG)
866 #pragma clang diagnostic pop 866 #pragma clang diagnostic pop
867 #endif 867 #endif
868 868
869 const V8DOMConfiguration::AccessorConfiguration V8TestInterface5Accessors[] = { 869 const V8DOMConfiguration::AccessorConfiguration V8TestInterface5Accessors[] = {
870 {"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}, 870 {"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},
871 {"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}, 871 {"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},
872 {"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}, 872 {"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},
873 {"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}, 873 {"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},
874 {"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}, 874 {"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} ,
875 {"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}, 875 {"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},
876 {"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}, 876 {"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},
877 }; 877 };
878 878
879 const V8DOMConfiguration::MethodConfiguration V8TestInterface5Methods[] = { 879 const V8DOMConfiguration::MethodConfiguration V8TestInterface5Methods[] = {
880 {"voidMethodTestInterfaceEmptyArg", TestInterface5ImplementationV8Internal:: voidMethodTestInterfaceEmptyArgMethodCallback, 0, 1, v8::None, V8DOMConfiguratio n::ExposedToAllScripts, V8DOMConfiguration::OnPrototype}, 880 {"voidMethodTestInterfaceEmptyArg", TestInterface5ImplementationV8Internal:: voidMethodTestInterfaceEmptyArgMethodCallback, 0, 1, v8::None, V8DOMConfiguratio n::ExposedToAllScripts, V8DOMConfiguration::OnPrototype},
881 {"voidMethodDoubleArgFloatArg", TestInterface5ImplementationV8Internal::void MethodDoubleArgFloatArgMethodCallback, 0, 2, v8::None, V8DOMConfiguration::Expos edToAllScripts, V8DOMConfiguration::OnPrototype}, 881 {"voidMethodDoubleArgFloatArg", TestInterface5ImplementationV8Internal::void MethodDoubleArgFloatArgMethodCallback, 0, 2, v8::None, V8DOMConfiguration::Expos edToAllScripts, V8DOMConfiguration::OnPrototype},
882 {"voidMethodUnrestrictedDoubleArgUnrestrictedFloatArg", TestInterface5Implem entationV8Internal::voidMethodUnrestrictedDoubleArgUnrestrictedFloatArgMethodCal lback, 0, 2, v8::None, V8DOMConfiguration::ExposedToAllScripts, V8DOMConfigurati on::OnPrototype}, 882 {"voidMethodUnrestrictedDoubleArgUnrestrictedFloatArg", TestInterface5Implem entationV8Internal::voidMethodUnrestrictedDoubleArgUnrestrictedFloatArgMethodCal lback, 0, 2, v8::None, V8DOMConfiguration::ExposedToAllScripts, V8DOMConfigurati on::OnPrototype},
883 {"voidMethod", TestInterface5ImplementationV8Internal::voidMethodMethodCallb ack, TestInterface5ImplementationV8Internal::voidMethodMethodCallbackForMainWorl d, 0, v8::None, V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnP rototype}, 883 {"voidMethod", TestInterface5ImplementationV8Internal::voidMethodMethodCallb ack, TestInterface5ImplementationV8Internal::voidMethodMethodCallbackForMainWorl d, 0, v8::None, V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnP rototype},
884 {"alwaysExposedMethod", TestInterface5ImplementationV8Internal::alwaysExpose dMethodMethodCallback, 0, 0, v8::None, V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnPrototype}, 884 {"alwaysExposedMethod", TestInterface5ImplementationV8Internal::alwaysExpose dMethodMethodCallback, 0, 0, v8::None, V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnPrototype},
885 {"alwaysExposedStaticMethod", TestInterface5ImplementationV8Internal::always ExposedStaticMethodMethodCallback, 0, 0, v8::None, V8DOMConfiguration::ExposedTo AllScripts, V8DOMConfiguration::OnInterface}, 885 {"alwaysExposedStaticMethod", TestInterface5ImplementationV8Internal::always ExposedStaticMethodMethodCallback, 0, 0, v8::None, V8DOMConfiguration::ExposedTo AllScripts, V8DOMConfiguration::OnInterface},
886 {"voidMethodBooleanOrDOMStringArg", TestInterface5ImplementationV8Internal:: voidMethodBooleanOrDOMStringArgMethodCallback, 0, 1, v8::None, V8DOMConfiguratio n::ExposedToAllScripts, V8DOMConfiguration::OnPrototype}, 886 {"voidMethodBooleanOrDOMStringArg", TestInterface5ImplementationV8Internal:: voidMethodBooleanOrDOMStringArgMethodCallback, 0, 1, v8::None, V8DOMConfiguratio n::ExposedToAllScripts, V8DOMConfiguration::OnPrototype},
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
943 943
944 TestInterface5Implementation* V8TestInterface5::toImplWithTypeCheck(v8::Isolate* isolate, v8::Local<v8::Value> value) { 944 TestInterface5Implementation* V8TestInterface5::toImplWithTypeCheck(v8::Isolate* isolate, v8::Local<v8::Value> value) {
945 return hasInstance(value, isolate) ? toImpl(v8::Local<v8::Object>::Cast(value) ) : nullptr; 945 return hasInstance(value, isolate) ? toImpl(v8::Local<v8::Object>::Cast(value) ) : nullptr;
946 } 946 }
947 947
948 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) { 948 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) {
949 v8::Isolate* isolate = context->GetIsolate(); 949 v8::Isolate* isolate = context->GetIsolate();
950 ExecutionContext* executionContext = toExecutionContext(context); 950 ExecutionContext* executionContext = toExecutionContext(context);
951 v8::Local<v8::Signature> signature = v8::Signature::New(isolate, interfaceTemp late); 951 v8::Local<v8::Signature> signature = v8::Signature::New(isolate, interfaceTemp late);
952 if (executionContext && (executionContext->isWorkerGlobalScope())) { 952 if (executionContext && (executionContext->isWorkerGlobalScope())) {
953 const V8DOMConfiguration::AccessorConfiguration accessorConfiguration = {" workerExposedAttribute", TestInterface5ImplementationV8Internal::workerExposedAt tributeAttributeGetterCallback, TestInterface5ImplementationV8Internal::workerEx posedAttributeAttributeSetterCallback, 0, 0, 0, v8::DEFAULT, static_cast<v8::Pro pertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAllScripts, V8DOMConfigu ration::OnPrototype, V8DOMConfiguration::CheckHolder}; 953 const V8DOMConfiguration::AccessorConfiguration accessorConfiguration = {" workerExposedAttribute", TestInterface5ImplementationV8Internal::workerExposedAt tributeAttributeGetterCallback, TestInterface5ImplementationV8Internal::workerEx posedAttributeAttributeSetterCallback, 0, 0, nullptr, 0, v8::DEFAULT, static_cas t<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAllScripts, V8D OMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder};
954 V8DOMConfiguration::installAccessor(isolate, world, v8::Local<v8::Object>( ), prototypeObject, interfaceObject, signature, accessorConfiguration); 954 V8DOMConfiguration::installAccessor(isolate, world, v8::Local<v8::Object>( ), prototypeObject, interfaceObject, signature, accessorConfiguration);
955 } 955 }
956 if (executionContext && (executionContext->isDocument())) { 956 if (executionContext && (executionContext->isDocument())) {
957 const V8DOMConfiguration::AccessorConfiguration accessorConfiguration = {" windowExposedAttribute", TestInterface5ImplementationV8Internal::windowExposedAt tributeAttributeGetterCallback, TestInterface5ImplementationV8Internal::windowEx posedAttributeAttributeSetterCallback, 0, 0, 0, v8::DEFAULT, static_cast<v8::Pro pertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAllScripts, V8DOMConfigu ration::OnPrototype, V8DOMConfiguration::CheckHolder}; 957 const V8DOMConfiguration::AccessorConfiguration accessorConfiguration = {" windowExposedAttribute", TestInterface5ImplementationV8Internal::windowExposedAt tributeAttributeGetterCallback, TestInterface5ImplementationV8Internal::windowEx posedAttributeAttributeSetterCallback, 0, 0, nullptr, 0, v8::DEFAULT, static_cas t<v8::PropertyAttribute>(v8::None), V8DOMConfiguration::ExposedToAllScripts, V8D OMConfiguration::OnPrototype, V8DOMConfiguration::CheckHolder};
958 V8DOMConfiguration::installAccessor(isolate, world, v8::Local<v8::Object>( ), prototypeObject, interfaceObject, signature, accessorConfiguration); 958 V8DOMConfiguration::installAccessor(isolate, world, v8::Local<v8::Object>( ), prototypeObject, interfaceObject, signature, accessorConfiguration);
959 } 959 }
960 v8::Local<v8::Signature> signature = v8::Signature::New(isolate, interfaceTemp late); 960 v8::Local<v8::Signature> signature = v8::Signature::New(isolate, interfaceTemp late);
961 ExecutionContext* executionContext = toExecutionContext(prototypeObject->Creat ionContext()); 961 ExecutionContext* executionContext = toExecutionContext(prototypeObject->Creat ionContext());
962 DCHECK(executionContext); 962 DCHECK(executionContext);
963 if (executionContext && (executionContext->isWorkerGlobalScope())) { 963 if (executionContext && (executionContext->isWorkerGlobalScope())) {
964 const V8DOMConfiguration::MethodConfiguration workerExposedMethodMethodCon figuration = {"workerExposedMethod", TestInterface5ImplementationV8Internal::wor kerExposedMethodMethodCallback, 0, 0, v8::None, V8DOMConfiguration::ExposedToAll Scripts, V8DOMConfiguration::OnPrototype}; 964 const V8DOMConfiguration::MethodConfiguration workerExposedMethodMethodCon figuration = {"workerExposedMethod", TestInterface5ImplementationV8Internal::wor kerExposedMethodMethodCallback, 0, 0, v8::None, V8DOMConfiguration::ExposedToAll Scripts, V8DOMConfiguration::OnPrototype};
965 V8DOMConfiguration::installMethod(isolate, world, v8::Local<v8::Object>(), prototypeObject, interfaceObject, signature, workerExposedMethodMethodConfigura tion); 965 V8DOMConfiguration::installMethod(isolate, world, v8::Local<v8::Object>(), prototypeObject, interfaceObject, signature, workerExposedMethodMethodConfigura tion);
966 } 966 }
967 if (executionContext && (executionContext->isDocument())) { 967 if (executionContext && (executionContext->isDocument())) {
968 const V8DOMConfiguration::MethodConfiguration windowExposedMethodMethodCon figuration = {"windowExposedMethod", TestInterface5ImplementationV8Internal::win dowExposedMethodMethodCallback, 0, 0, v8::None, V8DOMConfiguration::ExposedToAll Scripts, V8DOMConfiguration::OnPrototype}; 968 const V8DOMConfiguration::MethodConfiguration windowExposedMethodMethodCon figuration = {"windowExposedMethod", TestInterface5ImplementationV8Internal::win dowExposedMethodMethodCallback, 0, 0, v8::None, V8DOMConfiguration::ExposedToAll Scripts, V8DOMConfiguration::OnPrototype};
969 V8DOMConfiguration::installMethod(isolate, world, v8::Local<v8::Object>(), prototypeObject, interfaceObject, signature, windowExposedMethodMethodConfigura tion); 969 V8DOMConfiguration::installMethod(isolate, world, v8::Local<v8::Object>(), prototypeObject, interfaceObject, signature, windowExposedMethodMethodConfigura tion);
970 } 970 }
971 if (executionContext && (executionContext->isWorkerGlobalScope())) { 971 if (executionContext && (executionContext->isWorkerGlobalScope())) {
972 const V8DOMConfiguration::MethodConfiguration workerExposedStaticMethodMet hodConfiguration = {"workerExposedStaticMethod", TestInterface5ImplementationV8I nternal::workerExposedStaticMethodMethodCallback, 0, 0, v8::None, V8DOMConfigura tion::ExposedToAllScripts, V8DOMConfiguration::OnInterface}; 972 const V8DOMConfiguration::MethodConfiguration workerExposedStaticMethodMet hodConfiguration = {"workerExposedStaticMethod", TestInterface5ImplementationV8I nternal::workerExposedStaticMethodMethodCallback, 0, 0, v8::None, V8DOMConfigura tion::ExposedToAllScripts, V8DOMConfiguration::OnInterface};
973 V8DOMConfiguration::installMethod(isolate, world, v8::Local<v8::Object>(), prototypeObject, interfaceObject, signature, workerExposedStaticMethodMethodCon figuration); 973 V8DOMConfiguration::installMethod(isolate, world, v8::Local<v8::Object>(), prototypeObject, interfaceObject, signature, workerExposedStaticMethodMethodCon figuration);
974 } 974 }
975 if (executionContext && (executionContext->isDocument())) { 975 if (executionContext && (executionContext->isDocument())) {
976 const V8DOMConfiguration::MethodConfiguration windowExposedStaticMethodMet hodConfiguration = {"windowExposedStaticMethod", TestInterface5ImplementationV8I nternal::windowExposedStaticMethodMethodCallback, 0, 0, v8::None, V8DOMConfigura tion::ExposedToAllScripts, V8DOMConfiguration::OnInterface}; 976 const V8DOMConfiguration::MethodConfiguration windowExposedStaticMethodMet hodConfiguration = {"windowExposedStaticMethod", TestInterface5ImplementationV8I nternal::windowExposedStaticMethodMethodCallback, 0, 0, v8::None, V8DOMConfigura tion::ExposedToAllScripts, V8DOMConfiguration::OnInterface};
977 V8DOMConfiguration::installMethod(isolate, world, v8::Local<v8::Object>(), prototypeObject, interfaceObject, signature, windowExposedStaticMethodMethodCon figuration); 977 V8DOMConfiguration::installMethod(isolate, world, v8::Local<v8::Object>(), prototypeObject, interfaceObject, signature, windowExposedStaticMethodMethodCon figuration);
978 } 978 }
979 if (executionContext && (executionContext->isDocument() || executionContext->i sServiceWorkerGlobalScope())) { 979 if (executionContext && (executionContext->isDocument() || executionContext->i sServiceWorkerGlobalScope())) {
980 const V8DOMConfiguration::MethodConfiguration windowAndServiceWorkerExpose dMethodMethodConfiguration = {"windowAndServiceWorkerExposedMethod", TestInterfa ce5ImplementationV8Internal::windowAndServiceWorkerExposedMethodMethodCallback, 0, 0, v8::None, V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnP rototype}; 980 const V8DOMConfiguration::MethodConfiguration windowAndServiceWorkerExpose dMethodMethodConfiguration = {"windowAndServiceWorkerExposedMethod", TestInterfa ce5ImplementationV8Internal::windowAndServiceWorkerExposedMethodMethodCallback, 0, 0, v8::None, V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::OnP rototype};
981 V8DOMConfiguration::installMethod(isolate, world, v8::Local<v8::Object>(), prototypeObject, interfaceObject, signature, windowAndServiceWorkerExposedMetho dMethodConfiguration); 981 V8DOMConfiguration::installMethod(isolate, world, v8::Local<v8::Object>(), prototypeObject, interfaceObject, signature, windowAndServiceWorkerExposedMetho dMethodConfiguration);
982 } 982 }
983 } 983 }
984 984
985 } // namespace blink 985 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698