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

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

Issue 1201153002: Introduce composed tree version of canonicalPosition() in VisiblePosition (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 6 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: Source/core/editing/htmlediting.h
diff --git a/Source/core/editing/htmlediting.h b/Source/core/editing/htmlediting.h
index 998d86deda159344d232180ed250522b9d69e819..da19510e1e59f74142e99e2508444c541ee1a8b7 100644
--- a/Source/core/editing/htmlediting.h
+++ b/Source/core/editing/htmlediting.h
@@ -128,7 +128,9 @@ TextDirection directionOfEnclosingBlock(const Position&);
// Functions returning Position
Position nextCandidate(const Position&);
+PositionInComposedTree nextCandidate(const PositionInComposedTree&);
Position previousCandidate(const Position&);
+PositionInComposedTree previousCandidate(const PositionInComposedTree&);
Position nextVisuallyDistinctCandidate(const Position&);
Position previousVisuallyDistinctCandidate(const Position&);
@@ -218,6 +220,7 @@ PassRefPtrWillBeRawPtr<HTMLSpanElement> createTabSpanElement(Document&, const St
PassRefPtrWillBeRawPtr<HTMLBRElement> createBlockPlaceholderElement(Document&);
Element* editableRootForPosition(const Position&, EditableType = ContentIsEditable);
+Element* editableRootForPosition(const PositionInComposedTree&, EditableType = ContentIsEditable);
Element* unsplittableElementForPosition(const Position&);
// Boolean functions on Element

Powered by Google App Engine
This is Rietveld 408576698