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 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
166 } | 166 } |
167 | 167 |
168 LocalDOMWindow* EventTarget::toLocalDOMWindow() { | 168 LocalDOMWindow* EventTarget::toLocalDOMWindow() { |
169 return nullptr; | 169 return nullptr; |
170 } | 170 } |
171 | 171 |
172 MessagePort* EventTarget::toMessagePort() { | 172 MessagePort* EventTarget::toMessagePort() { |
173 return nullptr; | 173 return nullptr; |
174 } | 174 } |
175 | 175 |
| 176 ServiceWorker* EventTarget::toServiceWorker() { |
| 177 return nullptr; |
| 178 } |
| 179 |
176 inline LocalDOMWindow* EventTarget::executingWindow() { | 180 inline LocalDOMWindow* EventTarget::executingWindow() { |
177 if (ExecutionContext* context = getExecutionContext()) | 181 if (ExecutionContext* context = getExecutionContext()) |
178 return context->executingWindow(); | 182 return context->executingWindow(); |
179 return nullptr; | 183 return nullptr; |
180 } | 184 } |
181 | 185 |
182 void EventTarget::setDefaultAddEventListenerOptions( | 186 void EventTarget::setDefaultAddEventListenerOptions( |
183 const AtomicString& eventType, | 187 const AtomicString& eventType, |
184 AddEventListenerOptionsResolved& options) { | 188 AddEventListenerOptionsResolved& options) { |
185 options.setPassiveSpecified(options.hasPassive()); | 189 options.setPassiveSpecified(options.hasPassive()); |
(...skipping 564 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
750 // they have one less listener to invoke. | 754 // they have one less listener to invoke. |
751 if (d->firingEventIterators) { | 755 if (d->firingEventIterators) { |
752 for (const auto& iterator : *d->firingEventIterators) { | 756 for (const auto& iterator : *d->firingEventIterators) { |
753 iterator.iterator = 0; | 757 iterator.iterator = 0; |
754 iterator.end = 0; | 758 iterator.end = 0; |
755 } | 759 } |
756 } | 760 } |
757 } | 761 } |
758 | 762 |
759 } // namespace blink | 763 } // namespace blink |
OLD | NEW |