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

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

Issue 1489433002: Support the essential part of Shadow DOM v1 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase webexposed/ tests. Addressed the comments Created 5 years 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 9424c99104e869278a40c197ea6195e534ec1599..9383f6b9af0d48a70a02b875120b0f2d654e9bf9 100644
--- a/third_party/WebKit/Source/core/dom/Node.h
+++ b/third_party/WebKit/Source/core/dom/Node.h
@@ -60,6 +60,7 @@ class FloatPoint;
class LocalFrame;
class HTMLInputElement;
class HTMLQualifiedName;
+class HTMLSlotElement;
class IntRect;
class KeyboardEvent;
class NSResolver;
@@ -295,6 +296,7 @@ public:
bool isInsertionPoint() const { return getFlag(IsInsertionPointFlag); }
bool canParticipateInComposedTree() const;
+ bool isSlotOrActiveInsertionPoint() const;
bool hasCustomStyleCallbacks() const { return getFlag(HasCustomStyleCallbacksFlag); }
@@ -655,6 +657,8 @@ public:
void updateAncestorConnectedSubframeCountForInsertion() const;
PassRefPtrWillBeRawPtr<StaticNodeList> getDestinationInsertionPoints();
+ HTMLSlotElement* assignedSlot() const;
+ HTMLSlotElement* assignedSlotForBinding() { updateDistribution(); return assignedSlot(); }
void setAlreadySpellChecked(bool flag) { setFlag(flag, AlreadySpellCheckedFlag); }
bool isAlreadySpellChecked() { return getFlag(AlreadySpellCheckedFlag); }

Powered by Google App Engine
This is Rietveld 408576698