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

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

Issue 1530643003: Support slot element's fallback content feature (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: addressed Created 4 years, 11 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/ComposedTreeTraversal.h
diff --git a/third_party/WebKit/Source/core/dom/shadow/ComposedTreeTraversal.h b/third_party/WebKit/Source/core/dom/shadow/ComposedTreeTraversal.h
index 844f490a7c697e57ba88e162e36feb3c7dc255e6..9a5e7cc64f5f6029fb59b738568257b5a551154a 100644
--- a/third_party/WebKit/Source/core/dom/shadow/ComposedTreeTraversal.h
+++ b/third_party/WebKit/Source/core/dom/shadow/ComposedTreeTraversal.h
@@ -140,7 +140,6 @@ private:
}
static Node* resolveDistributionStartingAt(const Node*, TraversalDirection);
- static Node* v1ResolveDistributionStartingAt(const Node&, TraversalDirection);
static Node* v0ResolveDistributionStartingAt(const Node&, TraversalDirection);
static Node* traverseNext(const Node&);
@@ -154,19 +153,16 @@ private:
static ContainerNode* traverseParent(const Node&, ParentTraversalDetails* = 0);
// TODO(hayato): Make ParentTraversalDetails be aware of slot elements too.
- static ContainerNode* v1TraverseParent(const Node&);
- static ContainerNode* v0TraverseParent(const Node&, ParentTraversalDetails* = 0);
+ static ContainerNode* traverseParentForV0(const Node&, ParentTraversalDetails* = 0);
+ static ContainerNode* traverseParentOrHost(const Node&);
static Node* traverseNextSibling(const Node&);
static Node* traversePreviousSibling(const Node&);
static Node* traverseSiblings(const Node&, TraversalDirection);
- static Node* v1TraverseSiblings(const Node&, TraversalDirection);
- static Node* v0TraverseSiblings(const Node&, TraversalDirection);
-
- static Node* traverseSiblingsOrShadowInsertionPointSiblings(const Node&, TraversalDirection);
+ static Node* traverseSiblingsForV1HostChild(const Node&, TraversalDirection);
+ static Node* traverseSiblingsForV0Distribution(const Node&, TraversalDirection);
- static ContainerNode* traverseParentOrHost(const Node&);
static Node* traverseNextAncestorSibling(const Node&);
static Node* traversePreviousAncestorSibling(const Node&);
};
« no previous file with comments | « third_party/WebKit/Source/core/dom/Node.cpp ('k') | third_party/WebKit/Source/core/dom/shadow/ComposedTreeTraversal.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698