| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2010 Google Inc. All Rights Reserved. | 2 * Copyright (C) 2010 Google Inc. All Rights Reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
| 8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
| 9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
| 10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
| (...skipping 10 matching lines...) Expand all Loading... |
| 21 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 21 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| 23 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 23 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 24 * | 24 * |
| 25 */ | 25 */ |
| 26 | 26 |
| 27 #ifndef DocumentEventQueue_h | 27 #ifndef DocumentEventQueue_h |
| 28 #define DocumentEventQueue_h | 28 #define DocumentEventQueue_h |
| 29 | 29 |
| 30 #include "core/dom/EventQueue.h" | 30 #include "core/dom/EventQueue.h" |
| 31 #include <wtf/Forward.h> | 31 #include "wtf/Forward.h" |
| 32 #include <wtf/HashSet.h> | 32 #include "wtf/HashSet.h" |
| 33 #include <wtf/ListHashSet.h> | 33 #include "wtf/ListHashSet.h" |
| 34 #include <wtf/OwnPtr.h> | 34 #include "wtf/OwnPtr.h" |
| 35 #include <wtf/RefCounted.h> | 35 #include "wtf/RefCounted.h" |
| 36 #include <wtf/RefPtr.h> | |
| 37 | 36 |
| 38 namespace WebCore { | 37 namespace WebCore { |
| 39 | 38 |
| 40 class Event; | 39 class Event; |
| 41 class DocumentEventQueueTimer; | 40 class DocumentEventQueueTimer; |
| 42 class Node; | 41 class Node; |
| 43 class ScriptExecutionContext; | 42 class ScriptExecutionContext; |
| 44 | 43 |
| 45 class DocumentEventQueue : public RefCounted<DocumentEventQueue>, public EventQu
eue { | 44 class DocumentEventQueue : public RefCounted<DocumentEventQueue>, public EventQu
eue { |
| 46 public: | 45 public: |
| (...skipping 24 matching lines...) Expand all Loading... |
| 71 ListHashSet<RefPtr<Event>, 16> m_queuedEvents; | 70 ListHashSet<RefPtr<Event>, 16> m_queuedEvents; |
| 72 HashSet<Node*> m_nodesWithQueuedScrollEvents; | 71 HashSet<Node*> m_nodesWithQueuedScrollEvents; |
| 73 bool m_isClosed; | 72 bool m_isClosed; |
| 74 | 73 |
| 75 friend class DocumentEventQueueTimer; | 74 friend class DocumentEventQueueTimer; |
| 76 }; | 75 }; |
| 77 | 76 |
| 78 } | 77 } |
| 79 | 78 |
| 80 #endif // DocumentEventQueue_h | 79 #endif // DocumentEventQueue_h |
| OLD | NEW |