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 19 matching lines...) Expand all Loading... |
30 #include "core/events/EventQueue.h" | 30 #include "core/events/EventQueue.h" |
31 #include "wtf/HashSet.h" | 31 #include "wtf/HashSet.h" |
32 #include "wtf/ListHashSet.h" | 32 #include "wtf/ListHashSet.h" |
33 #include "wtf/OwnPtr.h" | 33 #include "wtf/OwnPtr.h" |
34 #include "wtf/RefCounted.h" | 34 #include "wtf/RefCounted.h" |
35 | 35 |
36 namespace blink { | 36 namespace blink { |
37 | 37 |
38 class Event; | 38 class Event; |
39 class DOMWindowEventQueueTimer; | 39 class DOMWindowEventQueueTimer; |
40 class Node; | |
41 class ExecutionContext; | 40 class ExecutionContext; |
42 | 41 |
43 #if ENABLE(OILPAN) | 42 #if ENABLE(OILPAN) |
44 #define DOMWINDOWEVENTQUEUE_BASE_CLASSES public EventQueue | 43 #define DOMWINDOWEVENTQUEUE_BASE_CLASSES public EventQueue |
45 #else | 44 #else |
46 #define DOMWINDOWEVENTQUEUE_BASE_CLASSES public RefCounted<DOMWindowEventQueue>,
public EventQueue | 45 #define DOMWINDOWEVENTQUEUE_BASE_CLASSES public RefCounted<DOMWindowEventQueue>,
public EventQueue |
47 #endif | 46 #endif |
48 | 47 |
49 class DOMWindowEventQueue final : DOMWINDOWEVENTQUEUE_BASE_CLASSES { | 48 class DOMWindowEventQueue final : DOMWINDOWEVENTQUEUE_BASE_CLASSES { |
50 public: | 49 public: |
(...skipping 15 matching lines...) Expand all Loading... |
66 OwnPtrWillBeMember<DOMWindowEventQueueTimer> m_pendingEventTimer; | 65 OwnPtrWillBeMember<DOMWindowEventQueueTimer> m_pendingEventTimer; |
67 WillBeHeapListHashSet<RefPtrWillBeMember<Event>, 16> m_queuedEvents; | 66 WillBeHeapListHashSet<RefPtrWillBeMember<Event>, 16> m_queuedEvents; |
68 bool m_isClosed; | 67 bool m_isClosed; |
69 | 68 |
70 friend class DOMWindowEventQueueTimer; | 69 friend class DOMWindowEventQueueTimer; |
71 }; | 70 }; |
72 | 71 |
73 } | 72 } |
74 | 73 |
75 #endif // DOMWindowEventQueue_h | 74 #endif // DOMWindowEventQueue_h |
OLD | NEW |