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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
45 | 45 |
46 namespace blink { | 46 namespace blink { |
47 | 47 |
48 class LocalDOMWindow; | 48 class LocalDOMWindow; |
49 class Event; | 49 class Event; |
50 class ExceptionState; | 50 class ExceptionState; |
51 class MessagePort; | 51 class MessagePort; |
52 class Node; | 52 class Node; |
53 | 53 |
54 struct FiringEventIterator { | 54 struct FiringEventIterator { |
55 ALLOW_ONLY_INLINE_ALLOCATION(); | 55 DISALLOW_NEW_EXCEPT_PLACEMENT_NEW(); |
56 FiringEventIterator(const AtomicString& eventType, size_t& iterator, size_t&
end) | 56 FiringEventIterator(const AtomicString& eventType, size_t& iterator, size_t&
end) |
57 : eventType(eventType) | 57 : eventType(eventType) |
58 , iterator(iterator) | 58 , iterator(iterator) |
59 , end(end) | 59 , end(end) |
60 { | 60 { |
61 } | 61 } |
62 | 62 |
63 const AtomicString& eventType; | 63 const AtomicString& eventType; |
64 size_t& iterator; | 64 size_t& iterator; |
65 size_t& end; | 65 size_t& end; |
(...skipping 252 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
318 using baseClass::deref; \ | 318 using baseClass::deref; \ |
319 private: \ | 319 private: \ |
320 void refEventTarget() final { ref(); } \ | 320 void refEventTarget() final { ref(); } \ |
321 void derefEventTarget() final { deref(); } \ | 321 void derefEventTarget() final { deref(); } \ |
322 typedef int thisIsHereToForceASemiColonAfterThisEventTargetMacro | 322 typedef int thisIsHereToForceASemiColonAfterThisEventTargetMacro |
323 #define REFCOUNTED_EVENT_TARGET(baseClass) DEFINE_EVENT_TARGET_REFCOUNTING(RefCo
unted<baseClass>) | 323 #define REFCOUNTED_EVENT_TARGET(baseClass) DEFINE_EVENT_TARGET_REFCOUNTING(RefCo
unted<baseClass>) |
324 #define REFCOUNTED_GARBAGE_COLLECTED_EVENT_TARGET(baseClass) DEFINE_EVENT_TARGET
_REFCOUNTING(RefCountedGarbageCollected<baseClass>) | 324 #define REFCOUNTED_GARBAGE_COLLECTED_EVENT_TARGET(baseClass) DEFINE_EVENT_TARGET
_REFCOUNTING(RefCountedGarbageCollected<baseClass>) |
325 #endif // ENABLE(OILPAN) | 325 #endif // ENABLE(OILPAN) |
326 | 326 |
327 #endif // EventTarget_h | 327 #endif // EventTarget_h |
OLD | NEW |