Index: Source/bindings/tests/results/V8TestInterfacePython.h |
diff --git a/Source/bindings/tests/results/V8TestInterface.h b/Source/bindings/tests/results/V8TestInterfacePython.h |
similarity index 66% |
copy from Source/bindings/tests/results/V8TestInterface.h |
copy to Source/bindings/tests/results/V8TestInterfacePython.h |
index f1f2006c82c91928701fd4467993859cdebf696e..d87b860d31f5dd450a5b98048d18bb88d2ab4b01 100644 |
--- a/Source/bindings/tests/results/V8TestInterface.h |
+++ b/Source/bindings/tests/results/V8TestInterfacePython.h |
@@ -4,12 +4,12 @@ |
// This file has been auto-generated by code_generator_v8.py. DO NOT MODIFY! |
-#ifndef V8TestInterface_h |
-#define V8TestInterface_h |
+#ifndef V8TestInterfacePython_h |
+#define V8TestInterfacePython_h |
#if ENABLE(CONDITION) |
#include "V8TestInterfaceEmpty.h" |
-#include "bindings/tests/idls/TestInterfaceImplementation.h" |
+#include "bindings/tests/idls/TestInterfacePythonImplementation.h" |
#include "bindings/v8/V8Binding.h" |
#include "bindings/v8/V8DOMWrapper.h" |
#include "bindings/v8/WrapperTypeInfo.h" |
@@ -17,16 +17,16 @@ |
namespace WebCore { |
-class V8TestInterface { |
+class V8TestInterfacePython { |
public: |
static bool hasInstance(v8::Handle<v8::Value>, v8::Isolate*); |
static v8::Handle<v8::Object> findInstanceInPrototypeChain(v8::Handle<v8::Value>, v8::Isolate*); |
static v8::Handle<v8::FunctionTemplate> domTemplate(v8::Isolate*); |
- static TestInterfaceImplementation* toNative(v8::Handle<v8::Object> object) |
+ static TestInterfacePythonImplementation* toNative(v8::Handle<v8::Object> object) |
{ |
return fromInternalPointer(object->GetAlignedPointerFromInternalField(v8DOMWrapperObjectIndex)); |
} |
- static TestInterfaceImplementation* toNativeWithTypeCheck(v8::Isolate*, v8::Handle<v8::Value>); |
+ static TestInterfacePythonImplementation* toNativeWithTypeCheck(v8::Isolate*, v8::Handle<v8::Value>); |
static const WrapperTypeInfo wrapperTypeInfo; |
static void derefObject(void*); |
static void visitDOMWrapper(void*, const v8::Persistent<v8::Object>&, v8::Isolate*); |
@@ -34,65 +34,65 @@ public: |
static void implementsCustomVoidMethodMethodCustom(const v8::FunctionCallbackInfo<v8::Value>&); |
static void legacyCallCustom(const v8::FunctionCallbackInfo<v8::Value>&); |
static const int internalFieldCount = v8DefaultWrapperInternalFieldCount + 0; |
- static inline void* toInternalPointer(TestInterfaceImplementation* impl) |
+ static inline void* toInternalPointer(TestInterfacePythonImplementation* impl) |
{ |
return V8TestInterfaceEmpty::toInternalPointer(impl); |
} |
- static inline TestInterfaceImplementation* fromInternalPointer(void* object) |
+ static inline TestInterfacePythonImplementation* fromInternalPointer(void* object) |
{ |
- return static_cast<TestInterfaceImplementation*>(V8TestInterfaceEmpty::fromInternalPointer(object)); |
+ return static_cast<TestInterfacePythonImplementation*>(V8TestInterfaceEmpty::fromInternalPointer(object)); |
} |
- static void installPerContextEnabledProperties(v8::Handle<v8::Object>, TestInterfaceImplementation*, v8::Isolate*); |
- static void installPerContextEnabledMethods(v8::Handle<v8::Object>, v8::Isolate*); |
+ static void installPerContextEnabledProperties(v8::Handle<v8::Object>, TestInterfacePythonImplementation*, v8::Isolate*); |
+ static void installPerContextEnabledMethods(v8::Handle<v8::Object>, v8::Isolate*) { } |
private: |
}; |
-class TestInterfaceImplementation; |
-v8::Handle<v8::Value> toV8(TestInterfaceImplementation*, v8::Handle<v8::Object> creationContext, v8::Isolate*); |
+class TestInterfacePythonImplementation; |
+v8::Handle<v8::Value> toV8(TestInterfacePythonImplementation*, v8::Handle<v8::Object> creationContext, v8::Isolate*); |
template<class CallbackInfo> |
-inline void v8SetReturnValue(const CallbackInfo& callbackInfo, TestInterfaceImplementation* impl) |
+inline void v8SetReturnValue(const CallbackInfo& callbackInfo, TestInterfacePythonImplementation* impl) |
{ |
v8SetReturnValue(callbackInfo, toV8(impl, callbackInfo.Holder(), callbackInfo.GetIsolate())); |
} |
template<class CallbackInfo> |
-inline void v8SetReturnValueForMainWorld(const CallbackInfo& callbackInfo, TestInterfaceImplementation* impl) |
+inline void v8SetReturnValueForMainWorld(const CallbackInfo& callbackInfo, TestInterfacePythonImplementation* impl) |
{ |
v8SetReturnValue(callbackInfo, toV8(impl, callbackInfo.Holder(), callbackInfo.GetIsolate())); |
} |
template<class CallbackInfo, class Wrappable> |
-inline void v8SetReturnValueFast(const CallbackInfo& callbackInfo, TestInterfaceImplementation* impl, Wrappable*) |
+inline void v8SetReturnValueFast(const CallbackInfo& callbackInfo, TestInterfacePythonImplementation* impl, Wrappable*) |
{ |
v8SetReturnValue(callbackInfo, toV8(impl, callbackInfo.Holder(), callbackInfo.GetIsolate())); |
} |
-inline v8::Handle<v8::Value> toV8(PassRefPtr<TestInterfaceImplementation> impl, v8::Handle<v8::Object> creationContext, v8::Isolate* isolate) |
+inline v8::Handle<v8::Value> toV8(PassRefPtr<TestInterfacePythonImplementation> 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<TestInterfaceImplementation> impl) |
+inline void v8SetReturnValue(const CallbackInfo& callbackInfo, PassRefPtr<TestInterfacePythonImplementation> impl) |
{ |
v8SetReturnValue(callbackInfo, impl.get()); |
} |
template<class CallbackInfo> |
-inline void v8SetReturnValueForMainWorld(const CallbackInfo& callbackInfo, PassRefPtr<TestInterfaceImplementation> impl) |
+inline void v8SetReturnValueForMainWorld(const CallbackInfo& callbackInfo, PassRefPtr<TestInterfacePythonImplementation> impl) |
{ |
v8SetReturnValueForMainWorld(callbackInfo, impl.get()); |
} |
template<class CallbackInfo, class Wrappable> |
-inline void v8SetReturnValueFast(const CallbackInfo& callbackInfo, PassRefPtr<TestInterfaceImplementation> impl, Wrappable* wrappable) |
+inline void v8SetReturnValueFast(const CallbackInfo& callbackInfo, PassRefPtr<TestInterfacePythonImplementation> impl, Wrappable* wrappable) |
{ |
v8SetReturnValueFast(callbackInfo, impl.get(), wrappable); |
} |
} |
#endif // ENABLE(CONDITION) |
-#endif // V8TestInterface_h |
+#endif // V8TestInterfacePython_h |