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 "V8TestInterface.h" | 9 #include "V8TestInterface.h" |
10 | 10 |
(...skipping 1169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1180 overloadMethodWithExposedAndRuntimeEnabledFlag2Method(info); | 1180 overloadMethodWithExposedAndRuntimeEnabledFlag2Method(info); |
1181 return; | 1181 return; |
1182 } | 1182 } |
1183 } | 1183 } |
1184 if (true) { | 1184 if (true) { |
1185 overloadMethodWithExposedAndRuntimeEnabledFlag1Method(info); | 1185 overloadMethodWithExposedAndRuntimeEnabledFlag1Method(info); |
1186 return; | 1186 return; |
1187 } | 1187 } |
1188 break; | 1188 break; |
1189 default: | 1189 default: |
| 1190 break; |
| 1191 } |
| 1192 if (info.Length() < 1) { |
1190 exceptionState.throwTypeError(ExceptionMessages::notEnoughArguments(1, i
nfo.Length())); | 1193 exceptionState.throwTypeError(ExceptionMessages::notEnoughArguments(1, i
nfo.Length())); |
1191 exceptionState.throwIfNeeded(); | 1194 exceptionState.throwIfNeeded(); |
1192 return; | 1195 return; |
1193 } | 1196 } |
1194 exceptionState.throwTypeError("No function was found that matched the signat
ure provided."); | 1197 exceptionState.throwTypeError("No function was found that matched the signat
ure provided."); |
1195 exceptionState.throwIfNeeded(); | 1198 exceptionState.throwIfNeeded(); |
1196 } | 1199 } |
1197 | 1200 |
1198 static void overloadMethodWithExposedAndRuntimeEnabledFlagMethodCallback(const v
8::FunctionCallbackInfo<v8::Value>& info) | 1201 static void overloadMethodWithExposedAndRuntimeEnabledFlagMethodCallback(const v
8::FunctionCallbackInfo<v8::Value>& info) |
1199 { | 1202 { |
(...skipping 773 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1973 V8DOMConfiguration::installConstants(isolate, functionTemplate, prototypeTem
plate, V8TestInterfaceConstants, WTF_ARRAY_LENGTH(V8TestInterfaceConstants)); | 1976 V8DOMConfiguration::installConstants(isolate, functionTemplate, prototypeTem
plate, V8TestInterfaceConstants, WTF_ARRAY_LENGTH(V8TestInterfaceConstants)); |
1974 if (RuntimeEnabledFeatures::partialFeatureNameEnabled()) { | 1977 if (RuntimeEnabledFeatures::partialFeatureNameEnabled()) { |
1975 static const V8DOMConfiguration::ConstantConfiguration constantConfigura
tion = {"PARTIAL_UNSIGNED_SHORT", 0, 0, 0, V8DOMConfiguration::ConstantTypeUnsig
nedShort}; | 1978 static const V8DOMConfiguration::ConstantConfiguration constantConfigura
tion = {"PARTIAL_UNSIGNED_SHORT", 0, 0, 0, V8DOMConfiguration::ConstantTypeUnsig
nedShort}; |
1976 V8DOMConfiguration::installConstants(isolate, functionTemplate, prototyp
eTemplate, &constantConfiguration, 1); | 1979 V8DOMConfiguration::installConstants(isolate, functionTemplate, prototyp
eTemplate, &constantConfiguration, 1); |
1977 } | 1980 } |
1978 functionTemplate->InstanceTemplate()->SetIndexedPropertyHandler(TestInterfac
eImplementationV8Internal::indexedPropertyGetterCallback, TestInterfaceImplement
ationV8Internal::indexedPropertySetterCallback, 0, TestInterfaceImplementationV8
Internal::indexedPropertyDeleterCallback, indexedPropertyEnumerator<TestInterfac
eImplementation>); | 1981 functionTemplate->InstanceTemplate()->SetIndexedPropertyHandler(TestInterfac
eImplementationV8Internal::indexedPropertyGetterCallback, TestInterfaceImplement
ationV8Internal::indexedPropertySetterCallback, 0, TestInterfaceImplementationV8
Internal::indexedPropertyDeleterCallback, indexedPropertyEnumerator<TestInterfac
eImplementation>); |
1979 functionTemplate->InstanceTemplate()->SetNamedPropertyHandler(TestInterfaceI
mplementationV8Internal::namedPropertyGetterCallback, TestInterfaceImplementatio
nV8Internal::namedPropertySetterCallback, TestInterfaceImplementationV8Internal:
:namedPropertyQueryCallback, TestInterfaceImplementationV8Internal::namedPropert
yDeleterCallback, TestInterfaceImplementationV8Internal::namedPropertyEnumerator
Callback); | 1982 functionTemplate->InstanceTemplate()->SetNamedPropertyHandler(TestInterfaceI
mplementationV8Internal::namedPropertyGetterCallback, TestInterfaceImplementatio
nV8Internal::namedPropertySetterCallback, TestInterfaceImplementationV8Internal:
:namedPropertyQueryCallback, TestInterfaceImplementationV8Internal::namedPropert
yDeleterCallback, TestInterfaceImplementationV8Internal::namedPropertyEnumerator
Callback); |
1980 static const V8DOMConfiguration::SymbolKeyedMethodConfiguration symbolKeyedI
teratorConfiguration = { v8::Symbol::GetIterator, TestInterfaceImplementationV8I
nternal::iteratorMethodCallback, 0, V8DOMConfiguration::ExposedToAllScripts }; | 1983 static const V8DOMConfiguration::SymbolKeyedMethodConfiguration symbolKeyedI
teratorConfiguration = { v8::Symbol::GetIterator, TestInterfaceImplementationV8I
nternal::iteratorMethodCallback, 0, V8DOMConfiguration::ExposedToAllScripts }; |
1981 V8DOMConfiguration::installMethod(prototypeTemplate, defaultSignature, v8::D
ontDelete, symbolKeyedIteratorConfiguration, isolate); | 1984 V8DOMConfiguration::installMethod(prototypeTemplate, defaultSignature, v8::D
ontDelete, symbolKeyedIteratorConfiguration, isolate); |
1982 functionTemplate->InstanceTemplate()->SetCallAsFunctionHandler(V8TestInterfa
ce::legacyCallCustom); | 1985 functionTemplate->InstanceTemplate()->SetCallAsFunctionHandler(V8TestInterfa
ce::legacyCallCustom); |
1983 static const V8DOMConfiguration::MethodConfiguration alwaysExposedStaticMeth
odMethodConfiguration = { | 1986 const V8DOMConfiguration::MethodConfiguration alwaysExposedStaticMethodMetho
dConfiguration = { |
1984 "alwaysExposedStaticMethod", TestInterfaceImplementationV8Internal::alwa
ysExposedStaticMethodMethodCallback, 0, 0, V8DOMConfiguration::ExposedToAllScrip
ts, | 1987 "alwaysExposedStaticMethod", TestInterfaceImplementationV8Internal::alwa
ysExposedStaticMethodMethodCallback, 0, 0, V8DOMConfiguration::ExposedToAllScrip
ts, |
1985 }; | 1988 }; |
1986 V8DOMConfiguration::installMethod(functionTemplate, v8::Local<v8::Signature>
(), v8::None, alwaysExposedStaticMethodMethodConfiguration, isolate); | 1989 V8DOMConfiguration::installMethod(functionTemplate, v8::Local<v8::Signature>
(), v8::None, alwaysExposedStaticMethodMethodConfiguration, isolate); |
1987 static const V8DOMConfiguration::MethodConfiguration implementsStaticVoidMet
hodMethodConfiguration = { | 1990 const V8DOMConfiguration::MethodConfiguration implementsStaticVoidMethodMeth
odConfiguration = { |
1988 "implementsStaticVoidMethod", TestInterfaceImplementationV8Internal::imp
lementsStaticVoidMethodMethodCallback, 0, 0, V8DOMConfiguration::ExposedToAllScr
ipts, | 1991 "implementsStaticVoidMethod", TestInterfaceImplementationV8Internal::imp
lementsStaticVoidMethodMethodCallback, 0, 0, V8DOMConfiguration::ExposedToAllScr
ipts, |
1989 }; | 1992 }; |
1990 V8DOMConfiguration::installMethod(functionTemplate, v8::Local<v8::Signature>
(), v8::None, implementsStaticVoidMethodMethodConfiguration, isolate); | 1993 V8DOMConfiguration::installMethod(functionTemplate, v8::Local<v8::Signature>
(), v8::None, implementsStaticVoidMethodMethodConfiguration, isolate); |
1991 if (RuntimeEnabledFeatures::implements2FeatureNameEnabled()) { | 1994 if (RuntimeEnabledFeatures::implements2FeatureNameEnabled()) { |
1992 static const V8DOMConfiguration::MethodConfiguration implements2VoidMeth
odMethodConfiguration = { | 1995 const V8DOMConfiguration::MethodConfiguration implements2VoidMethodMetho
dConfiguration = { |
1993 "implements2VoidMethod", TestInterfaceImplementationV8Internal::impl
ements2VoidMethodMethodCallback, 0, 0, V8DOMConfiguration::ExposedToAllScripts, | 1996 "implements2VoidMethod", TestInterfaceImplementationV8Internal::impl
ements2VoidMethodMethodCallback, 0, 0, V8DOMConfiguration::ExposedToAllScripts, |
1994 }; | 1997 }; |
1995 V8DOMConfiguration::installMethod(prototypeTemplate, defaultSignature, v
8::None, implements2VoidMethodMethodConfiguration, isolate); | 1998 V8DOMConfiguration::installMethod(prototypeTemplate, defaultSignature, v
8::None, implements2VoidMethodMethodConfiguration, isolate); |
1996 } | 1999 } |
1997 static const V8DOMConfiguration::MethodConfiguration implements3StaticVoidMe
thodMethodConfiguration = { | 2000 const V8DOMConfiguration::MethodConfiguration implements3StaticVoidMethodMet
hodConfiguration = { |
1998 "implements3StaticVoidMethod", TestInterfaceImplementationV8Internal::im
plements3StaticVoidMethodMethodCallback, 0, 0, V8DOMConfiguration::ExposedToAllS
cripts, | 2001 "implements3StaticVoidMethod", TestInterfaceImplementationV8Internal::im
plements3StaticVoidMethodMethodCallback, 0, 0, V8DOMConfiguration::ExposedToAllS
cripts, |
1999 }; | 2002 }; |
2000 V8DOMConfiguration::installMethod(functionTemplate, v8::Local<v8::Signature>
(), v8::None, implements3StaticVoidMethodMethodConfiguration, isolate); | 2003 V8DOMConfiguration::installMethod(functionTemplate, v8::Local<v8::Signature>
(), v8::None, implements3StaticVoidMethodMethodConfiguration, isolate); |
2001 #if ENABLE(PARTIAL_CONDITION) | 2004 #if ENABLE(PARTIAL_CONDITION) |
2002 if (RuntimeEnabledFeatures::partialFeatureNameEnabled()) { | 2005 if (RuntimeEnabledFeatures::partialFeatureNameEnabled()) { |
2003 static const V8DOMConfiguration::MethodConfiguration partialVoidMethodMe
thodConfiguration = { | 2006 const V8DOMConfiguration::MethodConfiguration partialVoidMethodMethodCon
figuration = { |
2004 "partialVoidMethod", TestInterfaceImplementationV8Internal::partialV
oidMethodMethodCallback, 0, 0, V8DOMConfiguration::ExposedToAllScripts, | 2007 "partialVoidMethod", TestInterfaceImplementationV8Internal::partialV
oidMethodMethodCallback, 0, 0, V8DOMConfiguration::ExposedToAllScripts, |
2005 }; | 2008 }; |
2006 V8DOMConfiguration::installMethod(prototypeTemplate, defaultSignature, v
8::None, partialVoidMethodMethodConfiguration, isolate); | 2009 V8DOMConfiguration::installMethod(prototypeTemplate, defaultSignature, v
8::None, partialVoidMethodMethodConfiguration, isolate); |
2007 } | 2010 } |
2008 #endif // ENABLE(PARTIAL_CONDITION) | 2011 #endif // ENABLE(PARTIAL_CONDITION) |
2009 #if ENABLE(PARTIAL_CONDITION) | 2012 #if ENABLE(PARTIAL_CONDITION) |
2010 if (RuntimeEnabledFeatures::partialFeatureNameEnabled()) { | 2013 if (RuntimeEnabledFeatures::partialFeatureNameEnabled()) { |
2011 static const V8DOMConfiguration::MethodConfiguration partialStaticVoidMe
thodMethodConfiguration = { | 2014 const V8DOMConfiguration::MethodConfiguration partialStaticVoidMethodMet
hodConfiguration = { |
2012 "partialStaticVoidMethod", TestInterfaceImplementationV8Internal::pa
rtialStaticVoidMethodMethodCallback, 0, 0, V8DOMConfiguration::ExposedToAllScrip
ts, | 2015 "partialStaticVoidMethod", TestInterfaceImplementationV8Internal::pa
rtialStaticVoidMethodMethodCallback, 0, 0, V8DOMConfiguration::ExposedToAllScrip
ts, |
2013 }; | 2016 }; |
2014 V8DOMConfiguration::installMethod(functionTemplate, v8::Local<v8::Signat
ure>(), v8::None, partialStaticVoidMethodMethodConfiguration, isolate); | 2017 V8DOMConfiguration::installMethod(functionTemplate, v8::Local<v8::Signat
ure>(), v8::None, partialStaticVoidMethodMethodConfiguration, isolate); |
2015 } | 2018 } |
2016 #endif // ENABLE(PARTIAL_CONDITION) | 2019 #endif // ENABLE(PARTIAL_CONDITION) |
2017 #if ENABLE(PARTIAL_CONDITION) | 2020 #if ENABLE(PARTIAL_CONDITION) |
2018 if (RuntimeEnabledFeatures::partialFeatureNameEnabled()) { | 2021 if (RuntimeEnabledFeatures::partialFeatureNameEnabled()) { |
2019 static const V8DOMConfiguration::MethodConfiguration partialVoidMethodLo
ngArgMethodConfiguration = { | 2022 const V8DOMConfiguration::MethodConfiguration partialVoidMethodLongArgMe
thodConfiguration = { |
2020 "partialVoidMethodLongArg", TestInterfaceImplementationV8Internal::p
artialVoidMethodLongArgMethodCallback, 0, 1, V8DOMConfiguration::ExposedToAllScr
ipts, | 2023 "partialVoidMethodLongArg", TestInterfaceImplementationV8Internal::p
artialVoidMethodLongArgMethodCallback, 0, 1, V8DOMConfiguration::ExposedToAllScr
ipts, |
2021 }; | 2024 }; |
2022 V8DOMConfiguration::installMethod(prototypeTemplate, defaultSignature, v
8::None, partialVoidMethodLongArgMethodConfiguration, isolate); | 2025 V8DOMConfiguration::installMethod(prototypeTemplate, defaultSignature, v
8::None, partialVoidMethodLongArgMethodConfiguration, isolate); |
2023 } | 2026 } |
2024 #endif // ENABLE(PARTIAL_CONDITION) | 2027 #endif // ENABLE(PARTIAL_CONDITION) |
2025 #if ENABLE(PARTIAL_CONDITION) | 2028 #if ENABLE(PARTIAL_CONDITION) |
2026 if (RuntimeEnabledFeatures::partialFeatureNameEnabled()) { | 2029 if (RuntimeEnabledFeatures::partialFeatureNameEnabled()) { |
2027 static const V8DOMConfiguration::MethodConfiguration partialCallWithExec
utionContextRaisesExceptionVoidMethodMethodConfiguration = { | 2030 const V8DOMConfiguration::MethodConfiguration partialCallWithExecutionCo
ntextRaisesExceptionVoidMethodMethodConfiguration = { |
2028 "partialCallWithExecutionContextRaisesExceptionVoidMethod", TestInte
rfaceImplementationV8Internal::partialCallWithExecutionContextRaisesExceptionVoi
dMethodMethodCallback, 0, 0, V8DOMConfiguration::ExposedToAllScripts, | 2031 "partialCallWithExecutionContextRaisesExceptionVoidMethod", TestInte
rfaceImplementationV8Internal::partialCallWithExecutionContextRaisesExceptionVoi
dMethodMethodCallback, 0, 0, V8DOMConfiguration::ExposedToAllScripts, |
2029 }; | 2032 }; |
2030 V8DOMConfiguration::installMethod(prototypeTemplate, defaultSignature, v
8::None, partialCallWithExecutionContextRaisesExceptionVoidMethodMethodConfigura
tion, isolate); | 2033 V8DOMConfiguration::installMethod(prototypeTemplate, defaultSignature, v
8::None, partialCallWithExecutionContextRaisesExceptionVoidMethodMethodConfigura
tion, isolate); |
2031 } | 2034 } |
2032 #endif // ENABLE(PARTIAL_CONDITION) | 2035 #endif // ENABLE(PARTIAL_CONDITION) |
2033 #if ENABLE(PARTIAL_CONDITION) | 2036 #if ENABLE(PARTIAL_CONDITION) |
2034 if (RuntimeEnabledFeatures::partialFeatureNameEnabled()) { | 2037 if (RuntimeEnabledFeatures::partialFeatureNameEnabled()) { |
2035 static const V8DOMConfiguration::MethodConfiguration partialVoidMethodPa
rtialCallbackTypeArgMethodConfiguration = { | 2038 const V8DOMConfiguration::MethodConfiguration partialVoidMethodPartialCa
llbackTypeArgMethodConfiguration = { |
2036 "partialVoidMethodPartialCallbackTypeArg", TestInterfaceImplementati
onV8Internal::partialVoidMethodPartialCallbackTypeArgMethodCallback, 0, 1, V8DOM
Configuration::ExposedToAllScripts, | 2039 "partialVoidMethodPartialCallbackTypeArg", TestInterfaceImplementati
onV8Internal::partialVoidMethodPartialCallbackTypeArgMethodCallback, 0, 1, V8DOM
Configuration::ExposedToAllScripts, |
2037 }; | 2040 }; |
2038 V8DOMConfiguration::installMethod(prototypeTemplate, defaultSignature, v
8::None, partialVoidMethodPartialCallbackTypeArgMethodConfiguration, isolate); | 2041 V8DOMConfiguration::installMethod(prototypeTemplate, defaultSignature, v
8::None, partialVoidMethodPartialCallbackTypeArgMethodConfiguration, isolate); |
2039 } | 2042 } |
2040 #endif // ENABLE(PARTIAL_CONDITION) | 2043 #endif // ENABLE(PARTIAL_CONDITION) |
2041 #if ENABLE(PARTIAL_CONDITION) | 2044 #if ENABLE(PARTIAL_CONDITION) |
2042 if (RuntimeEnabledFeatures::partialFeatureNameEnabled()) { | 2045 if (RuntimeEnabledFeatures::partialFeatureNameEnabled()) { |
2043 static const V8DOMConfiguration::MethodConfiguration shortMethodWithShor
tArgumentImplementedInPrivateScriptMethodConfiguration = { | 2046 const V8DOMConfiguration::MethodConfiguration shortMethodWithShortArgume
ntImplementedInPrivateScriptMethodConfiguration = { |
2044 "shortMethodWithShortArgumentImplementedInPrivateScript", TestInterf
aceImplementationV8Internal::shortMethodWithShortArgumentImplementedInPrivateScr
iptMethodCallback, 0, 1, V8DOMConfiguration::ExposedToAllScripts, | 2047 "shortMethodWithShortArgumentImplementedInPrivateScript", TestInterf
aceImplementationV8Internal::shortMethodWithShortArgumentImplementedInPrivateScr
iptMethodCallback, 0, 1, V8DOMConfiguration::ExposedToAllScripts, |
2045 }; | 2048 }; |
2046 V8DOMConfiguration::installMethod(prototypeTemplate, defaultSignature, v
8::None, shortMethodWithShortArgumentImplementedInPrivateScriptMethodConfigurati
on, isolate); | 2049 V8DOMConfiguration::installMethod(prototypeTemplate, defaultSignature, v
8::None, shortMethodWithShortArgumentImplementedInPrivateScriptMethodConfigurati
on, isolate); |
2047 } | 2050 } |
2048 #endif // ENABLE(PARTIAL_CONDITION) | 2051 #endif // ENABLE(PARTIAL_CONDITION) |
2049 static const V8DOMConfiguration::MethodConfiguration staticVoidMethodPartial
OverloadMethodConfiguration = { | 2052 const V8DOMConfiguration::MethodConfiguration staticVoidMethodPartialOverloa
dMethodConfiguration = { |
2050 "staticVoidMethodPartialOverload", TestInterfaceImplementationV8Internal
::staticVoidMethodPartialOverloadMethodCallback, 0, 0, V8DOMConfiguration::Expos
edToAllScripts, | 2053 "staticVoidMethodPartialOverload", TestInterfaceImplementationV8Internal
::staticVoidMethodPartialOverloadMethodCallback, 0, 0, V8DOMConfiguration::Expos
edToAllScripts, |
2051 }; | 2054 }; |
2052 V8DOMConfiguration::installMethod(functionTemplate, v8::Local<v8::Signature>
(), v8::None, staticVoidMethodPartialOverloadMethodConfiguration, isolate); | 2055 V8DOMConfiguration::installMethod(functionTemplate, v8::Local<v8::Signature>
(), v8::None, staticVoidMethodPartialOverloadMethodConfiguration, isolate); |
2053 static const V8DOMConfiguration::MethodConfiguration staticPromiseMethodPart
ialOverloadMethodConfiguration = { | 2056 const V8DOMConfiguration::MethodConfiguration staticPromiseMethodPartialOver
loadMethodConfiguration = { |
2054 "staticPromiseMethodPartialOverload", TestInterfaceImplementationV8Inter
nal::staticPromiseMethodPartialOverloadMethodCallback, 0, 0, V8DOMConfiguration:
:ExposedToAllScripts, | 2057 "staticPromiseMethodPartialOverload", TestInterfaceImplementationV8Inter
nal::staticPromiseMethodPartialOverloadMethodCallback, 0, 0, V8DOMConfiguration:
:ExposedToAllScripts, |
2055 }; | 2058 }; |
2056 V8DOMConfiguration::installMethod(functionTemplate, v8::Local<v8::Signature>
(), v8::None, staticPromiseMethodPartialOverloadMethodConfiguration, isolate); | 2059 V8DOMConfiguration::installMethod(functionTemplate, v8::Local<v8::Signature>
(), v8::None, staticPromiseMethodPartialOverloadMethodConfiguration, isolate); |
2057 static const V8DOMConfiguration::MethodConfiguration partial2StaticVoidMetho
dMethodConfiguration = { | 2060 const V8DOMConfiguration::MethodConfiguration partial2StaticVoidMethodMethod
Configuration = { |
2058 "partial2StaticVoidMethod", TestInterfaceImplementationV8Internal::parti
al2StaticVoidMethodMethodCallback, 0, 0, V8DOMConfiguration::ExposedToAllScripts
, | 2061 "partial2StaticVoidMethod", TestInterfaceImplementationV8Internal::parti
al2StaticVoidMethodMethodCallback, 0, 0, V8DOMConfiguration::ExposedToAllScripts
, |
2059 }; | 2062 }; |
2060 V8DOMConfiguration::installMethod(functionTemplate, v8::Local<v8::Signature>
(), v8::None, partial2StaticVoidMethodMethodConfiguration, isolate); | 2063 V8DOMConfiguration::installMethod(functionTemplate, v8::Local<v8::Signature>
(), v8::None, partial2StaticVoidMethodMethodConfiguration, isolate); |
2061 static const V8DOMConfiguration::MethodConfiguration toStringMethodConfigura
tion = { | 2064 const V8DOMConfiguration::MethodConfiguration toStringMethodConfiguration =
{ |
2062 "toString", TestInterfaceImplementationV8Internal::toStringMethodCallbac
k, 0, 0, V8DOMConfiguration::ExposedToAllScripts, | 2065 "toString", TestInterfaceImplementationV8Internal::toStringMethodCallbac
k, 0, 0, V8DOMConfiguration::ExposedToAllScripts, |
2063 }; | 2066 }; |
2064 V8DOMConfiguration::installMethod(prototypeTemplate, defaultSignature, stati
c_cast<v8::PropertyAttribute>(v8::DontDelete | v8::DontEnum), toStringMethodConf
iguration, isolate); | 2067 V8DOMConfiguration::installMethod(prototypeTemplate, defaultSignature, stati
c_cast<v8::PropertyAttribute>(v8::DontDelete | v8::DontEnum), toStringMethodConf
iguration, isolate); |
2065 functionTemplate->SetNativeDataProperty(v8AtomicString(isolate, "staticStrin
gAttribute"), TestInterfaceImplementationV8Internal::staticStringAttributeAttrib
uteGetterCallback, TestInterfaceImplementationV8Internal::staticStringAttributeA
ttributeSetterCallback, v8::External::New(isolate, 0), static_cast<v8::PropertyA
ttribute>(v8::None), v8::Handle<v8::AccessorSignature>(), static_cast<v8::Access
Control>(v8::DEFAULT)); | 2068 functionTemplate->SetNativeDataProperty(v8AtomicString(isolate, "staticStrin
gAttribute"), TestInterfaceImplementationV8Internal::staticStringAttributeAttrib
uteGetterCallback, TestInterfaceImplementationV8Internal::staticStringAttributeA
ttributeSetterCallback, v8::External::New(isolate, 0), static_cast<v8::PropertyA
ttribute>(v8::None), v8::Handle<v8::AccessorSignature>(), static_cast<v8::Access
Control>(v8::DEFAULT)); |
2066 functionTemplate->SetNativeDataProperty(v8AtomicString(isolate, "implementsS
taticReadOnlyLongAttribute"), TestInterfaceImplementationV8Internal::implementsS
taticReadOnlyLongAttributeAttributeGetterCallback, 0, v8::External::New(isolate,
0), static_cast<v8::PropertyAttribute>(v8::None), v8::Handle<v8::AccessorSignat
ure>(), static_cast<v8::AccessControl>(v8::DEFAULT)); | 2069 functionTemplate->SetNativeDataProperty(v8AtomicString(isolate, "implementsS
taticReadOnlyLongAttribute"), TestInterfaceImplementationV8Internal::implementsS
taticReadOnlyLongAttributeAttributeGetterCallback, 0, v8::External::New(isolate,
0), static_cast<v8::PropertyAttribute>(v8::None), v8::Handle<v8::AccessorSignat
ure>(), static_cast<v8::AccessControl>(v8::DEFAULT)); |
2067 functionTemplate->SetNativeDataProperty(v8AtomicString(isolate, "implementsS
taticStringAttribute"), TestInterfaceImplementationV8Internal::implementsStaticS
tringAttributeAttributeGetterCallback, TestInterfaceImplementationV8Internal::im
plementsStaticStringAttributeAttributeSetterCallback, v8::External::New(isolate,
0), static_cast<v8::PropertyAttribute>(v8::None), v8::Handle<v8::AccessorSignat
ure>(), static_cast<v8::AccessControl>(v8::DEFAULT)); | 2070 functionTemplate->SetNativeDataProperty(v8AtomicString(isolate, "implementsS
taticStringAttribute"), TestInterfaceImplementationV8Internal::implementsStaticS
tringAttributeAttributeGetterCallback, TestInterfaceImplementationV8Internal::im
plementsStaticStringAttributeAttributeSetterCallback, v8::External::New(isolate,
0), static_cast<v8::PropertyAttribute>(v8::None), v8::Handle<v8::AccessorSignat
ure>(), static_cast<v8::AccessControl>(v8::DEFAULT)); |
2068 functionTemplate->SetNativeDataProperty(v8AtomicString(isolate, "implements2
StaticStringAttribute"), TestInterfaceImplementationV8Internal::implements2Stati
cStringAttributeAttributeGetterCallback, TestInterfaceImplementationV8Internal::
implements2StaticStringAttributeAttributeSetterCallback, v8::External::New(isola
te, 0), static_cast<v8::PropertyAttribute>(v8::None), v8::Handle<v8::AccessorSig
nature>(), static_cast<v8::AccessControl>(v8::DEFAULT)); | 2071 functionTemplate->SetNativeDataProperty(v8AtomicString(isolate, "implements2
StaticStringAttribute"), TestInterfaceImplementationV8Internal::implements2Stati
cStringAttributeAttributeGetterCallback, TestInterfaceImplementationV8Internal::
implements2StaticStringAttributeAttributeSetterCallback, v8::External::New(isola
te, 0), static_cast<v8::PropertyAttribute>(v8::None), v8::Handle<v8::AccessorSig
nature>(), static_cast<v8::AccessControl>(v8::DEFAULT)); |
2069 functionTemplate->SetNativeDataProperty(v8AtomicString(isolate, "implements3
StaticStringAttribute"), TestInterfaceImplementationV8Internal::implements3Stati
cStringAttributeAttributeGetterCallback, TestInterfaceImplementationV8Internal::
implements3StaticStringAttributeAttributeSetterCallback, v8::External::New(isola
te, 0), static_cast<v8::PropertyAttribute>(v8::None), v8::Handle<v8::AccessorSig
nature>(), static_cast<v8::AccessControl>(v8::DEFAULT)); | 2072 functionTemplate->SetNativeDataProperty(v8AtomicString(isolate, "implements3
StaticStringAttribute"), TestInterfaceImplementationV8Internal::implements3Stati
cStringAttributeAttributeGetterCallback, TestInterfaceImplementationV8Internal::
implements3StaticStringAttributeAttributeSetterCallback, v8::External::New(isola
te, 0), static_cast<v8::PropertyAttribute>(v8::None), v8::Handle<v8::AccessorSig
nature>(), static_cast<v8::AccessControl>(v8::DEFAULT)); |
2070 #if ENABLE(PARTIAL_CONDITION) | 2073 #if ENABLE(PARTIAL_CONDITION) |
2071 functionTemplate->SetNativeDataProperty(v8AtomicString(isolate, "partialStat
icLongAttribute"), TestInterfaceImplementationV8Internal::partialStaticLongAttri
buteAttributeGetterCallback, TestInterfaceImplementationV8Internal::partialStati
cLongAttributeAttributeSetterCallback, v8::External::New(isolate, 0), static_cas
t<v8::PropertyAttribute>(v8::None), v8::Handle<v8::AccessorSignature>(), static_
cast<v8::AccessControl>(v8::DEFAULT)); | 2074 functionTemplate->SetNativeDataProperty(v8AtomicString(isolate, "partialStat
icLongAttribute"), TestInterfaceImplementationV8Internal::partialStaticLongAttri
buteAttributeGetterCallback, TestInterfaceImplementationV8Internal::partialStati
cLongAttributeAttributeSetterCallback, v8::External::New(isolate, 0), static_cas
t<v8::PropertyAttribute>(v8::None), v8::Handle<v8::AccessorSignature>(), static_
cast<v8::AccessControl>(v8::DEFAULT)); |
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2286 void V8TestInterface::registerPartial2VoidMethodMethodForPartialInterface(void (
*method)(const v8::FunctionCallbackInfo<v8::Value>&)) | 2289 void V8TestInterface::registerPartial2VoidMethodMethodForPartialInterface(void (
*method)(const v8::FunctionCallbackInfo<v8::Value>&)) |
2287 { | 2290 { |
2288 TestInterfaceImplementationV8Internal::partial2VoidMethodMethodForPartialInt
erface = method; | 2291 TestInterfaceImplementationV8Internal::partial2VoidMethodMethodForPartialInt
erface = method; |
2289 } | 2292 } |
2290 void V8TestInterface::registerPartial2StaticVoidMethodMethodForPartialInterface(
void (*method)(const v8::FunctionCallbackInfo<v8::Value>&)) | 2293 void V8TestInterface::registerPartial2StaticVoidMethodMethodForPartialInterface(
void (*method)(const v8::FunctionCallbackInfo<v8::Value>&)) |
2291 { | 2294 { |
2292 TestInterfaceImplementationV8Internal::partial2StaticVoidMethodMethodForPart
ialInterface = method; | 2295 TestInterfaceImplementationV8Internal::partial2StaticVoidMethodMethodForPart
ialInterface = method; |
2293 } | 2296 } |
2294 } // namespace blink | 2297 } // namespace blink |
2295 #endif // ENABLE(CONDITION) | 2298 #endif // ENABLE(CONDITION) |
OLD | NEW |