| Index: Source/bindings/core/v8/V8WorkerGlobalScopeEventListener.h
|
| diff --git a/Source/bindings/v8/V8WorkerGlobalScopeEventListener.h b/Source/bindings/core/v8/V8WorkerGlobalScopeEventListener.h
|
| similarity index 69%
|
| rename from Source/bindings/v8/V8WorkerGlobalScopeEventListener.h
|
| rename to Source/bindings/core/v8/V8WorkerGlobalScopeEventListener.h
|
| index 355a424afbc1830c6cb7e48dfc3fb9ea60c9edbc..652a4f1705d65c6851439c27850b9e24715cb523 100644
|
| --- a/Source/bindings/v8/V8WorkerGlobalScopeEventListener.h
|
| +++ b/Source/bindings/core/v8/V8WorkerGlobalScopeEventListener.h
|
| @@ -31,30 +31,30 @@
|
| #ifndef V8WorkerGlobalScopeEventListener_h
|
| #define V8WorkerGlobalScopeEventListener_h
|
|
|
| -#include "bindings/v8/V8EventListener.h"
|
| +#include "bindings/core/v8/V8EventListener.h"
|
| #include "wtf/PassRefPtr.h"
|
| #include <v8.h>
|
|
|
| namespace WebCore {
|
|
|
| - class Event;
|
| +class Event;
|
|
|
| - class V8WorkerGlobalScopeEventListener FINAL : public V8EventListener {
|
| - public:
|
| - static PassRefPtr<V8WorkerGlobalScopeEventListener> create(v8::Local<v8::Object> listener, bool isInline, ScriptState* scriptState)
|
| - {
|
| - return adoptRef(new V8WorkerGlobalScopeEventListener(listener, isInline, scriptState));
|
| - }
|
| +class V8WorkerGlobalScopeEventListener FINAL : public V8EventListener {
|
| +public:
|
| + static PassRefPtr<V8WorkerGlobalScopeEventListener> create(v8::Local<v8::Object> listener, bool isInline, ScriptState* scriptState)
|
| + {
|
| + return adoptRef(new V8WorkerGlobalScopeEventListener(listener, isInline, scriptState));
|
| + }
|
|
|
| - virtual void handleEvent(ExecutionContext*, Event*) OVERRIDE;
|
| + virtual void handleEvent(ExecutionContext*, Event*) OVERRIDE;
|
|
|
| - protected:
|
| - V8WorkerGlobalScopeEventListener(v8::Local<v8::Object> listener, bool isInline, ScriptState*);
|
| +protected:
|
| + V8WorkerGlobalScopeEventListener(v8::Local<v8::Object> listener, bool isInline, ScriptState*);
|
|
|
| - private:
|
| - virtual v8::Local<v8::Value> callListenerFunction(v8::Handle<v8::Value> jsEvent, Event*) OVERRIDE;
|
| - v8::Local<v8::Object> getReceiverObject(Event*);
|
| - };
|
| +private:
|
| + virtual v8::Local<v8::Value> callListenerFunction(v8::Handle<v8::Value> jsEvent, Event*) OVERRIDE;
|
| + v8::Local<v8::Object> getReceiverObject(Event*);
|
| +};
|
|
|
| } // namespace WebCore
|
|
|
|
|