| 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 CustomElementMicrotaskDispatcher_h | 5 #ifndef CustomElementMicrotaskDispatcher_h |
| 6 #define CustomElementMicrotaskDispatcher_h | 6 #define CustomElementMicrotaskDispatcher_h |
| 7 | 7 |
| 8 #include "platform/heap/Handle.h" | 8 #include "platform/heap/Handle.h" |
| 9 #include "wtf/Noncopyable.h" | 9 #include "wtf/Noncopyable.h" |
| 10 #include "wtf/PassOwnPtr.h" | 10 #include "wtf/PassOwnPtr.h" |
| (...skipping 24 matching lines...) Expand all Loading... |
| 35 static void dispatch(); | 35 static void dispatch(); |
| 36 void doDispatch(); | 36 void doDispatch(); |
| 37 | 37 |
| 38 bool m_hasScheduledMicrotask; | 38 bool m_hasScheduledMicrotask; |
| 39 enum { | 39 enum { |
| 40 Quiescent, | 40 Quiescent, |
| 41 Resolving, | 41 Resolving, |
| 42 DispatchingCallbacks | 42 DispatchingCallbacks |
| 43 } m_phase; | 43 } m_phase; |
| 44 | 44 |
| 45 WillBeHeapVector<RawPtrWillBeMember<CustomElementCallbackQueue> > m_elements
; | 45 WillBeHeapVector<RawPtrWillBeMember<CustomElementCallbackQueue>> m_elements; |
| 46 }; | 46 }; |
| 47 | 47 |
| 48 } // namespace blink | 48 } // namespace blink |
| 49 | 49 |
| 50 #endif // CustomElementMicrotaskDispatcher_h | 50 #endif // CustomElementMicrotaskDispatcher_h |
| OLD | NEW |