| 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, 2012 Apple Inc. All rights reserved. | 5 * Copyright (C) 2004, 2005, 2006, 2007, 2012 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 * Copyright (C) 2011 Andreas Kling (kling@webkit.org) | 8 * Copyright (C) 2011 Andreas Kling (kling@webkit.org) |
| 9 * | 9 * |
| 10 * Redistribution and use in source and binary forms, with or without | 10 * Redistribution and use in source and binary forms, with or without |
| (...skipping 19 matching lines...) Expand all Loading... |
| 30 * | 30 * |
| 31 */ | 31 */ |
| 32 | 32 |
| 33 #ifndef EventListenerMap_h | 33 #ifndef EventListenerMap_h |
| 34 #define EventListenerMap_h | 34 #define EventListenerMap_h |
| 35 | 35 |
| 36 #include "core/CoreExport.h" | 36 #include "core/CoreExport.h" |
| 37 #include "core/events/AddEventListenerOptionsResolved.h" | 37 #include "core/events/AddEventListenerOptionsResolved.h" |
| 38 #include "core/events/EventListenerOptions.h" | 38 #include "core/events/EventListenerOptions.h" |
| 39 #include "core/events/RegisteredEventListener.h" | 39 #include "core/events/RegisteredEventListener.h" |
| 40 #include "wtf/Noncopyable.h" | 40 #include "platform/wtf/Noncopyable.h" |
| 41 #include "wtf/text/AtomicStringHash.h" | 41 #include "platform/wtf/text/AtomicStringHash.h" |
| 42 | 42 |
| 43 namespace blink { | 43 namespace blink { |
| 44 | 44 |
| 45 class EventTarget; | 45 class EventTarget; |
| 46 | 46 |
| 47 using EventListenerVector = HeapVector<RegisteredEventListener, 1>; | 47 using EventListenerVector = HeapVector<RegisteredEventListener, 1>; |
| 48 | 48 |
| 49 class CORE_EXPORT EventListenerMap { | 49 class CORE_EXPORT EventListenerMap { |
| 50 WTF_MAKE_NONCOPYABLE(EventListenerMap); | 50 WTF_MAKE_NONCOPYABLE(EventListenerMap); |
| 51 DISALLOW_NEW(); | 51 DISALLOW_NEW(); |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 110 unsigned index_; | 110 unsigned index_; |
| 111 }; | 111 }; |
| 112 | 112 |
| 113 #if !DCHECK_IS_ON() | 113 #if !DCHECK_IS_ON() |
| 114 inline void EventListenerMap::CheckNoActiveIterators() {} | 114 inline void EventListenerMap::CheckNoActiveIterators() {} |
| 115 #endif | 115 #endif |
| 116 | 116 |
| 117 } // namespace blink | 117 } // namespace blink |
| 118 | 118 |
| 119 #endif // EventListenerMap_h | 119 #endif // EventListenerMap_h |
| OLD | NEW |