| 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 |
| 11 #include "RuntimeEnabledFeatures.h" | 11 #include "RuntimeEnabledFeatures.h" |
| 12 #include "V8Node.h" | |
| 13 #include "V8TestImplementedAs.h" | |
| 14 #include "V8TestInterfaceEmpty.h" | |
| 15 #include "bindings/tests/idls/TestImplements2.h" | 12 #include "bindings/tests/idls/TestImplements2.h" |
| 16 #include "bindings/tests/idls/TestImplements3Implementation.h" | 13 #include "bindings/tests/idls/TestImplements3Implementation.h" |
| 17 #include "bindings/tests/idls/TestPartialInterface.h" | 14 #include "bindings/tests/idls/TestPartialInterface.h" |
| 18 #include "bindings/tests/idls/TestPartialInterfaceImplementation.h" | 15 #include "bindings/tests/idls/TestPartialInterfaceImplementation.h" |
| 16 #include "bindings/tests/v8/V8Node.h" |
| 17 #include "bindings/tests/v8/V8TestInterface.h" |
| 18 #include "bindings/tests/v8/V8TestInterfaceEmpty.h" |
| 19 #include "bindings/v8/ExceptionState.h" | 19 #include "bindings/v8/ExceptionState.h" |
| 20 #include "bindings/v8/ScriptValue.h" | 20 #include "bindings/v8/ScriptValue.h" |
| 21 #include "bindings/v8/V8AbstractEventListener.h" | 21 #include "bindings/v8/V8AbstractEventListener.h" |
| 22 #include "bindings/v8/V8DOMConfiguration.h" | 22 #include "bindings/v8/V8DOMConfiguration.h" |
| 23 #include "bindings/v8/V8EventListenerList.h" | 23 #include "bindings/v8/V8EventListenerList.h" |
| 24 #include "bindings/v8/V8HiddenValue.h" | 24 #include "bindings/v8/V8HiddenValue.h" |
| 25 #include "bindings/v8/V8ObjectConstructor.h" | 25 #include "bindings/v8/V8ObjectConstructor.h" |
| 26 #include "core/dom/ContextFeatures.h" | 26 #include "core/dom/ContextFeatures.h" |
| 27 #include "core/dom/Document.h" | 27 #include "core/dom/Document.h" |
| 28 #include "platform/TraceEvent.h" | 28 #include "platform/TraceEvent.h" |
| (...skipping 1279 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1308 if (referencedName) { | 1308 if (referencedName) { |
| 1309 if (!DOMDataStore::containsWrapper<V8TestInterface>(referencedName, isol
ate)) | 1309 if (!DOMDataStore::containsWrapper<V8TestInterface>(referencedName, isol
ate)) |
| 1310 wrap(referencedName, creationContext, isolate); | 1310 wrap(referencedName, creationContext, isolate); |
| 1311 DOMDataStore::setWrapperReference<V8TestInterface>(wrapper, referencedNa
me, isolate); | 1311 DOMDataStore::setWrapperReference<V8TestInterface>(wrapper, referencedNa
me, isolate); |
| 1312 } | 1312 } |
| 1313 setObjectGroup(object, wrapper, isolate); | 1313 setObjectGroup(object, wrapper, isolate); |
| 1314 } | 1314 } |
| 1315 | 1315 |
| 1316 static const V8DOMConfiguration::AttributeConfiguration V8TestInterfaceAttribute
s[] = { | 1316 static const V8DOMConfiguration::AttributeConfiguration V8TestInterfaceAttribute
s[] = { |
| 1317 {"testInterfaceAttribute", TestInterfaceImplementationV8Internal::testInterf
aceAttributeAttributeGetterCallback, TestInterfaceImplementationV8Internal::test
InterfaceAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessContro
l>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance
*/}, | 1317 {"testInterfaceAttribute", TestInterfaceImplementationV8Internal::testInterf
aceAttributeAttributeGetterCallback, TestInterfaceImplementationV8Internal::test
InterfaceAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessContro
l>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance
*/}, |
| 1318 {"testImplementedAsConstructorAttribute", TestInterfaceImplementationV8Inter
nal::TestInterfaceImplementationConstructorGetter, TestInterfaceImplementationV8
Internal::TestInterfaceImplementationReplaceableAttributeSetterCallback, 0, 0, c
onst_cast<WrapperTypeInfo*>(&V8TestImplementedAs::wrapperTypeInfo), static_cast<
v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::DontEnum
), 0 /* on instance */}, | 1318 {"testInterfaceConstructorAttribute", TestInterfaceImplementationV8Internal:
:TestInterfaceImplementationConstructorGetter, TestInterfaceImplementationV8Inte
rnal::TestInterfaceImplementationReplaceableAttributeSetterCallback, 0, 0, const
_cast<WrapperTypeInfo*>(&V8TestInterface::wrapperTypeInfo), static_cast<v8::Acce
ssControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::DontEnum), 0 /*
on instance */}, |
| 1319 {"doubleAttribute", TestInterfaceImplementationV8Internal::doubleAttributeAt
tributeGetterCallback, TestInterfaceImplementationV8Internal::doubleAttributeAtt
ributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), stat
ic_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */}, | 1319 {"doubleAttribute", TestInterfaceImplementationV8Internal::doubleAttributeAt
tributeGetterCallback, TestInterfaceImplementationV8Internal::doubleAttributeAtt
ributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), stat
ic_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */}, |
| 1320 {"floatAttribute", TestInterfaceImplementationV8Internal::floatAttributeAttr
ibuteGetterCallback, TestInterfaceImplementationV8Internal::floatAttributeAttrib
uteSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_
cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */}, | 1320 {"floatAttribute", TestInterfaceImplementationV8Internal::floatAttributeAttr
ibuteGetterCallback, TestInterfaceImplementationV8Internal::floatAttributeAttrib
uteSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_
cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */}, |
| 1321 {"unrestrictedDoubleAttribute", TestInterfaceImplementationV8Internal::unres
trictedDoubleAttributeAttributeGetterCallback, TestInterfaceImplementationV8Inte
rnal::unrestrictedDoubleAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v
8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0
/* on instance */}, | 1321 {"unrestrictedDoubleAttribute", TestInterfaceImplementationV8Internal::unres
trictedDoubleAttributeAttributeGetterCallback, TestInterfaceImplementationV8Inte
rnal::unrestrictedDoubleAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v
8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0
/* on instance */}, |
| 1322 {"unrestrictedFloatAttribute", TestInterfaceImplementationV8Internal::unrest
rictedFloatAttributeAttributeGetterCallback, TestInterfaceImplementationV8Intern
al::unrestrictedFloatAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::
AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /*
on instance */}, | 1322 {"unrestrictedFloatAttribute", TestInterfaceImplementationV8Internal::unrest
rictedFloatAttributeAttributeGetterCallback, TestInterfaceImplementationV8Intern
al::unrestrictedFloatAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::
AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /*
on instance */}, |
| 1323 {"implementsReadonlyStringAttribute", TestInterfaceImplementationV8Internal:
:implementsReadonlyStringAttributeAttributeGetterCallback, 0, 0, 0, 0, static_ca
st<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None)
, 0 /* on instance */}, | 1323 {"implementsReadonlyStringAttribute", TestInterfaceImplementationV8Internal:
:implementsReadonlyStringAttributeAttributeGetterCallback, 0, 0, 0, 0, static_ca
st<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None)
, 0 /* on instance */}, |
| 1324 {"implementsStringAttribute", TestInterfaceImplementationV8Internal::impleme
ntsStringAttributeAttributeGetterCallback, TestInterfaceImplementationV8Internal
::implementsStringAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::Acc
essControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on
instance */}, | 1324 {"implementsStringAttribute", TestInterfaceImplementationV8Internal::impleme
ntsStringAttributeAttributeGetterCallback, TestInterfaceImplementationV8Internal
::implementsStringAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::Acc
essControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on
instance */}, |
| 1325 {"implementsNodeAttribute", TestInterfaceImplementationV8Internal::implement
sNodeAttributeAttributeGetterCallback, TestInterfaceImplementationV8Internal::im
plementsNodeAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessCon
trol>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instan
ce */}, | 1325 {"implementsNodeAttribute", TestInterfaceImplementationV8Internal::implement
sNodeAttributeAttributeGetterCallback, TestInterfaceImplementationV8Internal::im
plementsNodeAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessCon
trol>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instan
ce */}, |
| 1326 {"implementsEventHandlerAttribute", TestInterfaceImplementationV8Internal::i
mplementsEventHandlerAttributeAttributeGetterCallback, TestInterfaceImplementati
onV8Internal::implementsEventHandlerAttributeAttributeSetterCallback, 0, 0, 0, s
tatic_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v
8::None), 0 /* on instance */}, | 1326 {"implementsEventHandlerAttribute", TestInterfaceImplementationV8Internal::i
mplementsEventHandlerAttributeAttributeGetterCallback, TestInterfaceImplementati
onV8Internal::implementsEventHandlerAttributeAttributeSetterCallback, 0, 0, 0, s
tatic_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v
8::None), 0 /* on instance */}, |
| 1327 {"implements3StringAttribute", TestInterfaceImplementationV8Internal::implem
ents3StringAttributeAttributeGetterCallback, TestInterfaceImplementationV8Intern
al::implements3StringAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::
AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /*
on instance */}, | 1327 {"implements3StringAttribute", TestInterfaceImplementationV8Internal::implem
ents3StringAttributeAttributeGetterCallback, TestInterfaceImplementationV8Intern
al::implements3StringAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::
AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /*
on instance */}, |
| 1328 }; | 1328 }; |
| (...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1509 } | 1509 } |
| 1510 | 1510 |
| 1511 template<> | 1511 template<> |
| 1512 v8::Handle<v8::Value> toV8NoInline(TestInterfaceImplementation* impl, v8::Handle
<v8::Object> creationContext, v8::Isolate* isolate) | 1512 v8::Handle<v8::Value> toV8NoInline(TestInterfaceImplementation* impl, v8::Handle
<v8::Object> creationContext, v8::Isolate* isolate) |
| 1513 { | 1513 { |
| 1514 return toV8(impl, creationContext, isolate); | 1514 return toV8(impl, creationContext, isolate); |
| 1515 } | 1515 } |
| 1516 | 1516 |
| 1517 } // namespace WebCore | 1517 } // namespace WebCore |
| 1518 #endif // ENABLE(CONDITION) | 1518 #endif // ENABLE(CONDITION) |
| OLD | NEW |