Index: trunk/Source/bindings/tests/results/V8TestObject.h |
=================================================================== |
--- trunk/Source/bindings/tests/results/V8TestObject.h (revision 170423) |
+++ trunk/Source/bindings/tests/results/V8TestObject.h (working copy) |
@@ -7,7 +7,6 @@ |
#ifndef V8TestObject_h |
#define V8TestObject_h |
-#include "V8EventTarget.h" |
#include "bindings/tests/idls/TestObject.h" |
#include "bindings/v8/V8Binding.h" |
#include "bindings/v8/V8DOMWrapper.h" |
@@ -28,22 +27,34 @@ |
static TestObject* toNativeWithTypeCheck(v8::Isolate*, v8::Handle<v8::Value>); |
static const WrapperTypeInfo wrapperTypeInfo; |
static void derefObject(void*); |
- static EventTarget* toEventTarget(v8::Handle<v8::Object>); |
- static void customMethodMethodCustom(const v8::FunctionCallbackInfo<v8::Value>&); |
- static void customMethodWithArgsMethodCustom(const v8::FunctionCallbackInfo<v8::Value>&); |
- static void classMethod2MethodCustom(const v8::FunctionCallbackInfo<v8::Value>&); |
- static void customAttrAttributeGetterCustom(const v8::PropertyCallbackInfo<v8::Value>&); |
- static void customAttrAttributeSetterCustom(v8::Local<v8::Value>, const v8::PropertyCallbackInfo<void>&); |
- static const int eventListenerCacheIndex = v8DefaultWrapperInternalFieldCount + 0; |
- static const int internalFieldCount = v8DefaultWrapperInternalFieldCount + 1; |
+ static void customVoidMethodMethodCustom(const v8::FunctionCallbackInfo<v8::Value>&); |
+#if ENABLE(CONDITION) |
+ static void conditionalConditionCustomVoidMethodMethodCustom(const v8::FunctionCallbackInfo<v8::Value>&); |
+#endif // ENABLE(CONDITION) |
+ static void customObjectAttributeAttributeGetterCustom(const v8::PropertyCallbackInfo<v8::Value>&); |
+ static void customObjectAttributeAttributeSetterCustom(v8::Local<v8::Value>, const v8::PropertyCallbackInfo<void>&); |
+ static void customGetterLongAttributeAttributeGetterCustom(const v8::PropertyCallbackInfo<v8::Value>&); |
+ static void customGetterReadonlyObjectAttributeAttributeGetterCustom(const v8::PropertyCallbackInfo<v8::Value>&); |
+ static void customSetterLongAttributeAttributeSetterCustom(v8::Local<v8::Value>, const v8::PropertyCallbackInfo<void>&); |
+#if ENABLE(CONDITION) |
+ static void customLongAttributeAttributeGetterCustom(const v8::PropertyCallbackInfo<v8::Value>&); |
+#endif // ENABLE(CONDITION) |
+#if ENABLE(CONDITION) |
+ static void customLongAttributeAttributeSetterCustom(v8::Local<v8::Value>, const v8::PropertyCallbackInfo<void>&); |
+#endif // ENABLE(CONDITION) |
+ static void customImplementedAsLongAttributeAttributeGetterCustom(const v8::PropertyCallbackInfo<v8::Value>&); |
+ static void customImplementedAsLongAttributeAttributeSetterCustom(v8::Local<v8::Value>, const v8::PropertyCallbackInfo<void>&); |
+ static void customGetterImplementedAsLongAttributeAttributeGetterCustom(const v8::PropertyCallbackInfo<v8::Value>&); |
+ static void customSetterImplementedAsLongAttributeAttributeSetterCustom(v8::Local<v8::Value>, const v8::PropertyCallbackInfo<void>&); |
+ static const int internalFieldCount = v8DefaultWrapperInternalFieldCount + 0; |
static inline void* toInternalPointer(TestObject* impl) |
{ |
- return V8EventTarget::toInternalPointer(impl); |
+ return impl; |
} |
static inline TestObject* fromInternalPointer(void* object) |
{ |
- return static_cast<TestObject*>(V8EventTarget::fromInternalPointer(object)); |
+ return static_cast<TestObject*>(object); |
} |
static void installPerContextEnabledProperties(v8::Handle<v8::Object>, TestObject*, v8::Isolate*); |
static void installPerContextEnabledMethods(v8::Handle<v8::Object>, v8::Isolate*); |
@@ -86,7 +97,7 @@ |
template<typename CallbackInfo> |
inline void v8SetReturnValueForMainWorld(const CallbackInfo& callbackInfo, TestObject* impl) |
{ |
- ASSERT(DOMWrapperWorld::current(callbackInfo.GetIsolate())->isMainWorld()); |
+ ASSERT(DOMWrapperWorld::current(callbackInfo.GetIsolate()).isMainWorld()); |
if (UNLIKELY(!impl)) { |
v8SetReturnValueNull(callbackInfo); |
return; |