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

Unified Diff: WebCore/page/DOMWindow.idl

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/EventTarget.cpp ('k') | WebCore/platform/network/SocketStreamErrorBase.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: WebCore/page/DOMWindow.idl
diff --git a/WebCore/page/DOMWindow.idl b/WebCore/page/DOMWindow.idl
index e1c9ff07160d7cf45bf5208662ba63426bf91a92..961e688f43a6c6d74082575d870f9cc3b794bd23 100644
--- a/WebCore/page/DOMWindow.idl
+++ b/WebCore/page/DOMWindow.idl
@@ -466,6 +466,10 @@ module window {
attribute [JSCCustomGetter] SharedWorkerConstructor SharedWorker; // Usable with the new operator
#endif
+#if defined(ENABLE_WEB_SOCKETS) && ENABLE_WEB_SOCKETS
+ attribute [JSCCustomGetter] WebSocketConstructor WebSocket; // Usable with the new operator
+#endif
+
attribute PluginConstructor Plugin;
attribute PluginArrayConstructor PluginArray;
« no previous file with comments | « WebCore/dom/EventTarget.cpp ('k') | WebCore/platform/network/SocketStreamErrorBase.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698