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

Unified Diff: third_party/WebKit/Source/core/dom/Node.h

Issue 1899653002: Support slotchange event (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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/Node.h
diff --git a/third_party/WebKit/Source/core/dom/Node.h b/third_party/WebKit/Source/core/dom/Node.h
index 0bd6a11cad88718559cd4e1096b0799bf08b98eb..e5ce52f2bcc87c09dc6f6b340dfded072efd46c8 100644
--- a/third_party/WebKit/Source/core/dom/Node.h
+++ b/third_party/WebKit/Source/core/dom/Node.h
@@ -375,6 +375,7 @@ public:
void clearNeedsStyleInvalidation() { clearFlag(NeedsStyleInvalidationFlag); }
void setNeedsStyleInvalidation();
+ void updateAssignment();
void updateDistribution();
bool svgFilterNeedsLayerUpdate() const { return getFlag(SVGFilterNeedsLayerUpdateFlag); }
@@ -472,6 +473,7 @@ public:
bool isInV0ShadowTree() const;
bool isChildOfV1ShadowHost() const;
bool isChildOfV0ShadowHost() const;
+ bool isChildOfSlot() const;
bool isSlotAssignable() const { return isTextNode() || isElementNode(); }
bool isDocumentTypeNode() const { return getNodeType() == DOCUMENT_TYPE_NODE; }
@@ -781,6 +783,7 @@ private:
bool isUserActionElementHovered() const;
bool isUserActionElementFocused() const;
+ void recalcAssignment();
void recalcDistribution();
void setStyleChange(StyleChangeType);

Powered by Google App Engine
This is Rietveld 408576698