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

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

Issue 2420043002: Stop re-signaling a slotchange event (Closed)
Patch Set: New slotchange behavior Created 4 years, 2 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 7b6e44a21bd7e6845d14ddc00d44a68e31c36efa..41cf631b1fdd2b9e6e5efc42c04a2e915f17d8fc 100644
--- a/third_party/WebKit/Source/core/html/HTMLSlotElement.h
+++ b/third_party/WebKit/Source/core/html/HTMLSlotElement.h
@@ -88,13 +88,12 @@ class CORE_EXPORT HTMLSlotElement final : public HTMLElement {
bool hasAssignedNodesSlow() const;
bool findHostChildWithSameSlotName() const;
- void enqueueSlotChangeEvent();
-
void clearDistribution();
void saveAndClearDistribution();
bool supportsDistribution() const { return isInShadowTree(); }
void updateDistributedNodesManually();
+ void didSlotChange(SlotChangeType);
static AtomicString normalizeSlotName(const AtomicString&);
@@ -107,6 +106,7 @@ class CORE_EXPORT HTMLSlotElement final : public HTMLElement {
void removedFrom(ContainerNode*) final;
void willRecalcStyle(StyleRecalcChange) final;
+ void enqueueSlotChangeEvent();
void dispatchSlotChangeEvent();
HeapVector<Member<Node>> m_assignedNodes;

Powered by Google App Engine
This is Rietveld 408576698