Index: Source/bindings/core/v8/V8EventListener.h |
diff --git a/Source/bindings/v8/V8EventListener.h b/Source/bindings/core/v8/V8EventListener.h |
similarity index 67% |
rename from Source/bindings/v8/V8EventListener.h |
rename to Source/bindings/core/v8/V8EventListener.h |
index 93296ae659eed8cb731f182a85a56df1d2ddad32..d26fb2de3c3a0a2db7c5558b9749b53980488fde 100644 |
--- a/Source/bindings/v8/V8EventListener.h |
+++ b/Source/bindings/core/v8/V8EventListener.h |
@@ -31,31 +31,31 @@ |
#ifndef V8EventListener_h |
#define V8EventListener_h |
-#include "bindings/v8/V8AbstractEventListener.h" |
-#include <v8.h> |
+#include "bindings/core/v8/V8AbstractEventListener.h" |
#include "wtf/PassRefPtr.h" |
+#include <v8.h> |
namespace WebCore { |
- class Event; |
- class LocalFrame; |
+class Event; |
+class LocalFrame; |
- // V8EventListener is a wrapper of a JS object implements EventListener interface (has handleEvent(event) method), or a JS function |
- // that can handle the event. |
- class V8EventListener : public V8AbstractEventListener { |
- public: |
- static PassRefPtr<V8EventListener> create(v8::Local<v8::Object> listener, bool isAttribute, ScriptState* scriptState) |
- { |
- return adoptRef(new V8EventListener(listener, isAttribute, scriptState)); |
- } |
+// V8EventListener is a wrapper of a JS object implements EventListener interface (has handleEvent(event) method), or a JS function |
+// that can handle the event. |
+class V8EventListener : public V8AbstractEventListener { |
+public: |
+ static PassRefPtr<V8EventListener> create(v8::Local<v8::Object> listener, bool isAttribute, ScriptState* scriptState) |
+ { |
+ return adoptRef(new V8EventListener(listener, isAttribute, scriptState)); |
+ } |
- protected: |
- V8EventListener(v8::Local<v8::Object> listener, bool isAttribute, ScriptState*); |
+protected: |
+ V8EventListener(v8::Local<v8::Object> listener, bool isAttribute, ScriptState*); |
- v8::Local<v8::Function> getListenerFunction(ExecutionContext*); |
+ v8::Local<v8::Function> getListenerFunction(ExecutionContext*); |
- virtual v8::Local<v8::Value> callListenerFunction(v8::Handle<v8::Value> jsEvent, Event*) OVERRIDE; |
- }; |
+ virtual v8::Local<v8::Value> callListenerFunction(v8::Handle<v8::Value> jsEvent, Event*) OVERRIDE; |
+}; |
} // namespace WebCore |