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

Unified Diff: Source/core/dom/custom/CustomElementSyncMicrotaskQueue.h

Issue 334253005: Custom Elements: Encapsulates Async and Sync Queues into one class. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Updated Created 6 years, 6 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 side-by-side diff with in-line comments
Download patch
Index: Source/core/dom/custom/CustomElementSyncMicrotaskQueue.h
diff --git a/Source/core/dom/custom/CustomElementSyncMicrotaskQueue.h b/Source/core/dom/custom/CustomElementSyncMicrotaskQueue.h
new file mode 100644
index 0000000000000000000000000000000000000000..67bca95f642c5a89e4e479dd5ec42355b6c12d78
--- /dev/null
+++ b/Source/core/dom/custom/CustomElementSyncMicrotaskQueue.h
@@ -0,0 +1,25 @@
+// Copyright 2014 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CustomElementSyncMicrotaskQueue_h
+#define CustomElementSyncMicrotaskQueue_h
+
+#include "core/dom/custom/CustomElementMicrotaskQueueBase.h"
+
+namespace WebCore {
+
+class CustomElementSyncMicrotaskQueue : public CustomElementMicrotaskQueueBase {
+public:
+ static PassRefPtrWillBeRawPtr<CustomElementSyncMicrotaskQueue> create() { return adoptRefWillBeNoop(new CustomElementSyncMicrotaskQueue()); }
+
+ void enqueue(PassOwnPtrWillBeRawPtr<CustomElementMicrotaskStep>);
+
+private:
+ CustomElementSyncMicrotaskQueue() { }
+ virtual void doDispatch();
+};
+
+}
+
+#endif

Powered by Google App Engine
This is Rietveld 408576698