| 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 1872 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1883 V8DOMConfiguration::installConstants(isolate, functionTemplate, prototypeTem
plate, V8TestInterfaceConstants, WTF_ARRAY_LENGTH(V8TestInterfaceConstants)); | 1883 V8DOMConfiguration::installConstants(isolate, functionTemplate, prototypeTem
plate, V8TestInterfaceConstants, WTF_ARRAY_LENGTH(V8TestInterfaceConstants)); |
| 1884 if (RuntimeEnabledFeatures::partialFeatureNameEnabled()) { | 1884 if (RuntimeEnabledFeatures::partialFeatureNameEnabled()) { |
| 1885 static const V8DOMConfiguration::ConstantConfiguration constantConfigura
tion = {"PARTIAL_UNSIGNED_SHORT", 0, 0, 0, V8DOMConfiguration::ConstantTypeUnsig
nedShort}; | 1885 static const V8DOMConfiguration::ConstantConfiguration constantConfigura
tion = {"PARTIAL_UNSIGNED_SHORT", 0, 0, 0, V8DOMConfiguration::ConstantTypeUnsig
nedShort}; |
| 1886 V8DOMConfiguration::installConstants(isolate, functionTemplate, prototyp
eTemplate, &constantConfiguration, 1); | 1886 V8DOMConfiguration::installConstants(isolate, functionTemplate, prototyp
eTemplate, &constantConfiguration, 1); |
| 1887 } | 1887 } |
| 1888 functionTemplate->InstanceTemplate()->SetIndexedPropertyHandler(TestInterfac
eImplementationV8Internal::indexedPropertyGetterCallback, TestInterfaceImplement
ationV8Internal::indexedPropertySetterCallback, 0, TestInterfaceImplementationV8
Internal::indexedPropertyDeleterCallback, indexedPropertyEnumerator<TestInterfac
eImplementation>); | 1888 functionTemplate->InstanceTemplate()->SetIndexedPropertyHandler(TestInterfac
eImplementationV8Internal::indexedPropertyGetterCallback, TestInterfaceImplement
ationV8Internal::indexedPropertySetterCallback, 0, TestInterfaceImplementationV8
Internal::indexedPropertyDeleterCallback, indexedPropertyEnumerator<TestInterfac
eImplementation>); |
| 1889 functionTemplate->InstanceTemplate()->SetNamedPropertyHandler(TestInterfaceI
mplementationV8Internal::namedPropertyGetterCallback, TestInterfaceImplementatio
nV8Internal::namedPropertySetterCallback, TestInterfaceImplementationV8Internal:
:namedPropertyQueryCallback, TestInterfaceImplementationV8Internal::namedPropert
yDeleterCallback, TestInterfaceImplementationV8Internal::namedPropertyEnumerator
Callback); | 1889 functionTemplate->InstanceTemplate()->SetNamedPropertyHandler(TestInterfaceI
mplementationV8Internal::namedPropertyGetterCallback, TestInterfaceImplementatio
nV8Internal::namedPropertySetterCallback, TestInterfaceImplementationV8Internal:
:namedPropertyQueryCallback, TestInterfaceImplementationV8Internal::namedPropert
yDeleterCallback, TestInterfaceImplementationV8Internal::namedPropertyEnumerator
Callback); |
| 1890 static const V8DOMConfiguration::SymbolKeyedMethodConfiguration symbolKeyedI
teratorConfiguration = { v8::Symbol::GetIterator, TestInterfaceImplementationV8I
nternal::iteratorMethodCallback, 0, V8DOMConfiguration::ExposedToAllScripts }; | 1890 static const V8DOMConfiguration::SymbolKeyedMethodConfiguration symbolKeyedI
teratorConfiguration = { v8::Symbol::GetIterator, TestInterfaceImplementationV8I
nternal::iteratorMethodCallback, 0, V8DOMConfiguration::ExposedToAllScripts }; |
| 1891 V8DOMConfiguration::installMethod(prototypeTemplate, defaultSignature, v8::D
ontDelete, symbolKeyedIteratorConfiguration, isolate); | 1891 V8DOMConfiguration::installMethod(prototypeTemplate, defaultSignature, v8::D
ontDelete, symbolKeyedIteratorConfiguration, isolate); |
| 1892 functionTemplate->InstanceTemplate()->SetCallAsFunctionHandler(V8TestInterfa
ce::legacyCallCustom); | 1892 functionTemplate->InstanceTemplate()->SetCallAsFunctionHandler(V8TestInterfa
ce::legacyCallCustom); |
| 1893 static const V8DOMConfiguration::MethodConfiguration alwaysExposedStaticMeth
odMethodConfiguration = { | 1893 const V8DOMConfiguration::MethodConfiguration alwaysExposedStaticMethodMetho
dConfiguration = { |
| 1894 "alwaysExposedStaticMethod", TestInterfaceImplementationV8Internal::alwa
ysExposedStaticMethodMethodCallback, 0, 0, V8DOMConfiguration::ExposedToAllScrip
ts, | 1894 "alwaysExposedStaticMethod", TestInterfaceImplementationV8Internal::alwa
ysExposedStaticMethodMethodCallback, 0, 0, V8DOMConfiguration::ExposedToAllScrip
ts, |
| 1895 }; | 1895 }; |
| 1896 V8DOMConfiguration::installMethod(functionTemplate, v8::Local<v8::Signature>
(), v8::None, alwaysExposedStaticMethodMethodConfiguration, isolate); | 1896 V8DOMConfiguration::installMethod(functionTemplate, v8::Local<v8::Signature>
(), v8::None, alwaysExposedStaticMethodMethodConfiguration, isolate); |
| 1897 static const V8DOMConfiguration::MethodConfiguration implementsStaticVoidMet
hodMethodConfiguration = { | 1897 const V8DOMConfiguration::MethodConfiguration implementsStaticVoidMethodMeth
odConfiguration = { |
| 1898 "implementsStaticVoidMethod", TestInterfaceImplementationV8Internal::imp
lementsStaticVoidMethodMethodCallback, 0, 0, V8DOMConfiguration::ExposedToAllScr
ipts, | 1898 "implementsStaticVoidMethod", TestInterfaceImplementationV8Internal::imp
lementsStaticVoidMethodMethodCallback, 0, 0, V8DOMConfiguration::ExposedToAllScr
ipts, |
| 1899 }; | 1899 }; |
| 1900 V8DOMConfiguration::installMethod(functionTemplate, v8::Local<v8::Signature>
(), v8::None, implementsStaticVoidMethodMethodConfiguration, isolate); | 1900 V8DOMConfiguration::installMethod(functionTemplate, v8::Local<v8::Signature>
(), v8::None, implementsStaticVoidMethodMethodConfiguration, isolate); |
| 1901 if (RuntimeEnabledFeatures::implements2FeatureNameEnabled()) { | 1901 if (RuntimeEnabledFeatures::implements2FeatureNameEnabled()) { |
| 1902 static const V8DOMConfiguration::MethodConfiguration implements2VoidMeth
odMethodConfiguration = { | 1902 const V8DOMConfiguration::MethodConfiguration implements2VoidMethodMetho
dConfiguration = { |
| 1903 "implements2VoidMethod", TestInterfaceImplementationV8Internal::impl
ements2VoidMethodMethodCallback, 0, 0, V8DOMConfiguration::ExposedToAllScripts, | 1903 "implements2VoidMethod", TestInterfaceImplementationV8Internal::impl
ements2VoidMethodMethodCallback, 0, 0, V8DOMConfiguration::ExposedToAllScripts, |
| 1904 }; | 1904 }; |
| 1905 V8DOMConfiguration::installMethod(prototypeTemplate, defaultSignature, v
8::None, implements2VoidMethodMethodConfiguration, isolate); | 1905 V8DOMConfiguration::installMethod(prototypeTemplate, defaultSignature, v
8::None, implements2VoidMethodMethodConfiguration, isolate); |
| 1906 } | 1906 } |
| 1907 static const V8DOMConfiguration::MethodConfiguration implements3StaticVoidMe
thodMethodConfiguration = { | 1907 const V8DOMConfiguration::MethodConfiguration implements3StaticVoidMethodMet
hodConfiguration = { |
| 1908 "implements3StaticVoidMethod", TestInterfaceImplementationV8Internal::im
plements3StaticVoidMethodMethodCallback, 0, 0, V8DOMConfiguration::ExposedToAllS
cripts, | 1908 "implements3StaticVoidMethod", TestInterfaceImplementationV8Internal::im
plements3StaticVoidMethodMethodCallback, 0, 0, V8DOMConfiguration::ExposedToAllS
cripts, |
| 1909 }; | 1909 }; |
| 1910 V8DOMConfiguration::installMethod(functionTemplate, v8::Local<v8::Signature>
(), v8::None, implements3StaticVoidMethodMethodConfiguration, isolate); | 1910 V8DOMConfiguration::installMethod(functionTemplate, v8::Local<v8::Signature>
(), v8::None, implements3StaticVoidMethodMethodConfiguration, isolate); |
| 1911 #if ENABLE(PARTIAL_CONDITION) | 1911 #if ENABLE(PARTIAL_CONDITION) |
| 1912 if (RuntimeEnabledFeatures::partialFeatureNameEnabled()) { | 1912 if (RuntimeEnabledFeatures::partialFeatureNameEnabled()) { |
| 1913 static const V8DOMConfiguration::MethodConfiguration partialVoidMethodMe
thodConfiguration = { | 1913 const V8DOMConfiguration::MethodConfiguration partialVoidMethodMethodCon
figuration = { |
| 1914 "partialVoidMethod", TestInterfaceImplementationV8Internal::partialV
oidMethodMethodCallback, 0, 0, V8DOMConfiguration::ExposedToAllScripts, | 1914 "partialVoidMethod", TestInterfaceImplementationV8Internal::partialV
oidMethodMethodCallback, 0, 0, V8DOMConfiguration::ExposedToAllScripts, |
| 1915 }; | 1915 }; |
| 1916 V8DOMConfiguration::installMethod(prototypeTemplate, defaultSignature, v
8::None, partialVoidMethodMethodConfiguration, isolate); | 1916 V8DOMConfiguration::installMethod(prototypeTemplate, defaultSignature, v
8::None, partialVoidMethodMethodConfiguration, isolate); |
| 1917 } | 1917 } |
| 1918 #endif // ENABLE(PARTIAL_CONDITION) | 1918 #endif // ENABLE(PARTIAL_CONDITION) |
| 1919 #if ENABLE(PARTIAL_CONDITION) | 1919 #if ENABLE(PARTIAL_CONDITION) |
| 1920 if (RuntimeEnabledFeatures::partialFeatureNameEnabled()) { | 1920 if (RuntimeEnabledFeatures::partialFeatureNameEnabled()) { |
| 1921 static const V8DOMConfiguration::MethodConfiguration partialStaticVoidMe
thodMethodConfiguration = { | 1921 const V8DOMConfiguration::MethodConfiguration partialStaticVoidMethodMet
hodConfiguration = { |
| 1922 "partialStaticVoidMethod", TestInterfaceImplementationV8Internal::pa
rtialStaticVoidMethodMethodCallback, 0, 0, V8DOMConfiguration::ExposedToAllScrip
ts, | 1922 "partialStaticVoidMethod", TestInterfaceImplementationV8Internal::pa
rtialStaticVoidMethodMethodCallback, 0, 0, V8DOMConfiguration::ExposedToAllScrip
ts, |
| 1923 }; | 1923 }; |
| 1924 V8DOMConfiguration::installMethod(functionTemplate, v8::Local<v8::Signat
ure>(), v8::None, partialStaticVoidMethodMethodConfiguration, isolate); | 1924 V8DOMConfiguration::installMethod(functionTemplate, v8::Local<v8::Signat
ure>(), v8::None, partialStaticVoidMethodMethodConfiguration, isolate); |
| 1925 } | 1925 } |
| 1926 #endif // ENABLE(PARTIAL_CONDITION) | 1926 #endif // ENABLE(PARTIAL_CONDITION) |
| 1927 #if ENABLE(PARTIAL_CONDITION) | 1927 #if ENABLE(PARTIAL_CONDITION) |
| 1928 if (RuntimeEnabledFeatures::partialFeatureNameEnabled()) { | 1928 if (RuntimeEnabledFeatures::partialFeatureNameEnabled()) { |
| 1929 static const V8DOMConfiguration::MethodConfiguration partialVoidMethodLo
ngArgMethodConfiguration = { | 1929 const V8DOMConfiguration::MethodConfiguration partialVoidMethodLongArgMe
thodConfiguration = { |
| 1930 "partialVoidMethodLongArg", TestInterfaceImplementationV8Internal::p
artialVoidMethodLongArgMethodCallback, 0, 1, V8DOMConfiguration::ExposedToAllScr
ipts, | 1930 "partialVoidMethodLongArg", TestInterfaceImplementationV8Internal::p
artialVoidMethodLongArgMethodCallback, 0, 1, V8DOMConfiguration::ExposedToAllScr
ipts, |
| 1931 }; | 1931 }; |
| 1932 V8DOMConfiguration::installMethod(prototypeTemplate, defaultSignature, v
8::None, partialVoidMethodLongArgMethodConfiguration, isolate); | 1932 V8DOMConfiguration::installMethod(prototypeTemplate, defaultSignature, v
8::None, partialVoidMethodLongArgMethodConfiguration, isolate); |
| 1933 } | 1933 } |
| 1934 #endif // ENABLE(PARTIAL_CONDITION) | 1934 #endif // ENABLE(PARTIAL_CONDITION) |
| 1935 #if ENABLE(PARTIAL_CONDITION) | 1935 #if ENABLE(PARTIAL_CONDITION) |
| 1936 if (RuntimeEnabledFeatures::partialFeatureNameEnabled()) { | 1936 if (RuntimeEnabledFeatures::partialFeatureNameEnabled()) { |
| 1937 static const V8DOMConfiguration::MethodConfiguration partialCallWithExec
utionContextRaisesExceptionVoidMethodMethodConfiguration = { | 1937 const V8DOMConfiguration::MethodConfiguration partialCallWithExecutionCo
ntextRaisesExceptionVoidMethodMethodConfiguration = { |
| 1938 "partialCallWithExecutionContextRaisesExceptionVoidMethod", TestInte
rfaceImplementationV8Internal::partialCallWithExecutionContextRaisesExceptionVoi
dMethodMethodCallback, 0, 0, V8DOMConfiguration::ExposedToAllScripts, | 1938 "partialCallWithExecutionContextRaisesExceptionVoidMethod", TestInte
rfaceImplementationV8Internal::partialCallWithExecutionContextRaisesExceptionVoi
dMethodMethodCallback, 0, 0, V8DOMConfiguration::ExposedToAllScripts, |
| 1939 }; | 1939 }; |
| 1940 V8DOMConfiguration::installMethod(prototypeTemplate, defaultSignature, v
8::None, partialCallWithExecutionContextRaisesExceptionVoidMethodMethodConfigura
tion, isolate); | 1940 V8DOMConfiguration::installMethod(prototypeTemplate, defaultSignature, v
8::None, partialCallWithExecutionContextRaisesExceptionVoidMethodMethodConfigura
tion, isolate); |
| 1941 } | 1941 } |
| 1942 #endif // ENABLE(PARTIAL_CONDITION) | 1942 #endif // ENABLE(PARTIAL_CONDITION) |
| 1943 #if ENABLE(PARTIAL_CONDITION) | 1943 #if ENABLE(PARTIAL_CONDITION) |
| 1944 if (RuntimeEnabledFeatures::partialFeatureNameEnabled()) { | 1944 if (RuntimeEnabledFeatures::partialFeatureNameEnabled()) { |
| 1945 static const V8DOMConfiguration::MethodConfiguration partialVoidMethodPa
rtialCallbackTypeArgMethodConfiguration = { | 1945 const V8DOMConfiguration::MethodConfiguration partialVoidMethodPartialCa
llbackTypeArgMethodConfiguration = { |
| 1946 "partialVoidMethodPartialCallbackTypeArg", TestInterfaceImplementati
onV8Internal::partialVoidMethodPartialCallbackTypeArgMethodCallback, 0, 1, V8DOM
Configuration::ExposedToAllScripts, | 1946 "partialVoidMethodPartialCallbackTypeArg", TestInterfaceImplementati
onV8Internal::partialVoidMethodPartialCallbackTypeArgMethodCallback, 0, 1, V8DOM
Configuration::ExposedToAllScripts, |
| 1947 }; | 1947 }; |
| 1948 V8DOMConfiguration::installMethod(prototypeTemplate, defaultSignature, v
8::None, partialVoidMethodPartialCallbackTypeArgMethodConfiguration, isolate); | 1948 V8DOMConfiguration::installMethod(prototypeTemplate, defaultSignature, v
8::None, partialVoidMethodPartialCallbackTypeArgMethodConfiguration, isolate); |
| 1949 } | 1949 } |
| 1950 #endif // ENABLE(PARTIAL_CONDITION) | 1950 #endif // ENABLE(PARTIAL_CONDITION) |
| 1951 #if ENABLE(PARTIAL_CONDITION) | 1951 #if ENABLE(PARTIAL_CONDITION) |
| 1952 if (RuntimeEnabledFeatures::partialFeatureNameEnabled()) { | 1952 if (RuntimeEnabledFeatures::partialFeatureNameEnabled()) { |
| 1953 static const V8DOMConfiguration::MethodConfiguration shortMethodWithShor
tArgumentImplementedInPrivateScriptMethodConfiguration = { | 1953 const V8DOMConfiguration::MethodConfiguration shortMethodWithShortArgume
ntImplementedInPrivateScriptMethodConfiguration = { |
| 1954 "shortMethodWithShortArgumentImplementedInPrivateScript", TestInterf
aceImplementationV8Internal::shortMethodWithShortArgumentImplementedInPrivateScr
iptMethodCallback, 0, 1, V8DOMConfiguration::ExposedToAllScripts, | 1954 "shortMethodWithShortArgumentImplementedInPrivateScript", TestInterf
aceImplementationV8Internal::shortMethodWithShortArgumentImplementedInPrivateScr
iptMethodCallback, 0, 1, V8DOMConfiguration::ExposedToAllScripts, |
| 1955 }; | 1955 }; |
| 1956 V8DOMConfiguration::installMethod(prototypeTemplate, defaultSignature, v
8::None, shortMethodWithShortArgumentImplementedInPrivateScriptMethodConfigurati
on, isolate); | 1956 V8DOMConfiguration::installMethod(prototypeTemplate, defaultSignature, v
8::None, shortMethodWithShortArgumentImplementedInPrivateScriptMethodConfigurati
on, isolate); |
| 1957 } | 1957 } |
| 1958 #endif // ENABLE(PARTIAL_CONDITION) | 1958 #endif // ENABLE(PARTIAL_CONDITION) |
| 1959 static const V8DOMConfiguration::MethodConfiguration staticVoidMethodPartial
OverloadMethodConfiguration = { | 1959 const V8DOMConfiguration::MethodConfiguration staticVoidMethodPartialOverloa
dMethodConfiguration = { |
| 1960 "staticVoidMethodPartialOverload", TestInterfaceImplementationV8Internal
::staticVoidMethodPartialOverloadMethodCallback, 0, 0, V8DOMConfiguration::Expos
edToAllScripts, | 1960 "staticVoidMethodPartialOverload", TestInterfaceImplementationV8Internal
::staticVoidMethodPartialOverloadMethodCallback, 0, 0, V8DOMConfiguration::Expos
edToAllScripts, |
| 1961 }; | 1961 }; |
| 1962 V8DOMConfiguration::installMethod(functionTemplate, v8::Local<v8::Signature>
(), v8::None, staticVoidMethodPartialOverloadMethodConfiguration, isolate); | 1962 V8DOMConfiguration::installMethod(functionTemplate, v8::Local<v8::Signature>
(), v8::None, staticVoidMethodPartialOverloadMethodConfiguration, isolate); |
| 1963 static const V8DOMConfiguration::MethodConfiguration staticPromiseMethodPart
ialOverloadMethodConfiguration = { | 1963 const V8DOMConfiguration::MethodConfiguration staticPromiseMethodPartialOver
loadMethodConfiguration = { |
| 1964 "staticPromiseMethodPartialOverload", TestInterfaceImplementationV8Inter
nal::staticPromiseMethodPartialOverloadMethodCallback, 0, 0, V8DOMConfiguration:
:ExposedToAllScripts, | 1964 "staticPromiseMethodPartialOverload", TestInterfaceImplementationV8Inter
nal::staticPromiseMethodPartialOverloadMethodCallback, 0, 0, V8DOMConfiguration:
:ExposedToAllScripts, |
| 1965 }; | 1965 }; |
| 1966 V8DOMConfiguration::installMethod(functionTemplate, v8::Local<v8::Signature>
(), v8::None, staticPromiseMethodPartialOverloadMethodConfiguration, isolate); | 1966 V8DOMConfiguration::installMethod(functionTemplate, v8::Local<v8::Signature>
(), v8::None, staticPromiseMethodPartialOverloadMethodConfiguration, isolate); |
| 1967 static const V8DOMConfiguration::MethodConfiguration partial2StaticVoidMetho
dMethodConfiguration = { | 1967 const V8DOMConfiguration::MethodConfiguration partial2StaticVoidMethodMethod
Configuration = { |
| 1968 "partial2StaticVoidMethod", TestInterfaceImplementationV8Internal::parti
al2StaticVoidMethodMethodCallback, 0, 0, V8DOMConfiguration::ExposedToAllScripts
, | 1968 "partial2StaticVoidMethod", TestInterfaceImplementationV8Internal::parti
al2StaticVoidMethodMethodCallback, 0, 0, V8DOMConfiguration::ExposedToAllScripts
, |
| 1969 }; | 1969 }; |
| 1970 V8DOMConfiguration::installMethod(functionTemplate, v8::Local<v8::Signature>
(), v8::None, partial2StaticVoidMethodMethodConfiguration, isolate); | 1970 V8DOMConfiguration::installMethod(functionTemplate, v8::Local<v8::Signature>
(), v8::None, partial2StaticVoidMethodMethodConfiguration, isolate); |
| 1971 static const V8DOMConfiguration::MethodConfiguration toStringMethodConfigura
tion = { | 1971 const V8DOMConfiguration::MethodConfiguration toStringMethodConfiguration =
{ |
| 1972 "toString", TestInterfaceImplementationV8Internal::toStringMethodCallbac
k, 0, 0, V8DOMConfiguration::ExposedToAllScripts, | 1972 "toString", TestInterfaceImplementationV8Internal::toStringMethodCallbac
k, 0, 0, V8DOMConfiguration::ExposedToAllScripts, |
| 1973 }; | 1973 }; |
| 1974 V8DOMConfiguration::installMethod(prototypeTemplate, defaultSignature, stati
c_cast<v8::PropertyAttribute>(v8::DontDelete | v8::DontEnum), toStringMethodConf
iguration, isolate); | 1974 V8DOMConfiguration::installMethod(prototypeTemplate, defaultSignature, stati
c_cast<v8::PropertyAttribute>(v8::DontDelete | v8::DontEnum), toStringMethodConf
iguration, isolate); |
| 1975 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)); | 1975 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)); |
| 1976 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)); | 1976 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)); |
| 1977 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)); | 1977 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)); |
| 1978 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)); | 1978 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)); |
| 1979 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)); | 1979 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)); |
| 1980 #if ENABLE(PARTIAL_CONDITION) | 1980 #if ENABLE(PARTIAL_CONDITION) |
| 1981 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)); | 1981 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 206 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2188 void V8TestInterface::registerPartial2VoidMethodMethodForPartialInterface(void (
*method)(const v8::FunctionCallbackInfo<v8::Value>&)) | 2188 void V8TestInterface::registerPartial2VoidMethodMethodForPartialInterface(void (
*method)(const v8::FunctionCallbackInfo<v8::Value>&)) |
| 2189 { | 2189 { |
| 2190 TestInterfaceImplementationV8Internal::partial2VoidMethodMethodForPartialInt
erface = method; | 2190 TestInterfaceImplementationV8Internal::partial2VoidMethodMethodForPartialInt
erface = method; |
| 2191 } | 2191 } |
| 2192 void V8TestInterface::registerPartial2StaticVoidMethodMethodForPartialInterface(
void (*method)(const v8::FunctionCallbackInfo<v8::Value>&)) | 2192 void V8TestInterface::registerPartial2StaticVoidMethodMethodForPartialInterface(
void (*method)(const v8::FunctionCallbackInfo<v8::Value>&)) |
| 2193 { | 2193 { |
| 2194 TestInterfaceImplementationV8Internal::partial2StaticVoidMethodMethodForPart
ialInterface = method; | 2194 TestInterfaceImplementationV8Internal::partial2StaticVoidMethodMethodForPart
ialInterface = method; |
| 2195 } | 2195 } |
| 2196 } // namespace blink | 2196 } // namespace blink |
| 2197 #endif // ENABLE(CONDITION) | 2197 #endif // ENABLE(CONDITION) |
| OLD | NEW |