| Index: Source/bindings/tests/results/V8TestCallbackInterface.h
|
| diff --git a/Source/bindings/tests/results/V8TestCallback.h b/Source/bindings/tests/results/V8TestCallbackInterface.h
|
| similarity index 61%
|
| rename from Source/bindings/tests/results/V8TestCallback.h
|
| rename to Source/bindings/tests/results/V8TestCallbackInterface.h
|
| index 44d735d815cdfa48d159d2175cf4a3ad85e7d7f8..2e67f3813830c624150dba0dfe0b4d6113d46aef 100644
|
| --- a/Source/bindings/tests/results/V8TestCallback.h
|
| +++ b/Source/bindings/tests/results/V8TestCallbackInterface.h
|
| @@ -30,10 +30,10 @@
|
|
|
| // This file has been auto-generated by code_generator_v8.pm. DO NOT MODIFY!
|
|
|
| -#ifndef V8TestCallback_h
|
| -#define V8TestCallback_h
|
| +#ifndef V8TestCallbackInterface_h
|
| +#define V8TestCallbackInterface_h
|
|
|
| -#include "bindings/tests/idls/TestCallback.h"
|
| +#include "bindings/tests/idls/TestCallbackInterface.h"
|
| #include "bindings/v8/ActiveDOMCallback.h"
|
| #include "bindings/v8/DOMWrapperWorld.h"
|
| #include "bindings/v8/ScopedPersistent.h"
|
| @@ -42,31 +42,31 @@ namespace WebCore {
|
|
|
| class ExecutionContext;
|
|
|
| -class V8TestCallback : public TestCallback, public ActiveDOMCallback {
|
| +class V8TestCallbackInterface : public TestCallbackInterface, public ActiveDOMCallback {
|
| public:
|
| - static PassOwnPtr<V8TestCallback> create(v8::Handle<v8::Function> callback, ExecutionContext* context)
|
| + static PassOwnPtr<V8TestCallbackInterface> create(v8::Handle<v8::Function> callback, ExecutionContext* context)
|
| {
|
| ASSERT(context);
|
| - return adoptPtr(new V8TestCallback(callback, context));
|
| + return adoptPtr(new V8TestCallbackInterface(callback, context));
|
| }
|
|
|
| - virtual ~V8TestCallback();
|
| + virtual ~V8TestCallbackInterface();
|
|
|
| - virtual bool callbackWithNoArg();
|
| - virtual bool callbackWithTestInterfaceEmptyArg(TestInterfaceEmpty* class1Arg);
|
| - virtual bool callbackWithTestInterfaceEmptyArg(TestInterfaceEmpty* class2Arg, const String& strArg);
|
| - virtual bool customCallback(TestInterfaceEmpty* testInterfaceEmptyArg, TestInterfaceEmpty* testInterfaceEmptyArg);
|
| - virtual bool callbackWithBooleanArg(bool boolArg);
|
| - virtual bool callbackWithSequenceArg(const Vector<RefPtr<TestInterfaceEmpty> >& sequenceArg);
|
| - virtual bool callbackWithFloatArg(float floatArg);
|
| - virtual bool callbackWithThisArg(ScriptValue thisValue, int arg);
|
| - virtual void callbackWithVoidReturnValue();
|
| + virtual void voidMethod();
|
| + virtual bool booleanMethod();
|
| + virtual void voidMethodBooleanArg(bool boolArg);
|
| + virtual void voidMethodSequenceArg(const Vector<RefPtr<TestInterfaceEmpty> >& sequenceArg);
|
| + virtual void voidMethodFloatArg(float floatArg);
|
| + virtual void voidMethodTestInterfaceEmptyArg(TestInterfaceEmpty* testInterfaceEmptyArg);
|
| + virtual void voidMethodTestInterfaceEmptyStringArg(TestInterfaceEmpty* testInterfaceEmptyArg, const String& stringArg);
|
| + virtual void callbackWithThisValueVoidMethodStringArg(ScriptValue thisValue, const String& stringArg);
|
| + virtual void customVoidMethodTestInterfaceEmptyArg(TestInterfaceEmpty* testInterfaceEmptyArg);
|
| private:
|
| - V8TestCallback(v8::Handle<v8::Function>, ExecutionContext*);
|
| + V8TestCallbackInterface(v8::Handle<v8::Function>, ExecutionContext*);
|
|
|
| ScopedPersistent<v8::Function> m_callback;
|
| RefPtr<DOMWrapperWorld> m_world;
|
| };
|
|
|
| }
|
| -#endif // V8TestCallback_h
|
| +#endif // V8TestCallbackInterface_h
|
|
|