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

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

Issue 2341643003: binding: Indexed properties should accompany with %ArrayProto_values%. (Closed)
Patch Set: Addressed a review comment. Created 4 years, 3 months 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
« no previous file with comments | « third_party/WebKit/Source/bindings/tests/results/core/V8TestObject.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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. DO NOT MODIFY! 5 // This file has been auto-generated by code_generator_v8.py. DO NOT MODIFY!
6 6
7 #include "V8TestInterface5.h" 7 #include "V8TestInterface5.h"
8 8
9 #include "bindings/core/v8/ExceptionState.h" 9 #include "bindings/core/v8/ExceptionState.h"
10 #include "bindings/core/v8/GeneratedCodeHelper.h" 10 #include "bindings/core/v8/GeneratedCodeHelper.h"
(...skipping 887 matching lines...) Expand 10 before | Expand all | Expand 10 after
898 } 898 }
899 899
900 // Indexed properties 900 // Indexed properties
901 v8::IndexedPropertyHandlerConfiguration indexedPropertyHandlerConfig(TestInt erface5ImplementationV8Internal::indexedPropertyGetterCallback, TestInterface5Im plementationV8Internal::indexedPropertySetterCallback, 0, TestInterface5Implemen tationV8Internal::indexedPropertyDeleterCallback, indexedPropertyEnumerator<Test Interface5Implementation>, v8::Local<v8::Value>(), v8::PropertyHandlerFlags::kNo ne); 901 v8::IndexedPropertyHandlerConfiguration indexedPropertyHandlerConfig(TestInt erface5ImplementationV8Internal::indexedPropertyGetterCallback, TestInterface5Im plementationV8Internal::indexedPropertySetterCallback, 0, TestInterface5Implemen tationV8Internal::indexedPropertyDeleterCallback, indexedPropertyEnumerator<Test Interface5Implementation>, v8::Local<v8::Value>(), v8::PropertyHandlerFlags::kNo ne);
902 instanceTemplate->SetHandler(indexedPropertyHandlerConfig); 902 instanceTemplate->SetHandler(indexedPropertyHandlerConfig);
903 // Named properties 903 // Named properties
904 v8::NamedPropertyHandlerConfiguration namedPropertyHandlerConfig(TestInterfa ce5ImplementationV8Internal::namedPropertyGetterCallback, TestInterface5Implemen tationV8Internal::namedPropertySetterCallback, TestInterface5ImplementationV8Int ernal::namedPropertyQueryCallback, TestInterface5ImplementationV8Internal::named PropertyDeleterCallback, TestInterface5ImplementationV8Internal::namedPropertyEn umeratorCallback, v8::Local<v8::Value>(), static_cast<v8::PropertyHandlerFlags>( int(v8::PropertyHandlerFlags::kOnlyInterceptStrings) | int(v8::PropertyHandlerFl ags::kNonMasking))); 904 v8::NamedPropertyHandlerConfiguration namedPropertyHandlerConfig(TestInterfa ce5ImplementationV8Internal::namedPropertyGetterCallback, TestInterface5Implemen tationV8Internal::namedPropertySetterCallback, TestInterface5ImplementationV8Int ernal::namedPropertyQueryCallback, TestInterface5ImplementationV8Internal::named PropertyDeleterCallback, TestInterface5ImplementationV8Internal::namedPropertyEn umeratorCallback, v8::Local<v8::Value>(), static_cast<v8::PropertyHandlerFlags>( int(v8::PropertyHandlerFlags::kOnlyInterceptStrings) | int(v8::PropertyHandlerFl ags::kNonMasking)));
905 instanceTemplate->SetHandler(namedPropertyHandlerConfig); 905 instanceTemplate->SetHandler(namedPropertyHandlerConfig);
906 906
907 // Iterator (@@iterator) 907 // Iterator (@@iterator)
908 const V8DOMConfiguration::SymbolKeyedMethodConfiguration symbolKeyedIterator Configuration = { v8::Symbol::GetIterator, TestInterface5ImplementationV8Interna l::iteratorMethodCallback, 0, v8::DontDelete, V8DOMConfiguration::ExposedToAllSc ripts, V8DOMConfiguration::OnPrototype }; 908 const V8DOMConfiguration::SymbolKeyedMethodConfiguration symbolKeyedIterator Configuration = { v8::Symbol::GetIterator, TestInterface5ImplementationV8Interna l::iteratorMethodCallback, 0, v8::DontEnum, V8DOMConfiguration::ExposedToAllScri pts, V8DOMConfiguration::OnPrototype };
909 V8DOMConfiguration::installMethod(isolate, world, prototypeTemplate, signatu re, symbolKeyedIteratorConfiguration); 909 V8DOMConfiguration::installMethod(isolate, world, prototypeTemplate, signatu re, symbolKeyedIteratorConfiguration);
910 910
911 instanceTemplate->SetCallAsFunctionHandler(V8TestInterface5::legacyCallCusto m); 911 instanceTemplate->SetCallAsFunctionHandler(V8TestInterface5::legacyCallCusto m);
912 } 912 }
913 913
914 v8::Local<v8::FunctionTemplate> V8TestInterface5::domTemplate(v8::Isolate* isola te, const DOMWrapperWorld& world) 914 v8::Local<v8::FunctionTemplate> V8TestInterface5::domTemplate(v8::Isolate* isola te, const DOMWrapperWorld& world)
915 { 915 {
916 return V8DOMConfiguration::domClassTemplate(isolate, world, const_cast<Wrapp erTypeInfo*>(&wrapperTypeInfo), installV8TestInterface5Template); 916 return V8DOMConfiguration::domClassTemplate(isolate, world, const_cast<Wrapp erTypeInfo*>(&wrapperTypeInfo), installV8TestInterface5Template);
917 } 917 }
918 918
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
963 const V8DOMConfiguration::MethodConfiguration windowExposedStaticMethodM ethodConfiguration = {"windowExposedStaticMethod", TestInterface5ImplementationV 8Internal::windowExposedStaticMethodMethodCallback, 0, 0, v8::None, V8DOMConfigu ration::ExposedToAllScripts, V8DOMConfiguration::OnInterface}; 963 const V8DOMConfiguration::MethodConfiguration windowExposedStaticMethodM ethodConfiguration = {"windowExposedStaticMethod", TestInterface5ImplementationV 8Internal::windowExposedStaticMethodMethodCallback, 0, 0, v8::None, V8DOMConfigu ration::ExposedToAllScripts, V8DOMConfiguration::OnInterface};
964 V8DOMConfiguration::installMethod(isolate, world, v8::Local<v8::Object>( ), prototypeObject, interfaceObject, signature, windowExposedStaticMethodMethodC onfiguration); 964 V8DOMConfiguration::installMethod(isolate, world, v8::Local<v8::Object>( ), prototypeObject, interfaceObject, signature, windowExposedStaticMethodMethodC onfiguration);
965 } 965 }
966 if (executionContext && (executionContext->isDocument() || executionContext- >isServiceWorkerGlobalScope())) { 966 if (executionContext && (executionContext->isDocument() || executionContext- >isServiceWorkerGlobalScope())) {
967 const V8DOMConfiguration::MethodConfiguration windowAndServiceWorkerExpo sedMethodMethodConfiguration = {"windowAndServiceWorkerExposedMethod", TestInter face5ImplementationV8Internal::windowAndServiceWorkerExposedMethodMethodCallback , 0, 0, v8::None, V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::O nPrototype}; 967 const V8DOMConfiguration::MethodConfiguration windowAndServiceWorkerExpo sedMethodMethodConfiguration = {"windowAndServiceWorkerExposedMethod", TestInter face5ImplementationV8Internal::windowAndServiceWorkerExposedMethodMethodCallback , 0, 0, v8::None, V8DOMConfiguration::ExposedToAllScripts, V8DOMConfiguration::O nPrototype};
968 V8DOMConfiguration::installMethod(isolate, world, v8::Local<v8::Object>( ), prototypeObject, interfaceObject, signature, windowAndServiceWorkerExposedMet hodMethodConfiguration); 968 V8DOMConfiguration::installMethod(isolate, world, v8::Local<v8::Object>( ), prototypeObject, interfaceObject, signature, windowAndServiceWorkerExposedMet hodMethodConfiguration);
969 } 969 }
970 } 970 }
971 971
972 } // namespace blink 972 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/bindings/tests/results/core/V8TestObject.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698