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