Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(189)

Side by Side Diff: third_party/WebKit/Source/core/dom/custom/V0CustomElementMicrotaskRunQueue.h

Issue 1914923002: Rename all existing custom element classes as V0 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: CustomElementV0 -> V0CustomElement Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef V0CustomElementMicrotaskRunQueue_h
6 #define V0CustomElementMicrotaskRunQueue_h
7
8 #include "platform/heap/Handle.h"
9
10 namespace blink {
11
12 class V0CustomElementSyncMicrotaskQueue;
13 class V0CustomElementAsyncImportMicrotaskQueue;
14 class V0CustomElementMicrotaskStep;
15 class HTMLImportLoader;
16
17 class V0CustomElementMicrotaskRunQueue : public GarbageCollected<V0CustomElement MicrotaskRunQueue> {
18 public:
19 static V0CustomElementMicrotaskRunQueue* create()
20 {
21 return new V0CustomElementMicrotaskRunQueue;
22 }
23
24 void enqueue(HTMLImportLoader* parentLoader, V0CustomElementMicrotaskStep*, bool importIsSync);
25 void requestDispatchIfNeeded();
26 bool isEmpty() const;
27
28 DECLARE_TRACE();
29
30 private:
31 V0CustomElementMicrotaskRunQueue();
32
33 void dispatch();
34
35 Member<V0CustomElementSyncMicrotaskQueue> m_syncQueue;
36 Member<V0CustomElementAsyncImportMicrotaskQueue> m_asyncQueue;
37 bool m_dispatchIsPending;
38 };
39
40 } // namespace blink
41
42 #endif // V0CustomElementMicrotaskRunQueue_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698