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 16 matching lines...) Expand all Loading... |
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/ScriptWrappable.h" | 35 #include "bindings/core/v8/ScriptWrappable.h" |
36 #include "core/CoreExport.h" | 36 #include "core/CoreExport.h" |
| 37 #include "core/EventNames.h" |
| 38 #include "core/EventTargetNames.h" |
| 39 #include "core/EventTypeNames.h" |
37 #include "core/events/EventListenerMap.h" | 40 #include "core/events/EventListenerMap.h" |
38 #include "core/events/ThreadLocalEventNames.h" | |
39 #include "platform/heap/Handle.h" | 41 #include "platform/heap/Handle.h" |
| 42 #include "wtf/text/AtomicString.h" |
40 | 43 |
41 namespace blink { | 44 namespace blink { |
42 | 45 |
43 class LocalDOMWindow; | 46 class LocalDOMWindow; |
44 class Event; | 47 class Event; |
45 class ExceptionState; | 48 class ExceptionState; |
46 class MessagePort; | 49 class MessagePort; |
47 class Node; | 50 class Node; |
48 | 51 |
49 struct FiringEventIterator { | 52 struct FiringEventIterator { |
(...skipping 245 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
295 using baseClass::deref; \ | 298 using baseClass::deref; \ |
296 private: \ | 299 private: \ |
297 virtual void refEventTarget() override final { ref(); } \ | 300 virtual void refEventTarget() override final { ref(); } \ |
298 virtual void derefEventTarget() override final { deref(); } \ | 301 virtual void derefEventTarget() override final { deref(); } \ |
299 typedef int thisIsHereToForceASemiColonAfterThisEventTargetMacro | 302 typedef int thisIsHereToForceASemiColonAfterThisEventTargetMacro |
300 #define REFCOUNTED_EVENT_TARGET(baseClass) DEFINE_EVENT_TARGET_REFCOUNTING(RefCo
unted<baseClass>) | 303 #define REFCOUNTED_EVENT_TARGET(baseClass) DEFINE_EVENT_TARGET_REFCOUNTING(RefCo
unted<baseClass>) |
301 #define REFCOUNTED_GARBAGE_COLLECTED_EVENT_TARGET(baseClass) DEFINE_EVENT_TARGET
_REFCOUNTING(RefCountedGarbageCollected<baseClass>) | 304 #define REFCOUNTED_GARBAGE_COLLECTED_EVENT_TARGET(baseClass) DEFINE_EVENT_TARGET
_REFCOUNTING(RefCountedGarbageCollected<baseClass>) |
302 #endif // ENABLE(OILPAN) | 305 #endif // ENABLE(OILPAN) |
303 | 306 |
304 #endif // EventTarget_h | 307 #endif // EventTarget_h |
OLD | NEW |