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 "V8TestInterface5.h" | 9 #include "V8TestInterface5.h" |
10 | 10 |
(...skipping 755 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
766 V8TestInterface5Methods, WTF_ARRAY_LENGTH(V8TestInterface5Methods), | 766 V8TestInterface5Methods, WTF_ARRAY_LENGTH(V8TestInterface5Methods), |
767 isolate); | 767 isolate); |
768 v8::Local<v8::ObjectTemplate> instanceTemplate = functionTemplate->InstanceT
emplate(); | 768 v8::Local<v8::ObjectTemplate> instanceTemplate = functionTemplate->InstanceT
emplate(); |
769 ALLOW_UNUSED_LOCAL(instanceTemplate); | 769 ALLOW_UNUSED_LOCAL(instanceTemplate); |
770 v8::Local<v8::ObjectTemplate> prototypeTemplate = functionTemplate->Prototyp
eTemplate(); | 770 v8::Local<v8::ObjectTemplate> prototypeTemplate = functionTemplate->Prototyp
eTemplate(); |
771 ALLOW_UNUSED_LOCAL(prototypeTemplate); | 771 ALLOW_UNUSED_LOCAL(prototypeTemplate); |
772 static const V8DOMConfiguration::ConstantConfiguration V8TestInterface5Const
ants[] = { | 772 static const V8DOMConfiguration::ConstantConfiguration V8TestInterface5Const
ants[] = { |
773 {"UNSIGNED_LONG", 0, 0, 0, V8DOMConfiguration::ConstantTypeUnsignedLong}
, | 773 {"UNSIGNED_LONG", 0, 0, 0, V8DOMConfiguration::ConstantTypeUnsignedLong}
, |
774 {"CONST_JAVASCRIPT", 1, 0, 0, V8DOMConfiguration::ConstantTypeShort}, | 774 {"CONST_JAVASCRIPT", 1, 0, 0, V8DOMConfiguration::ConstantTypeShort}, |
775 }; | 775 }; |
776 V8DOMConfiguration::installConstants(functionTemplate, prototypeTemplate, V8
TestInterface5Constants, WTF_ARRAY_LENGTH(V8TestInterface5Constants), isolate); | 776 V8DOMConfiguration::installConstants(isolate, functionTemplate, prototypeTem
plate, V8TestInterface5Constants, WTF_ARRAY_LENGTH(V8TestInterface5Constants)); |
777 functionTemplate->InstanceTemplate()->SetIndexedPropertyHandler(TestInterfac
e5ImplementationV8Internal::indexedPropertyGetterCallback, TestInterface5Impleme
ntationV8Internal::indexedPropertySetterCallback, 0, TestInterface5Implementatio
nV8Internal::indexedPropertyDeleterCallback, indexedPropertyEnumerator<TestInter
face5Implementation>); | 777 functionTemplate->InstanceTemplate()->SetIndexedPropertyHandler(TestInterfac
e5ImplementationV8Internal::indexedPropertyGetterCallback, TestInterface5Impleme
ntationV8Internal::indexedPropertySetterCallback, 0, TestInterface5Implementatio
nV8Internal::indexedPropertyDeleterCallback, indexedPropertyEnumerator<TestInter
face5Implementation>); |
778 functionTemplate->InstanceTemplate()->SetNamedPropertyHandler(TestInterface5
ImplementationV8Internal::namedPropertyGetterCallback, TestInterface5Implementat
ionV8Internal::namedPropertySetterCallback, TestInterface5ImplementationV8Intern
al::namedPropertyQueryCallback, TestInterface5ImplementationV8Internal::namedPro
pertyDeleterCallback, TestInterface5ImplementationV8Internal::namedPropertyEnume
ratorCallback); | 778 functionTemplate->InstanceTemplate()->SetNamedPropertyHandler(TestInterface5
ImplementationV8Internal::namedPropertyGetterCallback, TestInterface5Implementat
ionV8Internal::namedPropertySetterCallback, TestInterface5ImplementationV8Intern
al::namedPropertyQueryCallback, TestInterface5ImplementationV8Internal::namedPro
pertyDeleterCallback, TestInterface5ImplementationV8Internal::namedPropertyEnume
ratorCallback); |
779 static const V8DOMConfiguration::SymbolKeyedMethodConfiguration symbolKeyedI
teratorConfiguration = { v8::Symbol::GetIterator, TestInterface5ImplementationV8
Internal::iteratorMethodCallback, 0, V8DOMConfiguration::ExposedToAllScripts }; | 779 static const V8DOMConfiguration::SymbolKeyedMethodConfiguration symbolKeyedI
teratorConfiguration = { v8::Symbol::GetIterator, TestInterface5ImplementationV8
Internal::iteratorMethodCallback, 0, V8DOMConfiguration::ExposedToAllScripts }; |
780 V8DOMConfiguration::installMethod(prototypeTemplate, defaultSignature, v8::D
ontDelete, symbolKeyedIteratorConfiguration, isolate); | 780 V8DOMConfiguration::installMethod(prototypeTemplate, defaultSignature, v8::D
ontDelete, symbolKeyedIteratorConfiguration, isolate); |
781 functionTemplate->InstanceTemplate()->SetCallAsFunctionHandler(V8TestInterfa
ce5::legacyCallCustom); | 781 functionTemplate->InstanceTemplate()->SetCallAsFunctionHandler(V8TestInterfa
ce5::legacyCallCustom); |
782 static const V8DOMConfiguration::MethodConfiguration alwaysExposedStaticMeth
odMethodConfiguration = { | 782 static const V8DOMConfiguration::MethodConfiguration alwaysExposedStaticMeth
odMethodConfiguration = { |
783 "alwaysExposedStaticMethod", TestInterface5ImplementationV8Internal::alw
aysExposedStaticMethodMethodCallback, 0, 0, V8DOMConfiguration::ExposedToAllScri
pts, | 783 "alwaysExposedStaticMethod", TestInterface5ImplementationV8Internal::alw
aysExposedStaticMethodMethodCallback, 0, 0, V8DOMConfiguration::ExposedToAllScri
pts, |
784 }; | 784 }; |
785 V8DOMConfiguration::installMethod(functionTemplate, v8::Local<v8::Signature>
(), v8::None, alwaysExposedStaticMethodMethodConfiguration, isolate); | 785 V8DOMConfiguration::installMethod(functionTemplate, v8::Local<v8::Signature>
(), v8::None, alwaysExposedStaticMethodMethodConfiguration, isolate); |
786 static const V8DOMConfiguration::MethodConfiguration toStringMethodConfigura
tion = { | 786 static const V8DOMConfiguration::MethodConfiguration toStringMethodConfigura
tion = { |
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
869 } | 869 } |
870 | 870 |
871 template<> | 871 template<> |
872 v8::Handle<v8::Value> toV8NoInline(TestInterface5Implementation* impl, v8::Handl
e<v8::Object> creationContext, v8::Isolate* isolate) | 872 v8::Handle<v8::Value> toV8NoInline(TestInterface5Implementation* impl, v8::Handl
e<v8::Object> creationContext, v8::Isolate* isolate) |
873 { | 873 { |
874 return toV8(impl, creationContext, isolate); | 874 return toV8(impl, creationContext, isolate); |
875 } | 875 } |
876 | 876 |
877 } // namespace blink | 877 } // namespace blink |
878 #endif // ENABLE(CONDITION) | 878 #endif // ENABLE(CONDITION) |
OLD | NEW |