blob: 0385acf794ce88970bd480a9342b241ee2e086f6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
// 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 THIRD_PARTY_BLINK_RENDERER_CORE_HTML_CUSTOM_V0_CUSTOM_ELEMENT_SYNC_MICROTASK_QUEUE_H_
#define THIRD_PARTY_BLINK_RENDERER_CORE_HTML_CUSTOM_V0_CUSTOM_ELEMENT_SYNC_MICROTASK_QUEUE_H_
#include "third_party/blink/renderer/core/html/custom/v0_custom_element_microtask_queue_base.h"
namespace blink {
class V0CustomElementSyncMicrotaskQueue
: public V0CustomElementMicrotaskQueueBase {
public:
static V0CustomElementSyncMicrotaskQueue* Create() {
return new V0CustomElementSyncMicrotaskQueue();
}
void Enqueue(V0CustomElementMicrotaskStep*);
private:
V0CustomElementSyncMicrotaskQueue() = default;
void DoDispatch() override;
};
} // namespace blink
#endif // THIRD_PARTY_BLINK_RENDERER_CORE_HTML_CUSTOM_V0_CUSTOM_ELEMENT_SYNC_MICROTASK_QUEUE_H_
|