| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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 |
| OLD | NEW |