| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
| 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) | 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) |
| 4 * (C) 2001 Dirk Mueller (mueller@kde.org) | 4 * (C) 2001 Dirk Mueller (mueller@kde.org) |
| 5 * Copyright (C) 2004, 2005, 2006, 2007 Apple Inc. All rights reserved. | 5 * Copyright (C) 2004, 2005, 2006, 2007 Apple Inc. All rights reserved. |
| 6 * Copyright (C) 2006 Alexey Proskuryakov (ap@webkit.org) | 6 * Copyright (C) 2006 Alexey Proskuryakov (ap@webkit.org) |
| 7 * (C) 2007, 2008 Nikolas Zimmermann <zimmermann@kde.org> | 7 * (C) 2007, 2008 Nikolas Zimmermann <zimmermann@kde.org> |
| 8 * | 8 * |
| 9 * Redistribution and use in source and binary forms, with or without | 9 * Redistribution and use in source and binary forms, with or without |
| 10 * modification, are permitted provided that the following conditions | 10 * modification, are permitted provided that the following conditions |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 61 Node* EventTarget::toNode() | 61 Node* EventTarget::toNode() |
| 62 { | 62 { |
| 63 return 0; | 63 return 0; |
| 64 } | 64 } |
| 65 | 65 |
| 66 DOMWindow* EventTarget::toDOMWindow() | 66 DOMWindow* EventTarget::toDOMWindow() |
| 67 { | 67 { |
| 68 return 0; | 68 return 0; |
| 69 } | 69 } |
| 70 | 70 |
| 71 MessagePort* EventTarget::toMessagePort() |
| 72 { |
| 73 return 0; |
| 74 } |
| 75 |
| 71 inline DOMWindow* EventTarget::executingWindow() | 76 inline DOMWindow* EventTarget::executingWindow() |
| 72 { | 77 { |
| 73 if (ScriptExecutionContext* context = scriptExecutionContext()) | 78 if (ScriptExecutionContext* context = scriptExecutionContext()) |
| 74 return context->executingWindow(); | 79 return context->executingWindow(); |
| 75 return 0; | 80 return 0; |
| 76 } | 81 } |
| 77 | 82 |
| 78 bool EventTarget::addEventListener(const AtomicString& eventType, PassRefPtr<Eve
ntListener> listener, bool useCapture) | 83 bool EventTarget::addEventListener(const AtomicString& eventType, PassRefPtr<Eve
ntListener> listener, bool useCapture) |
| 79 { | 84 { |
| 80 EventTargetData* d = ensureEventTargetData(); | 85 EventTargetData* d = ensureEventTargetData(); |
| (...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 302 // they have one less listener to invoke. | 307 // they have one less listener to invoke. |
| 303 if (d->firingEventIterators) { | 308 if (d->firingEventIterators) { |
| 304 for (size_t i = 0; i < d->firingEventIterators->size(); ++i) { | 309 for (size_t i = 0; i < d->firingEventIterators->size(); ++i) { |
| 305 d->firingEventIterators->at(i).iterator = 0; | 310 d->firingEventIterators->at(i).iterator = 0; |
| 306 d->firingEventIterators->at(i).end = 0; | 311 d->firingEventIterators->at(i).end = 0; |
| 307 } | 312 } |
| 308 } | 313 } |
| 309 } | 314 } |
| 310 | 315 |
| 311 } // namespace WebCore | 316 } // namespace WebCore |
| OLD | NEW |