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