| 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 15 matching lines...) Expand all Loading... |
| 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 <memory> | 35 #include <memory> |
| 36 #include "bindings/core/v8/ScriptWrappable.h" | |
| 37 #include "core/CoreExport.h" | 36 #include "core/CoreExport.h" |
| 38 #include "core/EventNames.h" | 37 #include "core/EventNames.h" |
| 39 #include "core/EventTargetNames.h" | 38 #include "core/EventTargetNames.h" |
| 40 #include "core/EventTypeNames.h" | 39 #include "core/EventTypeNames.h" |
| 41 #include "core/events/AddEventListenerOptionsResolved.h" | 40 #include "core/events/AddEventListenerOptionsResolved.h" |
| 42 #include "core/events/EventDispatchResult.h" | 41 #include "core/events/EventDispatchResult.h" |
| 43 #include "core/events/EventListenerMap.h" | 42 #include "core/events/EventListenerMap.h" |
| 44 #include "core/frame/UseCounter.h" | 43 #include "core/frame/UseCounter.h" |
| 44 #include "platform/bindings/ScriptWrappable.h" |
| 45 #include "platform/heap/Handle.h" | 45 #include "platform/heap/Handle.h" |
| 46 #include "platform/wtf/Allocator.h" | 46 #include "platform/wtf/Allocator.h" |
| 47 #include "platform/wtf/text/AtomicString.h" | 47 #include "platform/wtf/text/AtomicString.h" |
| 48 | 48 |
| 49 namespace blink { | 49 namespace blink { |
| 50 | 50 |
| 51 class AddEventListenerOptionsOrBoolean; | 51 class AddEventListenerOptionsOrBoolean; |
| 52 class DOMWindow; | 52 class DOMWindow; |
| 53 class Event; | 53 class Event; |
| 54 class EventListenerOptionsOrBoolean; | 54 class EventListenerOptionsOrBoolean; |
| (...skipping 267 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 322 const AtomicString& event_type) { | 322 const AtomicString& event_type) { |
| 323 EventTargetData* d = GetEventTargetData(); | 323 EventTargetData* d = GetEventTargetData(); |
| 324 if (!d) | 324 if (!d) |
| 325 return false; | 325 return false; |
| 326 return d->event_listener_map.ContainsCapturing(event_type); | 326 return d->event_listener_map.ContainsCapturing(event_type); |
| 327 } | 327 } |
| 328 | 328 |
| 329 } // namespace blink | 329 } // namespace blink |
| 330 | 330 |
| 331 #endif // EventTarget_h | 331 #endif // EventTarget_h |
| OLD | NEW |