| 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 26 matching lines...) Expand all Loading... |
| 37 #include "core/events/ThreadLocalEventNames.h" | 37 #include "core/events/ThreadLocalEventNames.h" |
| 38 #include "platform/heap/Handle.h" | 38 #include "platform/heap/Handle.h" |
| 39 | 39 |
| 40 namespace blink { | 40 namespace blink { |
| 41 | 41 |
| 42 class LocalDOMWindow; | 42 class LocalDOMWindow; |
| 43 class Event; | 43 class Event; |
| 44 class ExceptionState; | 44 class ExceptionState; |
| 45 class MessagePort; | 45 class MessagePort; |
| 46 class Node; | 46 class Node; |
| 47 class TextTrack; | |
| 48 class TextTrackCue; | |
| 49 class XMLHttpRequest; | |
| 50 class XMLHttpRequestUpload; | |
| 51 | 47 |
| 52 struct FiringEventIterator { | 48 struct FiringEventIterator { |
| 53 FiringEventIterator(const AtomicString& eventType, size_t& iterator, size_t&
end) | 49 FiringEventIterator(const AtomicString& eventType, size_t& iterator, size_t&
end) |
| 54 : eventType(eventType) | 50 : eventType(eventType) |
| 55 , iterator(iterator) | 51 , iterator(iterator) |
| 56 , end(end) | 52 , end(end) |
| 57 { | 53 { |
| 58 } | 54 } |
| 59 | 55 |
| 60 const AtomicString& eventType; | 56 const AtomicString& eventType; |
| (...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 263 typedef int thisIsHereToForceASemiColonAfterThisEventTargetMacro | 259 typedef int thisIsHereToForceASemiColonAfterThisEventTargetMacro |
| 264 #define DEFINE_EVENT_TARGET_REFCOUNTING_WILL_BE_REMOVED(baseClass) DEFINE_EVENT_
TARGET_REFCOUNTING(baseClass) | 260 #define DEFINE_EVENT_TARGET_REFCOUNTING_WILL_BE_REMOVED(baseClass) DEFINE_EVENT_
TARGET_REFCOUNTING(baseClass) |
| 265 #endif | 261 #endif |
| 266 | 262 |
| 267 // Use this macro if your EventTarget subclass is also a subclass of WTF::RefCou
nted. | 263 // Use this macro if your EventTarget subclass is also a subclass of WTF::RefCou
nted. |
| 268 // A ref-counted class that uses a different method of refcounting should use DE
FINE_EVENT_TARGET_REFCOUNTING directly. | 264 // A ref-counted class that uses a different method of refcounting should use DE
FINE_EVENT_TARGET_REFCOUNTING directly. |
| 269 // Both of these macros are meant to be placed just before the "public:" section
of the class declaration. | 265 // Both of these macros are meant to be placed just before the "public:" section
of the class declaration. |
| 270 #define REFCOUNTED_EVENT_TARGET(className) DEFINE_EVENT_TARGET_REFCOUNTING_WILL_
BE_REMOVED(RefCounted<className>) | 266 #define REFCOUNTED_EVENT_TARGET(className) DEFINE_EVENT_TARGET_REFCOUNTING_WILL_
BE_REMOVED(RefCounted<className>) |
| 271 | 267 |
| 272 #endif // EventTarget_h | 268 #endif // EventTarget_h |
| OLD | NEW |