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

Unified Diff: third_party/WebKit/Source/core/dom/shadow/SlotAssignment.h

Issue 1899653002: Support slotchange event (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Bug fix Created 4 years, 8 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/dom/shadow/SlotAssignment.h
diff --git a/third_party/WebKit/Source/core/dom/shadow/SlotAssignment.h b/third_party/WebKit/Source/core/dom/shadow/SlotAssignment.h
index e2f471ace868fe6b9b0fefd4c4d6ca0337dd7da6..4ed9646733cb399a60e4336bdb04ff347186cd30 100644
--- a/third_party/WebKit/Source/core/dom/shadow/SlotAssignment.h
+++ b/third_party/WebKit/Source/core/dom/shadow/SlotAssignment.h
@@ -22,6 +22,7 @@ public:
HTMLSlotElement* assignedSlotFor(const Node&) const;
void resolveAssignment(ShadowRoot&);
+ void resolveDistribution(ShadowRoot&);
DECLARE_TRACE();
@@ -29,6 +30,7 @@ private:
SlotAssignment() { }
void assign(Node&, HTMLSlotElement&);
+ void distribute(Node&, HTMLSlotElement&);
HeapHashMap<Member<Node>, Member<HTMLSlotElement>> m_assignment;
};
« no previous file with comments | « third_party/WebKit/Source/core/dom/shadow/ShadowRoot.cpp ('k') | third_party/WebKit/Source/core/dom/shadow/SlotAssignment.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698