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

Unified Diff: WebCore/dom/EventTarget.h

Issue 155079: WebSocket implementation in WebKit (Closed)
Patch Set: Rewrite to use SocketStreamHandle Created 11 years, 5 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 | « WebCore/dom/EventNames.h ('k') | WebCore/dom/EventTarget.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: WebCore/dom/EventTarget.h
diff --git a/WebCore/dom/EventTarget.h b/WebCore/dom/EventTarget.h
index f0c794fb346bfb0688d95b31e3eedaa5df7dd72e..0c6c20e94bfc2b2752dc261ba39639cf8924088f 100644
--- a/WebCore/dom/EventTarget.h
+++ b/WebCore/dom/EventTarget.h
@@ -48,6 +48,7 @@ namespace WebCore {
class SVGElementInstance;
class ScriptExecutionContext;
class SharedWorker;
+ class WebSocket;
class Worker;
class XMLHttpRequest;
class XMLHttpRequestUpload;
@@ -71,10 +72,12 @@ namespace WebCore {
virtual Worker* toWorker();
virtual DedicatedWorkerContext* toDedicatedWorkerContext();
#endif
-
#if ENABLE(SHARED_WORKERS)
virtual SharedWorker* toSharedWorker();
#endif
+#if ENABLE(WEB_SOCKETS)
+ virtual WebSocket* toWebSocket();
+#endif
virtual ScriptExecutionContext* scriptExecutionContext() const = 0;
« no previous file with comments | « WebCore/dom/EventNames.h ('k') | WebCore/dom/EventTarget.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698