Index: Source/bindings/v8/V8WorkerGlobalScopeEventListener.h |
diff --git a/Source/bindings/v8/V8WorkerContextEventListener.h b/Source/bindings/v8/V8WorkerGlobalScopeEventListener.h |
similarity index 80% |
rename from Source/bindings/v8/V8WorkerContextEventListener.h |
rename to Source/bindings/v8/V8WorkerGlobalScopeEventListener.h |
index b315915ec14e8adbfdc621857a2ba5441f1198e9..1d88e26b36d08ba60ebb0d4fef859f23bbb35239 100644 |
--- a/Source/bindings/v8/V8WorkerContextEventListener.h |
+++ b/Source/bindings/v8/V8WorkerGlobalScopeEventListener.h |
@@ -28,28 +28,28 @@ |
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
*/ |
-#ifndef V8WorkerContextEventListener_h |
-#define V8WorkerContextEventListener_h |
+#ifndef V8WorkerGlobalScopeEventListener_h |
+#define V8WorkerGlobalScopeEventListener_h |
#include "bindings/v8/V8EventListener.h" |
-#include <v8.h> |
#include "wtf/PassRefPtr.h" |
+#include <v8.h> |
namespace WebCore { |
class Event; |
- class V8WorkerContextEventListener : public V8EventListener { |
+ class V8WorkerGlobalScopeEventListener : public V8EventListener { |
public: |
- static PassRefPtr<V8WorkerContextEventListener> create(v8::Local<v8::Object> listener, bool isInline) |
+ static PassRefPtr<V8WorkerGlobalScopeEventListener> create(v8::Local<v8::Object> listener, bool isInline) |
{ |
- return adoptRef(new V8WorkerContextEventListener(listener, isInline)); |
+ return adoptRef(new V8WorkerGlobalScopeEventListener(listener, isInline)); |
} |
virtual void handleEvent(ScriptExecutionContext*, Event*); |
protected: |
- V8WorkerContextEventListener(v8::Local<v8::Object> listener, bool isInline); |
+ V8WorkerGlobalScopeEventListener(v8::Local<v8::Object> listener, bool isInline); |
private: |
virtual v8::Local<v8::Value> callListenerFunction(ScriptExecutionContext*, v8::Handle<v8::Value> jsEvent, Event*); |
@@ -58,4 +58,4 @@ namespace WebCore { |
} // namespace WebCore |
-#endif // V8WorkerContextEventListener_h |
+#endif // V8WorkerGlobalScopeEventListener_h |