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

Side by Side Diff: WebCore/dom/EventTarget.cpp

Issue 155079: WebSocket implementation in WebKit (Closed)
Patch Set: Rewrite to use SocketStreamHandle Created 11 years, 4 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 unified diff | Download patch
« no previous file with comments | « WebCore/dom/EventTarget.h ('k') | WebCore/page/DOMWindow.idl » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * This file is part of the DOM implementation for KDE. 2 * This file is part of the DOM implementation for KDE.
3 * 3 *
4 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) 4 * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
5 * (C) 1999 Antti Koivisto (koivisto@kde.org) 5 * (C) 1999 Antti Koivisto (koivisto@kde.org)
6 * (C) 2001 Dirk Mueller (mueller@kde.org) 6 * (C) 2001 Dirk Mueller (mueller@kde.org)
7 * Copyright (C) 2004, 2005, 2006, 2007 Apple Inc. All rights reserved. 7 * Copyright (C) 2004, 2005, 2006, 2007 Apple Inc. All rights reserved.
8 * Copyright (C) 2006 Alexey Proskuryakov (ap@webkit.org) 8 * Copyright (C) 2006 Alexey Proskuryakov (ap@webkit.org)
9 * (C) 2007, 2008 Nikolas Zimmermann <zimmermann@kde.org> 9 * (C) 2007, 2008 Nikolas Zimmermann <zimmermann@kde.org>
10 * 10 *
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 } 71 }
72 #endif 72 #endif
73 73
74 #if ENABLE(SVG) 74 #if ENABLE(SVG)
75 SVGElementInstance* EventTarget::toSVGElementInstance() 75 SVGElementInstance* EventTarget::toSVGElementInstance()
76 { 76 {
77 return 0; 77 return 0;
78 } 78 }
79 #endif 79 #endif
80 80
81 #if ENABLE(WEB_SOCKETS)
82 WebSocket* EventTarget::toWebSocket()
83 {
84 return 0;
85 }
86 #endif
87
81 MessagePort* EventTarget::toMessagePort() 88 MessagePort* EventTarget::toMessagePort()
82 { 89 {
83 return 0; 90 return 0;
84 } 91 }
85 92
86 #if ENABLE(WORKERS) 93 #if ENABLE(WORKERS)
87 Worker* EventTarget::toWorker() 94 Worker* EventTarget::toWorker()
88 { 95 {
89 return 0; 96 return 0;
90 } 97 }
(...skipping 23 matching lines...) Expand all
114 --gEventDispatchForbidden; 121 --gEventDispatchForbidden;
115 } 122 }
116 123
117 bool eventDispatchForbidden() 124 bool eventDispatchForbidden()
118 { 125 {
119 return gEventDispatchForbidden > 0; 126 return gEventDispatchForbidden > 0;
120 } 127 }
121 #endif // NDEBUG 128 #endif // NDEBUG
122 129
123 } // end namespace 130 } // end namespace
OLDNEW
« no previous file with comments | « WebCore/dom/EventTarget.h ('k') | WebCore/page/DOMWindow.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698