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 #include "V8TestObject.h" | 8 #include "V8TestObject.h" |
9 | 9 |
10 #include "HTMLNames.h" | 10 #include "HTMLNames.h" |
(...skipping 1768 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1779 V8HiddenValue::deleteHiddenValue(info.GetIsolate(), holder, v8AtomicString(i
nfo.GetIsolate(), "cachedAttributeAnyAttribute")); // Invalidate the cached valu
e. | 1779 V8HiddenValue::deleteHiddenValue(info.GetIsolate(), holder, v8AtomicString(i
nfo.GetIsolate(), "cachedAttributeAnyAttribute")); // Invalidate the cached valu
e. |
1780 } | 1780 } |
1781 | 1781 |
1782 static void cachedAttributeAnyAttributeAttributeSetterCallback(v8::Local<v8::Str
ing>, v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info) | 1782 static void cachedAttributeAnyAttributeAttributeSetterCallback(v8::Local<v8::Str
ing>, v8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info) |
1783 { | 1783 { |
1784 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter"); | 1784 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter"); |
1785 TestObjectV8Internal::cachedAttributeAnyAttributeAttributeSetter(v8Value, in
fo); | 1785 TestObjectV8Internal::cachedAttributeAnyAttributeAttributeSetter(v8Value, in
fo); |
1786 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); | 1786 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); |
1787 } | 1787 } |
1788 | 1788 |
| 1789 static void cachedArrayAttributeAttributeGetter(const v8::PropertyCallbackInfo<v
8::Value>& info) |
| 1790 { |
| 1791 v8::Handle<v8::Object> holder = info.Holder(); |
| 1792 v8::Handle<v8::String> propertyName = v8AtomicString(info.GetIsolate(), "cac
hedArrayAttribute"); |
| 1793 TestObject* impl = V8TestObject::toNative(holder); |
| 1794 if (!impl->isArrayDirty()) { |
| 1795 v8::Handle<v8::Value> v8Value = V8HiddenValue::getHiddenValue(info.GetIs
olate(), holder, propertyName); |
| 1796 if (!v8Value.IsEmpty()) { |
| 1797 v8SetReturnValue(info, v8Value); |
| 1798 return; |
| 1799 } |
| 1800 } |
| 1801 Vector<String> v8Value = impl->cachedArrayAttribute(); |
| 1802 V8HiddenValue::setHiddenValue(info.GetIsolate(), holder, propertyName, v8Arr
ay(v8Value, info.GetIsolate())); |
| 1803 v8SetReturnValue(info, v8Array(v8Value, info.GetIsolate())); |
| 1804 } |
| 1805 |
| 1806 static void cachedArrayAttributeAttributeGetterCallback(v8::Local<v8::String>, c
onst v8::PropertyCallbackInfo<v8::Value>& info) |
| 1807 { |
| 1808 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMGetter"); |
| 1809 TestObjectV8Internal::cachedArrayAttributeAttributeGetter(info); |
| 1810 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); |
| 1811 } |
| 1812 |
| 1813 static void cachedArrayAttributeAttributeSetter(v8::Local<v8::Value> v8Value, co
nst v8::PropertyCallbackInfo<void>& info) |
| 1814 { |
| 1815 v8::Handle<v8::Object> holder = info.Holder(); |
| 1816 TestObject* impl = V8TestObject::toNative(holder); |
| 1817 TONATIVE_VOID(Vector<String>, cppValue, toNativeArray<String>(v8Value, 0, in
fo.GetIsolate())); |
| 1818 impl->setCachedArrayAttribute(cppValue); |
| 1819 V8HiddenValue::deleteHiddenValue(info.GetIsolate(), holder, v8AtomicString(i
nfo.GetIsolate(), "cachedArrayAttribute")); // Invalidate the cached value. |
| 1820 } |
| 1821 |
| 1822 static void cachedArrayAttributeAttributeSetterCallback(v8::Local<v8::String>, v
8::Local<v8::Value> v8Value, const v8::PropertyCallbackInfo<void>& info) |
| 1823 { |
| 1824 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter"); |
| 1825 TestObjectV8Internal::cachedArrayAttributeAttributeSetter(v8Value, info); |
| 1826 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); |
| 1827 } |
| 1828 |
1789 static void callWithExecutionContextAnyAttributeAttributeGetter(const v8::Proper
tyCallbackInfo<v8::Value>& info) | 1829 static void callWithExecutionContextAnyAttributeAttributeGetter(const v8::Proper
tyCallbackInfo<v8::Value>& info) |
1790 { | 1830 { |
1791 v8::Handle<v8::Object> holder = info.Holder(); | 1831 v8::Handle<v8::Object> holder = info.Holder(); |
1792 TestObject* impl = V8TestObject::toNative(holder); | 1832 TestObject* impl = V8TestObject::toNative(holder); |
1793 ExecutionContext* scriptContext = currentExecutionContext(info.GetIsolate())
; | 1833 ExecutionContext* scriptContext = currentExecutionContext(info.GetIsolate())
; |
1794 v8SetReturnValue(info, impl->callWithExecutionContextAnyAttribute(scriptCont
ext).v8Value()); | 1834 v8SetReturnValue(info, impl->callWithExecutionContextAnyAttribute(scriptCont
ext).v8Value()); |
1795 } | 1835 } |
1796 | 1836 |
1797 static void callWithExecutionContextAnyAttributeAttributeGetterCallback(v8::Loca
l<v8::String>, const v8::PropertyCallbackInfo<v8::Value>& info) | 1837 static void callWithExecutionContextAnyAttributeAttributeGetterCallback(v8::Loca
l<v8::String>, const v8::PropertyCallbackInfo<v8::Value>& info) |
1798 { | 1838 { |
(...skipping 2498 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4297 impl->setActivityLoggingSetterOnlyLogPreviousValueAttribute(cppValue); | 4337 impl->setActivityLoggingSetterOnlyLogPreviousValueAttribute(cppValue); |
4298 } | 4338 } |
4299 | 4339 |
4300 static void activityLoggingSetterOnlyLogPreviousValueAttributeAttributeSetterCal
lback(v8::Local<v8::String>, v8::Local<v8::Value> v8Value, const v8::PropertyCal
lbackInfo<void>& info) | 4340 static void activityLoggingSetterOnlyLogPreviousValueAttributeAttributeSetterCal
lback(v8::Local<v8::String>, v8::Local<v8::Value> v8Value, const v8::PropertyCal
lbackInfo<void>& info) |
4301 { | 4341 { |
4302 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter"); | 4342 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter"); |
4303 DOMWrapperWorld& world = DOMWrapperWorld::current(info.GetIsolate()); | 4343 DOMWrapperWorld& world = DOMWrapperWorld::current(info.GetIsolate()); |
4304 if (world.activityLogger()) { | 4344 if (world.activityLogger()) { |
4305 TestObject* impl = V8TestObject::toNative(info.Holder()); | 4345 TestObject* impl = V8TestObject::toNative(info.Holder()); |
4306 int original = impl->activityLoggingSetterOnlyLogPreviousValueAttribute(
); | 4346 int original = impl->activityLoggingSetterOnlyLogPreviousValueAttribute(
); |
4307 v8::Handle<v8::Value> originalValue = v8::Integer::New(info.GetIsolate()
, original); | 4347 v8::Handle<v8::Value> originalValue = v8::Integer::New(info.GetIsolate()
, impl->activityLoggingSetterOnlyLogPreviousValueAttribute()); |
4308 world.activityLogger()->logSetter("TestObject.activityLoggingSetterOnlyL
ogPreviousValueAttribute", v8Value, originalValue); | 4348 world.activityLogger()->logSetter("TestObject.activityLoggingSetterOnlyL
ogPreviousValueAttribute", v8Value, originalValue); |
4309 } | 4349 } |
4310 TestObjectV8Internal::activityLoggingSetterOnlyLogPreviousValueAttributeAttr
ibuteSetter(v8Value, info); | 4350 TestObjectV8Internal::activityLoggingSetterOnlyLogPreviousValueAttributeAttr
ibuteSetter(v8Value, info); |
4311 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); | 4351 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); |
4312 } | 4352 } |
4313 | 4353 |
4314 static void activityLoggingLogPreviousValueInterfaceAttributeAttributeGetter(con
st v8::PropertyCallbackInfo<v8::Value>& info) | 4354 static void activityLoggingLogPreviousValueInterfaceAttributeAttributeGetter(con
st v8::PropertyCallbackInfo<v8::Value>& info) |
4315 { | 4355 { |
4316 v8::Handle<v8::Object> holder = info.Holder(); | 4356 v8::Handle<v8::Object> holder = info.Holder(); |
4317 TestObject* impl = V8TestObject::toNative(holder); | 4357 TestObject* impl = V8TestObject::toNative(holder); |
(...skipping 18 matching lines...) Expand all Loading... |
4336 impl->setActivityLoggingLogPreviousValueInterfaceAttribute(WTF::getPtr(cppVa
lue)); | 4376 impl->setActivityLoggingLogPreviousValueInterfaceAttribute(WTF::getPtr(cppVa
lue)); |
4337 } | 4377 } |
4338 | 4378 |
4339 static void activityLoggingLogPreviousValueInterfaceAttributeAttributeSetterCall
back(v8::Local<v8::String>, v8::Local<v8::Value> v8Value, const v8::PropertyCall
backInfo<void>& info) | 4379 static void activityLoggingLogPreviousValueInterfaceAttributeAttributeSetterCall
back(v8::Local<v8::String>, v8::Local<v8::Value> v8Value, const v8::PropertyCall
backInfo<void>& info) |
4340 { | 4380 { |
4341 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter"); | 4381 TRACE_EVENT_SET_SAMPLING_STATE("Blink", "DOMSetter"); |
4342 DOMWrapperWorld& world = DOMWrapperWorld::current(info.GetIsolate()); | 4382 DOMWrapperWorld& world = DOMWrapperWorld::current(info.GetIsolate()); |
4343 if (world.activityLogger()) { | 4383 if (world.activityLogger()) { |
4344 TestObject* impl = V8TestObject::toNative(info.Holder()); | 4384 TestObject* impl = V8TestObject::toNative(info.Holder()); |
4345 RefPtr<TestInterfaceEmpty> original = impl->activityLoggingLogPreviousVa
lueInterfaceAttribute(); | 4385 RefPtr<TestInterfaceEmpty> original = impl->activityLoggingLogPreviousVa
lueInterfaceAttribute(); |
4346 v8::Handle<v8::Value> originalValue = toV8(original, info.Holder(), info
.GetIsolate()); | 4386 v8::Handle<v8::Value> originalValue = toV8(impl->activityLoggingLogPrevi
ousValueInterfaceAttribute(), info.Holder(), info.GetIsolate()); |
4347 world.activityLogger()->logSetter("TestObject.activityLoggingLogPrevious
ValueInterfaceAttribute", v8Value, originalValue); | 4387 world.activityLogger()->logSetter("TestObject.activityLoggingLogPrevious
ValueInterfaceAttribute", v8Value, originalValue); |
4348 } | 4388 } |
4349 TestObjectV8Internal::activityLoggingLogPreviousValueInterfaceAttributeAttri
buteSetter(v8Value, info); | 4389 TestObjectV8Internal::activityLoggingLogPreviousValueInterfaceAttributeAttri
buteSetter(v8Value, info); |
4350 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); | 4390 TRACE_EVENT_SET_SAMPLING_STATE("V8", "V8Execution"); |
4351 } | 4391 } |
4352 | 4392 |
4353 static void testInterfaceAttributeAttributeGetter(const v8::PropertyCallbackInfo
<v8::Value>& info) | 4393 static void testInterfaceAttributeAttributeGetter(const v8::PropertyCallbackInfo
<v8::Value>& info) |
4354 { | 4394 { |
4355 v8::Handle<v8::Object> holder = info.Holder(); | 4395 v8::Handle<v8::Object> holder = info.Holder(); |
4356 TestObject* impl = V8TestObject::toNative(holder); | 4396 TestObject* impl = V8TestObject::toNative(holder); |
(...skipping 3968 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8325 {"floatArrayAttribute", TestObjectV8Internal::floatArrayAttributeAttributeGe
tterCallback, TestObjectV8Internal::floatArrayAttributeAttributeSetterCallback,
0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAt
tribute>(v8::None), 0 /* on instance */}, | 8365 {"floatArrayAttribute", TestObjectV8Internal::floatArrayAttributeAttributeGe
tterCallback, TestObjectV8Internal::floatArrayAttributeAttributeSetterCallback,
0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAt
tribute>(v8::None), 0 /* on instance */}, |
8326 {"stringOrNullAttribute", TestObjectV8Internal::stringOrNullAttributeAttribu
teGetterCallback, TestObjectV8Internal::stringOrNullAttributeAttributeSetterCall
back, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::Prop
ertyAttribute>(v8::None), 0 /* on instance */}, | 8366 {"stringOrNullAttribute", TestObjectV8Internal::stringOrNullAttributeAttribu
teGetterCallback, TestObjectV8Internal::stringOrNullAttributeAttributeSetterCall
back, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::Prop
ertyAttribute>(v8::None), 0 /* on instance */}, |
8327 {"longOrNullAttribute", TestObjectV8Internal::longOrNullAttributeAttributeGe
tterCallback, TestObjectV8Internal::longOrNullAttributeAttributeSetterCallback,
0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAt
tribute>(v8::None), 0 /* on instance */}, | 8367 {"longOrNullAttribute", TestObjectV8Internal::longOrNullAttributeAttributeGe
tterCallback, TestObjectV8Internal::longOrNullAttributeAttributeSetterCallback,
0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAt
tribute>(v8::None), 0 /* on instance */}, |
8328 {"testInterfaceOrNullAttribute", TestObjectV8Internal::testInterfaceOrNullAt
tributeAttributeGetterCallback, TestObjectV8Internal::testInterfaceOrNullAttribu
teAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT),
static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */}, | 8368 {"testInterfaceOrNullAttribute", TestObjectV8Internal::testInterfaceOrNullAt
tributeAttributeGetterCallback, TestObjectV8Internal::testInterfaceOrNullAttribu
teAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT),
static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */}, |
8329 {"testEnumAttribute", TestObjectV8Internal::testEnumAttributeAttributeGetter
Callback, TestObjectV8Internal::testEnumAttributeAttributeSetterCallback, 0, 0,
0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribut
e>(v8::None), 0 /* on instance */}, | 8369 {"testEnumAttribute", TestObjectV8Internal::testEnumAttributeAttributeGetter
Callback, TestObjectV8Internal::testEnumAttributeAttributeSetterCallback, 0, 0,
0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribut
e>(v8::None), 0 /* on instance */}, |
8330 {"eventHandlerAttribute", TestObjectV8Internal::eventHandlerAttributeAttribu
teGetterCallback, TestObjectV8Internal::eventHandlerAttributeAttributeSetterCall
back, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::Prop
ertyAttribute>(v8::None), 0 /* on instance */}, | 8370 {"eventHandlerAttribute", TestObjectV8Internal::eventHandlerAttributeAttribu
teGetterCallback, TestObjectV8Internal::eventHandlerAttributeAttributeSetterCall
back, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::Prop
ertyAttribute>(v8::None), 0 /* on instance */}, |
8331 {"activityLoggingAccessForAllWorldsLongAttribute", TestObjectV8Internal::act
ivityLoggingAccessForAllWorldsLongAttributeAttributeGetterCallback, TestObjectV8
Internal::activityLoggingAccessForAllWorldsLongAttributeAttributeSetterCallback,
0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyA
ttribute>(v8::None), 0 /* on instance */}, | 8371 {"activityLoggingAccessForAllWorldsLongAttribute", TestObjectV8Internal::act
ivityLoggingAccessForAllWorldsLongAttributeAttributeGetterCallback, TestObjectV8
Internal::activityLoggingAccessForAllWorldsLongAttributeAttributeSetterCallback,
0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyA
ttribute>(v8::None), 0 /* on instance */}, |
8332 {"activityLoggingGetterForAllWorldsLongAttribute", TestObjectV8Internal::act
ivityLoggingGetterForAllWorldsLongAttributeAttributeGetterCallback, TestObjectV8
Internal::activityLoggingGetterForAllWorldsLongAttributeAttributeSetterCallback,
0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyA
ttribute>(v8::None), 0 /* on instance */}, | 8372 {"activityLoggingGetterForAllWorldsLongAttribute", TestObjectV8Internal::act
ivityLoggingGetterForAllWorldsLongAttributeAttributeGetterCallback, TestObjectV8
Internal::activityLoggingGetterForAllWorldsLongAttributeAttributeSetterCallback,
0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyA
ttribute>(v8::None), 0 /* on instance */}, |
8333 {"activityLoggingSetterForAllWorldsLongAttribute", TestObjectV8Internal::act
ivityLoggingSetterForAllWorldsLongAttributeAttributeGetterCallback, TestObjectV8
Internal::activityLoggingSetterForAllWorldsLongAttributeAttributeSetterCallback,
0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyA
ttribute>(v8::None), 0 /* on instance */}, | 8373 {"activityLoggingSetterForAllWorldsLongAttribute", TestObjectV8Internal::act
ivityLoggingSetterForAllWorldsLongAttributeAttributeGetterCallback, TestObjectV8
Internal::activityLoggingSetterForAllWorldsLongAttributeAttributeSetterCallback,
0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyA
ttribute>(v8::None), 0 /* on instance */}, |
8334 {"cachedAttributeAnyAttribute", TestObjectV8Internal::cachedAttributeAnyAttr
ibuteAttributeGetterCallback, TestObjectV8Internal::cachedAttributeAnyAttributeA
ttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), st
atic_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */}, | 8374 {"cachedAttributeAnyAttribute", TestObjectV8Internal::cachedAttributeAnyAttr
ibuteAttributeGetterCallback, TestObjectV8Internal::cachedAttributeAnyAttributeA
ttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), st
atic_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */}, |
| 8375 {"cachedArrayAttribute", TestObjectV8Internal::cachedArrayAttributeAttribute
GetterCallback, TestObjectV8Internal::cachedArrayAttributeAttributeSetterCallbac
k, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::Propert
yAttribute>(v8::None), 0 /* on instance */}, |
8335 {"callWithExecutionContextAnyAttribute", TestObjectV8Internal::callWithExecu
tionContextAnyAttributeAttributeGetterCallback, TestObjectV8Internal::callWithEx
ecutionContextAnyAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::Acce
ssControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on i
nstance */}, | 8376 {"callWithExecutionContextAnyAttribute", TestObjectV8Internal::callWithExecu
tionContextAnyAttributeAttributeGetterCallback, TestObjectV8Internal::callWithEx
ecutionContextAnyAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::Acce
ssControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on i
nstance */}, |
8336 {"callWithScriptStateAnyAttribute", TestObjectV8Internal::callWithScriptStat
eAnyAttributeAttributeGetterCallback, TestObjectV8Internal::callWithScriptStateA
nyAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::
DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */}, | 8377 {"callWithScriptStateAnyAttribute", TestObjectV8Internal::callWithScriptStat
eAnyAttributeAttributeGetterCallback, TestObjectV8Internal::callWithScriptStateA
nyAttributeAttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::
DEFAULT), static_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */}, |
8337 {"callWithExecutionContextAndScriptStateAnyAttribute", TestObjectV8Internal:
:callWithExecutionContextAndScriptStateAnyAttributeAttributeGetterCallback, Test
ObjectV8Internal::callWithExecutionContextAndScriptStateAnyAttributeAttributeSet
terCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v
8::PropertyAttribute>(v8::None), 0 /* on instance */}, | 8378 {"callWithExecutionContextAndScriptStateAnyAttribute", TestObjectV8Internal:
:callWithExecutionContextAndScriptStateAnyAttributeAttributeGetterCallback, Test
ObjectV8Internal::callWithExecutionContextAndScriptStateAnyAttributeAttributeSet
terCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v
8::PropertyAttribute>(v8::None), 0 /* on instance */}, |
8338 {"checkSecurityForNodeReadonlyDocumentAttribute", TestObjectV8Internal::chec
kSecurityForNodeReadonlyDocumentAttributeAttributeGetterCallback, 0, 0, 0, 0, st
atic_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8
::None), 0 /* on instance */}, | 8379 {"checkSecurityForNodeReadonlyDocumentAttribute", TestObjectV8Internal::chec
kSecurityForNodeReadonlyDocumentAttributeAttributeGetterCallback, 0, 0, 0, 0, st
atic_cast<v8::AccessControl>(v8::DEFAULT), static_cast<v8::PropertyAttribute>(v8
::None), 0 /* on instance */}, |
8339 #if ENABLE(CONDITION) | 8380 #if ENABLE(CONDITION) |
8340 {"conditionalLongAttribute", TestObjectV8Internal::conditionalLongAttributeA
ttributeGetterCallback, TestObjectV8Internal::conditionalLongAttributeAttributeS
etterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast
<v8::PropertyAttribute>(v8::None), 0 /* on instance */}, | 8381 {"conditionalLongAttribute", TestObjectV8Internal::conditionalLongAttributeA
ttributeGetterCallback, TestObjectV8Internal::conditionalLongAttributeAttributeS
etterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), static_cast
<v8::PropertyAttribute>(v8::None), 0 /* on instance */}, |
8341 #endif // ENABLE(CONDITION) | 8382 #endif // ENABLE(CONDITION) |
8342 #if ENABLE(CONDITION_1) && ENABLE(CONDITION_2) | 8383 #if ENABLE(CONDITION_1) && ENABLE(CONDITION_2) |
8343 {"conditionalAndLongAttribute", TestObjectV8Internal::conditionalAndLongAttr
ibuteAttributeGetterCallback, TestObjectV8Internal::conditionalAndLongAttributeA
ttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), st
atic_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */}, | 8384 {"conditionalAndLongAttribute", TestObjectV8Internal::conditionalAndLongAttr
ibuteAttributeGetterCallback, TestObjectV8Internal::conditionalAndLongAttributeA
ttributeSetterCallback, 0, 0, 0, static_cast<v8::AccessControl>(v8::DEFAULT), st
atic_cast<v8::PropertyAttribute>(v8::None), 0 /* on instance */}, |
8344 #endif // ENABLE(CONDITION_1) && ENABLE(CONDITION_2) | 8385 #endif // ENABLE(CONDITION_1) && ENABLE(CONDITION_2) |
(...skipping 432 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8777 fromInternalPointer(object)->deref(); | 8818 fromInternalPointer(object)->deref(); |
8778 } | 8819 } |
8779 | 8820 |
8780 template<> | 8821 template<> |
8781 v8::Handle<v8::Value> toV8NoInline(TestObject* impl, v8::Handle<v8::Object> crea
tionContext, v8::Isolate* isolate) | 8822 v8::Handle<v8::Value> toV8NoInline(TestObject* impl, v8::Handle<v8::Object> crea
tionContext, v8::Isolate* isolate) |
8782 { | 8823 { |
8783 return toV8(impl, creationContext, isolate); | 8824 return toV8(impl, creationContext, isolate); |
8784 } | 8825 } |
8785 | 8826 |
8786 } // namespace WebCore | 8827 } // namespace WebCore |
OLD | NEW |