Turn avoidIntersectionWithNode into Editor member functions to encapsulate delete...
[WebKit-https.git] / Source / WebCore / editing / htmlediting.h
index ca1f0f72bbe77d4844fc482b83a8198a54d383a6..88c6bb00239aeb6882c4ed24f0c288ab53f8bbc3 100644 (file)
@@ -192,9 +192,6 @@ VisiblePosition visiblePositionForIndex(int index, ContainerNode* scope);
 
 PassRefPtr<Range> createRange(PassRefPtr<Document>, const VisiblePosition& start, const VisiblePosition& end, ExceptionCode&);
 PassRefPtr<Range> extendRangeToWrappingNodes(PassRefPtr<Range> rangeToExtend, const Range* maximumRange, const Node* rootNode);
-#if ENABLE(DELETION_UI)
-PassRefPtr<Range> avoidIntersectionWithNode(const Range*, Node*);
-#endif
 
 // -------------------------------------------------------------------------
 // HTMLElement
@@ -237,9 +234,6 @@ bool canMergeLists(Element* firstList, Element* secondList);
 // -------------------------------------------------------------------------
 
 // Functions returning VisibleSelection
-#if ENABLE(DELETION_UI)
-VisibleSelection avoidIntersectionWithNode(const VisibleSelection&, Node*);
-#endif
 VisibleSelection selectionForParagraphIteration(const VisibleSelection&);
 
 Position adjustedSelectionStartForStyleComputation(const VisibleSelection&);