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

Unified Diff: Source/core/editing/EditingUtilities.h

Issue 1320823002: Introduce Position version of enclsoingBlock() (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 2015-08-27T12:35:12 Created 5 years, 4 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
« no previous file with comments | « no previous file | Source/core/editing/EditingUtilities.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/editing/EditingUtilities.h
diff --git a/Source/core/editing/EditingUtilities.h b/Source/core/editing/EditingUtilities.h
index 4af31a3b3b922a592d0d36848feb933428157c02..a662c711c58cfb1c9b9cf0693971b2a70a5ec540 100644
--- a/Source/core/editing/EditingUtilities.h
+++ b/Source/core/editing/EditingUtilities.h
@@ -71,6 +71,7 @@ Node* highestNodeToRemoveInPruning(Node*, Node* excludeNode = nullptr);
Element* lowestEditableAncestor(Node*);
Element* enclosingBlock(Node*, EditingBoundaryCrossingRule = CannotCrossEditingBoundary);
+Element* enclosingBlock(const Position&, EditingBoundaryCrossingRule);
Element* enclosingBlockFlowElement(Node&); // Deprecated, use enclosingBlock instead.
bool inSameContainingBlockFlowElement(Node*, Node*);
Element* enclosingTableCell(const Position&);
« no previous file with comments | « no previous file | Source/core/editing/EditingUtilities.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698