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

Unified Diff: third_party/WebKit/Source/core/html/HTMLSlotElement.h

Issue 2622193002: Dispatch slotchange events in "notify mutation observers" steps (Closed)
Patch Set: fixed Created 3 years, 11 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: third_party/WebKit/Source/core/html/HTMLSlotElement.h
diff --git a/third_party/WebKit/Source/core/html/HTMLSlotElement.h b/third_party/WebKit/Source/core/html/HTMLSlotElement.h
index 609f822aad5882cce27db8376d441e122283342f..babaa81f0bc012e673175f171786abf03b28ff57 100644
--- a/third_party/WebKit/Source/core/html/HTMLSlotElement.h
+++ b/third_party/WebKit/Source/core/html/HTMLSlotElement.h
@@ -93,6 +93,8 @@ class CORE_EXPORT HTMLSlotElement final : public HTMLElement {
bool supportsDistribution() const { return isInV1ShadowTree(); }
void didSlotChange(SlotChangeType);
+ void dispatchSlotChangeEvent();
+ void clearSlotChangeEventEnqueued() { m_slotchangeEventEnqueued = false; }
static AtomicString normalizeSlotName(const AtomicString&);
@@ -106,7 +108,6 @@ class CORE_EXPORT HTMLSlotElement final : public HTMLElement {
void willRecalcStyle(StyleRecalcChange) final;
void enqueueSlotChangeEvent();
- void dispatchSlotChangeEvent();
HeapVector<Member<Node>> m_assignedNodes;
HeapVector<Member<Node>> m_distributedNodes;
« no previous file with comments | « third_party/WebKit/Source/core/dom/MutationObserver.cpp ('k') | third_party/WebKit/Source/core/html/HTMLSlotElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698