Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(165)

Unified Diff: Source/bindings/core/v8/V8EventListener.h

Issue 351423002: Moved files under Source/bindings/v8 to Source/bindings/core/v8. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/bindings/core/v8/V8ErrorHandler.cpp ('k') | Source/bindings/core/v8/V8EventListener.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « Source/bindings/core/v8/V8ErrorHandler.cpp ('k') | Source/bindings/core/v8/V8EventListener.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698