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 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
179 } | 179 } |
180 | 180 |
181 LocalDOMWindow* EventTarget::toLocalDOMWindow() { | 181 LocalDOMWindow* EventTarget::toLocalDOMWindow() { |
182 return nullptr; | 182 return nullptr; |
183 } | 183 } |
184 | 184 |
185 MessagePort* EventTarget::toMessagePort() { | 185 MessagePort* EventTarget::toMessagePort() { |
186 return nullptr; | 186 return nullptr; |
187 } | 187 } |
188 | 188 |
| 189 ServiceWorker* EventTarget::toServiceWorker() { |
| 190 return nullptr; |
| 191 } |
| 192 |
189 inline LocalDOMWindow* EventTarget::executingWindow() { | 193 inline LocalDOMWindow* EventTarget::executingWindow() { |
190 if (ExecutionContext* context = getExecutionContext()) | 194 if (ExecutionContext* context = getExecutionContext()) |
191 return context->executingWindow(); | 195 return context->executingWindow(); |
192 return nullptr; | 196 return nullptr; |
193 } | 197 } |
194 | 198 |
195 void EventTarget::setDefaultAddEventListenerOptions( | 199 void EventTarget::setDefaultAddEventListenerOptions( |
196 const AtomicString& eventType, | 200 const AtomicString& eventType, |
197 AddEventListenerOptionsResolved& options) { | 201 AddEventListenerOptionsResolved& options) { |
198 if (!isScrollBlockingEvent(eventType)) { | 202 if (!isScrollBlockingEvent(eventType)) { |
(...skipping 560 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
759 // they have one less listener to invoke. | 763 // they have one less listener to invoke. |
760 if (d->firingEventIterators) { | 764 if (d->firingEventIterators) { |
761 for (size_t i = 0; i < d->firingEventIterators->size(); ++i) { | 765 for (size_t i = 0; i < d->firingEventIterators->size(); ++i) { |
762 d->firingEventIterators->at(i).iterator = 0; | 766 d->firingEventIterators->at(i).iterator = 0; |
763 d->firingEventIterators->at(i).end = 0; | 767 d->firingEventIterators->at(i).end = 0; |
764 } | 768 } |
765 } | 769 } |
766 } | 770 } |
767 | 771 |
768 } // namespace blink | 772 } // namespace blink |
OLD | NEW |