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

Unified Diff: Source/bindings/v8/V8WorkerGlobalScopeEventListener.h

Issue 17648006: Rename WorkerContext to WorkerGlobalScope (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase on master Created 7 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
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
« no previous file with comments | « Source/bindings/v8/V8WorkerContextEventListener.cpp ('k') | Source/bindings/v8/V8WorkerGlobalScopeEventListener.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698