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

Side by Side Diff: sky/engine/core/dom/custom/CustomElementMicrotaskDispatcher.h

Issue 709203002: Remove more oilpan. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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
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"
11 #include "wtf/Vector.h" 11 #include "wtf/Vector.h"
12 12
13 namespace blink { 13 namespace blink {
14 14
15 class CustomElementCallbackQueue; 15 class CustomElementCallbackQueue;
16 class CustomElementMicrotaskImportStep; 16 class CustomElementMicrotaskImportStep;
17 class CustomElementMicrotaskStep; 17 class CustomElementMicrotaskStep;
18 class Document; 18 class Document;
19 class HTMLImportLoader; 19 class HTMLImportLoader;
20 20
21 class CustomElementMicrotaskDispatcher final : public DummyBase<CustomElementMic rotaskDispatcher> { 21 class CustomElementMicrotaskDispatcher final {
22 WTF_MAKE_NONCOPYABLE(CustomElementMicrotaskDispatcher); 22 WTF_MAKE_NONCOPYABLE(CustomElementMicrotaskDispatcher);
23 DECLARE_EMPTY_DESTRUCTOR_WILL_BE_REMOVED(CustomElementMicrotaskDispatcher); 23 DECLARE_EMPTY_DESTRUCTOR_WILL_BE_REMOVED(CustomElementMicrotaskDispatcher);
24 public: 24 public:
25 static CustomElementMicrotaskDispatcher& instance(); 25 static CustomElementMicrotaskDispatcher& instance();
26 26
27 void enqueue(CustomElementCallbackQueue*); 27 void enqueue(CustomElementCallbackQueue*);
28 28
29 bool elementQueueIsEmpty() { return m_elements.isEmpty(); } 29 bool elementQueueIsEmpty() { return m_elements.isEmpty(); }
30 30
31 void trace(Visitor*); 31 void trace(Visitor*);
(...skipping 13 matching lines...) Expand all
45 Resolving, 45 Resolving,
46 DispatchingCallbacks 46 DispatchingCallbacks
47 } m_phase; 47 } m_phase;
48 48
49 Vector<RawPtr<CustomElementCallbackQueue> > m_elements; 49 Vector<RawPtr<CustomElementCallbackQueue> > m_elements;
50 }; 50 };
51 51
52 } 52 }
53 53
54 #endif // CustomElementMicrotaskDispatcher_h 54 #endif // CustomElementMicrotaskDispatcher_h
OLDNEW
« no previous file with comments | « sky/engine/core/dom/custom/CustomElementCallbackQueue.h ('k') | sky/engine/core/dom/custom/CustomElementMicrotaskRunQueue.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698