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

Side by Side Diff: third_party/WebKit/Source/core/dom/custom/V0CustomElementMicrotaskDispatcher.cpp

Issue 2848963002: Clean up bindings/core/v8 (Part 1) (Closed)
Patch Set: Fix build Created 3 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
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 #include "core/dom/custom/V0CustomElementMicrotaskDispatcher.h" 5 #include "core/dom/custom/V0CustomElementMicrotaskDispatcher.h"
6 6
7 #include "bindings/core/v8/Microtask.h"
8 #include "core/dom/custom/V0CustomElementCallbackQueue.h" 7 #include "core/dom/custom/V0CustomElementCallbackQueue.h"
9 #include "core/dom/custom/V0CustomElementMicrotaskImportStep.h" 8 #include "core/dom/custom/V0CustomElementMicrotaskImportStep.h"
10 #include "core/dom/custom/V0CustomElementProcessingStack.h" 9 #include "core/dom/custom/V0CustomElementProcessingStack.h"
11 #include "core/dom/custom/V0CustomElementScheduler.h" 10 #include "core/dom/custom/V0CustomElementScheduler.h"
11 #include "platform/bindings/Microtask.h"
12 12
13 namespace blink { 13 namespace blink {
14 14
15 static const V0CustomElementCallbackQueue::ElementQueueId kMicrotaskQueueId = 0; 15 static const V0CustomElementCallbackQueue::ElementQueueId kMicrotaskQueueId = 0;
16 16
17 V0CustomElementMicrotaskDispatcher::V0CustomElementMicrotaskDispatcher() 17 V0CustomElementMicrotaskDispatcher::V0CustomElementMicrotaskDispatcher()
18 : has_scheduled_microtask_(false), phase_(kQuiescent) {} 18 : has_scheduled_microtask_(false), phase_(kQuiescent) {}
19 19
20 V0CustomElementMicrotaskDispatcher& 20 V0CustomElementMicrotaskDispatcher&
21 V0CustomElementMicrotaskDispatcher::Instance() { 21 V0CustomElementMicrotaskDispatcher::Instance() {
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 elements_.clear(); 72 elements_.clear();
73 V0CustomElementScheduler::MicrotaskDispatcherDidFinish(); 73 V0CustomElementScheduler::MicrotaskDispatcherDidFinish();
74 phase_ = kQuiescent; 74 phase_ = kQuiescent;
75 } 75 }
76 76
77 DEFINE_TRACE(V0CustomElementMicrotaskDispatcher) { 77 DEFINE_TRACE(V0CustomElementMicrotaskDispatcher) {
78 visitor->Trace(elements_); 78 visitor->Trace(elements_);
79 } 79 }
80 80
81 } // namespace blink 81 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698