| Index: Source/bindings/tests/results/V8TestSpecialOperationsInt.h
|
| diff --git a/Source/bindings/tests/results/V8TestInterfaceConstructor.h b/Source/bindings/tests/results/V8TestSpecialOperationsInt.h
|
| similarity index 71%
|
| copy from Source/bindings/tests/results/V8TestInterfaceConstructor.h
|
| copy to Source/bindings/tests/results/V8TestSpecialOperationsInt.h
|
| index 9d2a0108b4ee6d6f19e809b1ec5f35f7d6673144..cbd03f4c5dbff88d13a54e04c06766c944e5408b 100644
|
| --- a/Source/bindings/tests/results/V8TestInterfaceConstructor.h
|
| +++ b/Source/bindings/tests/results/V8TestSpecialOperationsInt.h
|
| @@ -30,130 +30,129 @@
|
|
|
| // This file has been auto-generated by code_generator_v8.pm. DO NOT MODIFY!
|
|
|
| -#ifndef V8TestInterfaceConstructor_h
|
| -#define V8TestInterfaceConstructor_h
|
| +#ifndef V8TestSpecialOperationsInt_h
|
| +#define V8TestSpecialOperationsInt_h
|
|
|
| -#include "bindings/tests/idls/TestInterfaceConstructor.h"
|
| +#include "bindings/tests/idls/TestSpecialOperationsInt.h"
|
| #include "bindings/v8/V8Binding.h"
|
| #include "bindings/v8/V8DOMWrapper.h"
|
| #include "bindings/v8/WrapperTypeInfo.h"
|
|
|
| namespace WebCore {
|
|
|
| -class V8TestInterfaceConstructor {
|
| +class V8TestSpecialOperationsInt {
|
| public:
|
| static bool hasInstance(v8::Handle<v8::Value>, v8::Isolate*);
|
| static v8::Handle<v8::FunctionTemplate> domTemplate(v8::Isolate*, WrapperWorldType);
|
| - static TestInterfaceConstructor* toNative(v8::Handle<v8::Object> object)
|
| + static TestSpecialOperationsInt* toNative(v8::Handle<v8::Object> object)
|
| {
|
| return fromInternalPointer(object->GetAlignedPointerFromInternalField(v8DOMWrapperObjectIndex));
|
| }
|
| static void derefObject(void*);
|
| static const WrapperTypeInfo wrapperTypeInfo;
|
| - static void constructorCallback(const v8::FunctionCallbackInfo<v8::Value>&);
|
| static const int internalFieldCount = v8DefaultWrapperInternalFieldCount + 0;
|
| - static inline void* toInternalPointer(TestInterfaceConstructor* impl)
|
| + static inline void* toInternalPointer(TestSpecialOperationsInt* impl)
|
| {
|
| return impl;
|
| }
|
|
|
| - static inline TestInterfaceConstructor* fromInternalPointer(void* object)
|
| + static inline TestSpecialOperationsInt* fromInternalPointer(void* object)
|
| {
|
| - return static_cast<TestInterfaceConstructor*>(object);
|
| + return static_cast<TestSpecialOperationsInt*>(object);
|
| }
|
| - static void installPerContextEnabledProperties(v8::Handle<v8::Object>, TestInterfaceConstructor*, v8::Isolate*) { }
|
| + static void installPerContextEnabledProperties(v8::Handle<v8::Object>, TestSpecialOperationsInt*, v8::Isolate*) { }
|
| static void installPerContextEnabledMethods(v8::Handle<v8::Object>, v8::Isolate*) { }
|
|
|
| private:
|
| - friend v8::Handle<v8::Object> wrap(TestInterfaceConstructor*, v8::Handle<v8::Object> creationContext, v8::Isolate*);
|
| - static v8::Handle<v8::Object> createWrapper(PassRefPtr<TestInterfaceConstructor>, v8::Handle<v8::Object> creationContext, v8::Isolate*);
|
| + friend v8::Handle<v8::Object> wrap(TestSpecialOperationsInt*, v8::Handle<v8::Object> creationContext, v8::Isolate*);
|
| + static v8::Handle<v8::Object> createWrapper(PassRefPtr<TestSpecialOperationsInt>, v8::Handle<v8::Object> creationContext, v8::Isolate*);
|
| };
|
|
|
| template<>
|
| -class WrapperTypeTraits<TestInterfaceConstructor > {
|
| +class WrapperTypeTraits<TestSpecialOperationsInt > {
|
| public:
|
| - static const WrapperTypeInfo* wrapperTypeInfo() { return &V8TestInterfaceConstructor::wrapperTypeInfo; }
|
| + static const WrapperTypeInfo* wrapperTypeInfo() { return &V8TestSpecialOperationsInt::wrapperTypeInfo; }
|
| };
|
|
|
| -inline v8::Handle<v8::Object> wrap(TestInterfaceConstructor* impl, v8::Handle<v8::Object> creationContext, v8::Isolate* isolate)
|
| +inline v8::Handle<v8::Object> wrap(TestSpecialOperationsInt* impl, v8::Handle<v8::Object> creationContext, v8::Isolate* isolate)
|
| {
|
| ASSERT(impl);
|
| - ASSERT(!DOMDataStore::containsWrapper<V8TestInterfaceConstructor>(impl, isolate));
|
| - return V8TestInterfaceConstructor::createWrapper(impl, creationContext, isolate);
|
| + ASSERT(!DOMDataStore::containsWrapper<V8TestSpecialOperationsInt>(impl, isolate));
|
| + return V8TestSpecialOperationsInt::createWrapper(impl, creationContext, isolate);
|
| }
|
|
|
| -inline v8::Handle<v8::Value> toV8(TestInterfaceConstructor* impl, v8::Handle<v8::Object> creationContext, v8::Isolate* isolate)
|
| +inline v8::Handle<v8::Value> toV8(TestSpecialOperationsInt* impl, v8::Handle<v8::Object> creationContext, v8::Isolate* isolate)
|
| {
|
| if (UNLIKELY(!impl))
|
| return v8::Null(isolate);
|
| - v8::Handle<v8::Value> wrapper = DOMDataStore::getWrapper<V8TestInterfaceConstructor>(impl, isolate);
|
| + v8::Handle<v8::Value> wrapper = DOMDataStore::getWrapper<V8TestSpecialOperationsInt>(impl, isolate);
|
| if (!wrapper.IsEmpty())
|
| return wrapper;
|
| return wrap(impl, creationContext, isolate);
|
| }
|
|
|
| template<typename CallbackInfo>
|
| -inline void v8SetReturnValue(const CallbackInfo& callbackInfo, TestInterfaceConstructor* impl)
|
| +inline void v8SetReturnValue(const CallbackInfo& callbackInfo, TestSpecialOperationsInt* impl)
|
| {
|
| if (UNLIKELY(!impl)) {
|
| v8SetReturnValueNull(callbackInfo);
|
| return;
|
| }
|
| - if (DOMDataStore::setReturnValueFromWrapper<V8TestInterfaceConstructor>(callbackInfo.GetReturnValue(), impl))
|
| + if (DOMDataStore::setReturnValueFromWrapper<V8TestSpecialOperationsInt>(callbackInfo.GetReturnValue(), impl))
|
| return;
|
| v8::Handle<v8::Object> wrapper = wrap(impl, callbackInfo.Holder(), callbackInfo.GetIsolate());
|
| v8SetReturnValue(callbackInfo, wrapper);
|
| }
|
|
|
| template<typename CallbackInfo>
|
| -inline void v8SetReturnValueForMainWorld(const CallbackInfo& callbackInfo, TestInterfaceConstructor* impl)
|
| +inline void v8SetReturnValueForMainWorld(const CallbackInfo& callbackInfo, TestSpecialOperationsInt* impl)
|
| {
|
| ASSERT(worldType(callbackInfo.GetIsolate()) == MainWorld);
|
| if (UNLIKELY(!impl)) {
|
| v8SetReturnValueNull(callbackInfo);
|
| return;
|
| }
|
| - if (DOMDataStore::setReturnValueFromWrapperForMainWorld<V8TestInterfaceConstructor>(callbackInfo.GetReturnValue(), impl))
|
| + if (DOMDataStore::setReturnValueFromWrapperForMainWorld<V8TestSpecialOperationsInt>(callbackInfo.GetReturnValue(), impl))
|
| return;
|
| v8::Handle<v8::Value> wrapper = wrap(impl, callbackInfo.Holder(), callbackInfo.GetIsolate());
|
| v8SetReturnValue(callbackInfo, wrapper);
|
| }
|
|
|
| template<class CallbackInfo, class Wrappable>
|
| -inline void v8SetReturnValueFast(const CallbackInfo& callbackInfo, TestInterfaceConstructor* impl, Wrappable* wrappable)
|
| +inline void v8SetReturnValueFast(const CallbackInfo& callbackInfo, TestSpecialOperationsInt* impl, Wrappable* wrappable)
|
| {
|
| if (UNLIKELY(!impl)) {
|
| v8SetReturnValueNull(callbackInfo);
|
| return;
|
| }
|
| - if (DOMDataStore::setReturnValueFromWrapperFast<V8TestInterfaceConstructor>(callbackInfo.GetReturnValue(), impl, callbackInfo.Holder(), wrappable))
|
| + if (DOMDataStore::setReturnValueFromWrapperFast<V8TestSpecialOperationsInt>(callbackInfo.GetReturnValue(), impl, callbackInfo.Holder(), wrappable))
|
| return;
|
| v8::Handle<v8::Object> wrapper = wrap(impl, callbackInfo.Holder(), callbackInfo.GetIsolate());
|
| v8SetReturnValue(callbackInfo, wrapper);
|
| }
|
|
|
| -inline v8::Handle<v8::Value> toV8(PassRefPtr<TestInterfaceConstructor > impl, v8::Handle<v8::Object> creationContext, v8::Isolate* isolate)
|
| +inline v8::Handle<v8::Value> toV8(PassRefPtr<TestSpecialOperationsInt > impl, v8::Handle<v8::Object> creationContext, v8::Isolate* isolate)
|
| {
|
| return toV8(impl.get(), creationContext, isolate);
|
| }
|
|
|
| template<class CallbackInfo>
|
| -inline void v8SetReturnValue(const CallbackInfo& callbackInfo, PassRefPtr<TestInterfaceConstructor > impl)
|
| +inline void v8SetReturnValue(const CallbackInfo& callbackInfo, PassRefPtr<TestSpecialOperationsInt > impl)
|
| {
|
| v8SetReturnValue(callbackInfo, impl.get());
|
| }
|
|
|
| template<class CallbackInfo>
|
| -inline void v8SetReturnValueForMainWorld(const CallbackInfo& callbackInfo, PassRefPtr<TestInterfaceConstructor > impl)
|
| +inline void v8SetReturnValueForMainWorld(const CallbackInfo& callbackInfo, PassRefPtr<TestSpecialOperationsInt > impl)
|
| {
|
| v8SetReturnValueForMainWorld(callbackInfo, impl.get());
|
| }
|
|
|
| template<class CallbackInfo, class Wrappable>
|
| -inline void v8SetReturnValueFast(const CallbackInfo& callbackInfo, PassRefPtr<TestInterfaceConstructor > impl, Wrappable* wrappable)
|
| +inline void v8SetReturnValueFast(const CallbackInfo& callbackInfo, PassRefPtr<TestSpecialOperationsInt > impl, Wrappable* wrappable)
|
| {
|
| v8SetReturnValueFast(callbackInfo, impl.get(), wrappable);
|
| }
|
|
|
| }
|
| -#endif // V8TestInterfaceConstructor_h
|
| +#endif // V8TestSpecialOperationsInt_h
|
|
|