| 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 21 matching lines...) Expand all Loading... |
| 32 #ifndef EventTarget_h | 32 #ifndef EventTarget_h |
| 33 #define EventTarget_h | 33 #define EventTarget_h |
| 34 | 34 |
| 35 #include "core/dom/EventListenerMap.h" | 35 #include "core/dom/EventListenerMap.h" |
| 36 #include "core/dom/EventNames.h" | 36 #include "core/dom/EventNames.h" |
| 37 #include "wtf/Forward.h" | 37 #include "wtf/Forward.h" |
| 38 | 38 |
| 39 namespace WebCore { | 39 namespace WebCore { |
| 40 | 40 |
| 41 class AudioContext; | 41 class AudioContext; |
| 42 class DedicatedWorkerContext; | 42 class DedicatedWorkerGlobalScope; |
| 43 class DOMApplicationCache; | 43 class DOMApplicationCache; |
| 44 class DOMWindow; | 44 class DOMWindow; |
| 45 class Event; | 45 class Event; |
| 46 class EventListener; | 46 class EventListener; |
| 47 class EventSource; | 47 class EventSource; |
| 48 class FileReader; | 48 class FileReader; |
| 49 class FileWriter; | 49 class FileWriter; |
| 50 class IDBDatabase; | 50 class IDBDatabase; |
| 51 class IDBRequest; | 51 class IDBRequest; |
| 52 class IDBTransaction; | 52 class IDBTransaction; |
| 53 class MIDIAccess; | 53 class MIDIAccess; |
| 54 class MIDIInput; | 54 class MIDIInput; |
| 55 class MIDIPort; | 55 class MIDIPort; |
| 56 class MediaController; | 56 class MediaController; |
| 57 class MediaStream; | 57 class MediaStream; |
| 58 class MessagePort; | 58 class MessagePort; |
| 59 class NamedFlow; | 59 class NamedFlow; |
| 60 class Node; | 60 class Node; |
| 61 class Notification; | 61 class Notification; |
| 62 class SVGElementInstance; | 62 class SVGElementInstance; |
| 63 class ScriptExecutionContext; | 63 class ScriptExecutionContext; |
| 64 class ScriptProcessorNode; | 64 class ScriptProcessorNode; |
| 65 class SharedWorker; | 65 class SharedWorker; |
| 66 class SharedWorkerContext; | 66 class SharedWorkerGlobalScope; |
| 67 class TextTrack; | 67 class TextTrack; |
| 68 class TextTrackCue; | 68 class TextTrackCue; |
| 69 class WebSocket; | 69 class WebSocket; |
| 70 class Worker; | 70 class Worker; |
| 71 class XMLHttpRequest; | 71 class XMLHttpRequest; |
| 72 class XMLHttpRequestUpload; | 72 class XMLHttpRequestUpload; |
| 73 | 73 |
| 74 typedef int ExceptionCode; | 74 typedef int ExceptionCode; |
| 75 | 75 |
| 76 struct FiringEventIterator { | 76 struct FiringEventIterator { |
| (...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 189 { | 189 { |
| 190 EventTargetData* d = eventTargetData(); | 190 EventTargetData* d = eventTargetData(); |
| 191 if (!d) | 191 if (!d) |
| 192 return false; | 192 return false; |
| 193 return d->eventListenerMap.contains(eventType); | 193 return d->eventListenerMap.contains(eventType); |
| 194 } | 194 } |
| 195 | 195 |
| 196 } // namespace WebCore | 196 } // namespace WebCore |
| 197 | 197 |
| 198 #endif // EventTarget_h | 198 #endif // EventTarget_h |
| OLD | NEW |