OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef EventHandlerRegistry_h | 5 #ifndef EventHandlerRegistry_h |
6 #define EventHandlerRegistry_h | 6 #define EventHandlerRegistry_h |
7 | 7 |
8 #include "core/CoreExport.h" // TODO(sashab): Remove this. | 8 #include "core/CoreExport.h" // TODO(sashab): Remove this. |
9 #include "core/page/Page.h" | 9 #include "core/page/Page.h" |
10 #include "wtf/HashCountedSet.h" | 10 #include "platform/wtf/HashCountedSet.h" |
11 | 11 |
12 namespace blink { | 12 namespace blink { |
13 | 13 |
14 class AddEventListenerOptions; | 14 class AddEventListenerOptions; |
15 class Document; | 15 class Document; |
16 class EventTarget; | 16 class EventTarget; |
17 class LocalFrame; | 17 class LocalFrame; |
18 | 18 |
19 typedef HashCountedSet<UntracedMember<EventTarget>> EventTargetSet; | 19 typedef HashCountedSet<UntracedMember<EventTarget>> EventTargetSet; |
20 | 20 |
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
121 | 121 |
122 void CheckConsistency(EventHandlerClass) const; | 122 void CheckConsistency(EventHandlerClass) const; |
123 | 123 |
124 Member<Page> page_; | 124 Member<Page> page_; |
125 EventTargetSet targets_[kEventHandlerClassCount]; | 125 EventTargetSet targets_[kEventHandlerClassCount]; |
126 }; | 126 }; |
127 | 127 |
128 } // namespace blink | 128 } // namespace blink |
129 | 129 |
130 #endif // EventHandlerRegistry_h | 130 #endif // EventHandlerRegistry_h |
OLD | NEW |