| 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 V0CustomElementMicrotaskDispatcher_h | 5 #ifndef V0CustomElementMicrotaskDispatcher_h |
| 6 #define V0CustomElementMicrotaskDispatcher_h | 6 #define V0CustomElementMicrotaskDispatcher_h |
| 7 | 7 |
| 8 #include "platform/heap/Handle.h" | 8 #include "platform/heap/Handle.h" |
| 9 #include "wtf/Noncopyable.h" | 9 #include "platform/wtf/Noncopyable.h" |
| 10 #include "wtf/Vector.h" | 10 #include "platform/wtf/Vector.h" |
| 11 | 11 |
| 12 namespace blink { | 12 namespace blink { |
| 13 | 13 |
| 14 class V0CustomElementCallbackQueue; | 14 class V0CustomElementCallbackQueue; |
| 15 | 15 |
| 16 class V0CustomElementMicrotaskDispatcher final | 16 class V0CustomElementMicrotaskDispatcher final |
| 17 : public GarbageCollected<V0CustomElementMicrotaskDispatcher> { | 17 : public GarbageCollected<V0CustomElementMicrotaskDispatcher> { |
| 18 WTF_MAKE_NONCOPYABLE(V0CustomElementMicrotaskDispatcher); | 18 WTF_MAKE_NONCOPYABLE(V0CustomElementMicrotaskDispatcher); |
| 19 | 19 |
| 20 public: | 20 public: |
| (...skipping 16 matching lines...) Expand all Loading... |
| 37 | 37 |
| 38 bool has_scheduled_microtask_; | 38 bool has_scheduled_microtask_; |
| 39 enum { kQuiescent, kResolving, kDispatchingCallbacks } phase_; | 39 enum { kQuiescent, kResolving, kDispatchingCallbacks } phase_; |
| 40 | 40 |
| 41 HeapVector<Member<V0CustomElementCallbackQueue>> elements_; | 41 HeapVector<Member<V0CustomElementCallbackQueue>> elements_; |
| 42 }; | 42 }; |
| 43 | 43 |
| 44 } // namespace blink | 44 } // namespace blink |
| 45 | 45 |
| 46 #endif // V0CustomElementMicrotaskDispatcher_h | 46 #endif // V0CustomElementMicrotaskDispatcher_h |
| OLD | NEW |