| 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, 2008 Apple Inc. All rights reserved. | 5 * Copyright (C) 2004, 2005, 2006, 2007, 2008 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 14 matching lines...) Expand all Loading... |
| 25 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY | 25 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY |
| 26 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 26 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 29 * | 29 * |
| 30 */ | 30 */ |
| 31 | 31 |
| 32 #ifndef EventTarget_h | 32 #ifndef EventTarget_h |
| 33 #define EventTarget_h | 33 #define EventTarget_h |
| 34 | 34 |
| 35 #include "bindings/core/v8/AddEventListenerOptionsOrBoolean.h" |
| 36 #include "bindings/core/v8/EventListenerOptionsOrBoolean.h" |
| 35 #include "bindings/core/v8/ScriptWrappable.h" | 37 #include "bindings/core/v8/ScriptWrappable.h" |
| 36 #include "bindings/core/v8/UnionTypesCore.h" | |
| 37 #include "core/CoreExport.h" | 38 #include "core/CoreExport.h" |
| 38 #include "core/EventNames.h" | 39 #include "core/EventNames.h" |
| 39 #include "core/EventTargetNames.h" | 40 #include "core/EventTargetNames.h" |
| 40 #include "core/EventTypeNames.h" | 41 #include "core/EventTypeNames.h" |
| 41 #include "core/events/EventDispatchResult.h" | 42 #include "core/events/EventDispatchResult.h" |
| 42 #include "core/events/EventListenerMap.h" | 43 #include "core/events/EventListenerMap.h" |
| 43 #include "platform/heap/Handle.h" | 44 #include "platform/heap/Handle.h" |
| 44 #include "wtf/Allocator.h" | 45 #include "wtf/Allocator.h" |
| 45 #include "wtf/text/AtomicString.h" | 46 #include "wtf/text/AtomicString.h" |
| 46 | 47 |
| (...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 254 { | 255 { |
| 255 EventTargetData* d = eventTargetData(); | 256 EventTargetData* d = eventTargetData(); |
| 256 if (!d) | 257 if (!d) |
| 257 return false; | 258 return false; |
| 258 return d->eventListenerMap.containsCapturing(eventType); | 259 return d->eventListenerMap.containsCapturing(eventType); |
| 259 } | 260 } |
| 260 | 261 |
| 261 } // namespace blink | 262 } // namespace blink |
| 262 | 263 |
| 263 #endif // EventTarget_h | 264 #endif // EventTarget_h |
| OLD | NEW |