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

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: Revert Internals.* 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 c77514646576320c36d28a3622f138c850019b3a..0de7d55bf47d2989366736909e033190210dfe59 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); }
« no previous file with comments | « third_party/WebKit/Source/core/dom/LayoutTreeBuilder.cpp ('k') | third_party/WebKit/Source/core/dom/Node.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698