| 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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 69 Node* EventTarget::toNode() | 69 Node* EventTarget::toNode() |
| 70 { | 70 { |
| 71 return 0; | 71 return 0; |
| 72 } | 72 } |
| 73 | 73 |
| 74 LocalDOMWindow* EventTarget::toDOMWindow() | 74 LocalDOMWindow* EventTarget::toDOMWindow() |
| 75 { | 75 { |
| 76 return 0; | 76 return 0; |
| 77 } | 77 } |
| 78 | 78 |
| 79 MessagePort* EventTarget::toMessagePort() | |
| 80 { | |
| 81 return 0; | |
| 82 } | |
| 83 | |
| 84 inline LocalDOMWindow* EventTarget::executingWindow() | 79 inline LocalDOMWindow* EventTarget::executingWindow() |
| 85 { | 80 { |
| 86 if (ExecutionContext* context = executionContext()) | 81 if (ExecutionContext* context = executionContext()) |
| 87 return context->executingWindow(); | 82 return context->executingWindow(); |
| 88 return 0; | 83 return 0; |
| 89 } | 84 } |
| 90 | 85 |
| 91 bool EventTarget::addEventListener(const AtomicString& eventType, PassRefPtr<Eve
ntListener> listener, bool useCapture) | 86 bool EventTarget::addEventListener(const AtomicString& eventType, PassRefPtr<Eve
ntListener> listener, bool useCapture) |
| 92 { | 87 { |
| 93 // FIXME: listener null check should throw TypeError (and be done in | 88 // FIXME: listener null check should throw TypeError (and be done in |
| (...skipping 274 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 368 // they have one less listener to invoke. | 363 // they have one less listener to invoke. |
| 369 if (d->firingEventIterators) { | 364 if (d->firingEventIterators) { |
| 370 for (size_t i = 0; i < d->firingEventIterators->size(); ++i) { | 365 for (size_t i = 0; i < d->firingEventIterators->size(); ++i) { |
| 371 d->firingEventIterators->at(i).iterator = 0; | 366 d->firingEventIterators->at(i).iterator = 0; |
| 372 d->firingEventIterators->at(i).end = 0; | 367 d->firingEventIterators->at(i).end = 0; |
| 373 } | 368 } |
| 374 } | 369 } |
| 375 } | 370 } |
| 376 | 371 |
| 377 } // namespace blink | 372 } // namespace blink |
| OLD | NEW |