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

Side by Side Diff: third_party/WebKit/Source/core/dom/custom/CustomElementMicrotaskRunQueue.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, 8 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 CustomElementMicrotaskRunQueue_h
6 #define CustomElementMicrotaskRunQueue_h
7
8 #include "platform/heap/Handle.h"
9
10 namespace blink {
11
12 class CustomElementSyncMicrotaskQueue;
13 class CustomElementAsyncImportMicrotaskQueue;
14 class CustomElementMicrotaskStep;
15 class HTMLImportLoader;
16
17 class CustomElementMicrotaskRunQueue : public GarbageCollected<CustomElementMicr otaskRunQueue> {
18 public:
19 static CustomElementMicrotaskRunQueue* create()
20 {
21 return new CustomElementMicrotaskRunQueue;
22 }
23
24 void enqueue(HTMLImportLoader* parentLoader, CustomElementMicrotaskStep*, bo ol importIsSync);
25 void requestDispatchIfNeeded();
26 bool isEmpty() const;
27
28 DECLARE_TRACE();
29
30 private:
31 CustomElementMicrotaskRunQueue();
32
33 void dispatch();
34
35 Member<CustomElementSyncMicrotaskQueue> m_syncQueue;
36 Member<CustomElementAsyncImportMicrotaskQueue> m_asyncQueue;
37 bool m_dispatchIsPending;
38 };
39
40 } // namespace blink
41
42 #endif // CustomElementMicrotaskRunQueue_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698