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 "EventListenerMap.h" | 35 #include "core/dom/EventListenerMap.h" |
36 #include "EventNames.h" | 36 #include "core/dom/EventNames.h" |
37 #include <wtf/Forward.h> | 37 #include <wtf/Forward.h> |
38 #include <wtf/HashMap.h> | 38 #include <wtf/HashMap.h> |
39 #include <wtf/text/AtomicStringHash.h> | 39 #include <wtf/text/AtomicStringHash.h> |
40 | 40 |
41 namespace WebCore { | 41 namespace WebCore { |
42 | 42 |
43 class AudioContext; | 43 class AudioContext; |
44 class DedicatedWorkerContext; | 44 class DedicatedWorkerContext; |
45 class DOMApplicationCache; | 45 class DOMApplicationCache; |
46 class DOMWindow; | 46 class DOMWindow; |
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
190 { | 190 { |
191 EventTargetData* d = eventTargetData(); | 191 EventTargetData* d = eventTargetData(); |
192 if (!d) | 192 if (!d) |
193 return false; | 193 return false; |
194 return d->eventListenerMap.contains(eventType); | 194 return d->eventListenerMap.contains(eventType); |
195 } | 195 } |
196 | 196 |
197 } // namespace WebCore | 197 } // namespace WebCore |
198 | 198 |
199 #endif // EventTarget_h | 199 #endif // EventTarget_h |
OLD | NEW |