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

Unified Diff: sky/engine/core/editing/CompositeEditCommand.h

Issue 767623004: Delete a bunch of rich text editing code. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 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
« no previous file with comments | « sky/engine/core/core.gni ('k') | sky/engine/core/editing/CompositeEditCommand.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/editing/CompositeEditCommand.h
diff --git a/sky/engine/core/editing/CompositeEditCommand.h b/sky/engine/core/editing/CompositeEditCommand.h
index e8df1e8832f10c0f6ac2a82b51740bb1038106ef..37ee23694dbf5362b92cee8022667450b3a5e108 100644
--- a/sky/engine/core/editing/CompositeEditCommand.h
+++ b/sky/engine/core/editing/CompositeEditCommand.h
@@ -121,7 +121,6 @@ protected:
Position positionOutsideTabSpan(const Position&);
void splitElement(PassRefPtr<Element>, PassRefPtr<Node> atChild);
void splitTextNode(PassRefPtr<Text>, unsigned offset);
- void splitTextNodeContainingElement(PassRefPtr<Text>, unsigned offset);
void deleteInsignificantText(PassRefPtr<Text>, unsigned start, unsigned end);
void deleteInsignificantText(const Position& start, const Position& end);
@@ -129,22 +128,13 @@ protected:
void removePlaceholderAt(const Position&);
- PassRefPtr<HTMLElement> insertNewDefaultParagraphElementAt(const Position&);
-
- PassRefPtr<HTMLElement> moveParagraphContentsToNewBlockIfNecessary(const Position&);
-
void pushAnchorElementDown(Element*);
// FIXME: preserveSelection and preserveStyle should be enums
void moveParagraph(const VisiblePosition&, const VisiblePosition&, const VisiblePosition&, bool preserveSelection = false, bool preserveStyle = true, Node* constrainingAncestor = 0);
void moveParagraphs(const VisiblePosition&, const VisiblePosition&, const VisiblePosition&, bool preserveSelection = false, bool preserveStyle = true, Node* constrainingAncestor = 0);
- void moveParagraphWithClones(const VisiblePosition& startOfParagraphToMove, const VisiblePosition& endOfParagraphToMove, HTMLElement* blockElement, Node* outerNode);
- void cloneParagraphUnderNewElement(const Position& start, const Position& end, Node* outerNode, Element* blockElement);
void cleanupAfterDeletion(VisiblePosition destination = VisiblePosition());
- bool breakOutOfEmptyListItem();
- bool breakOutOfEmptyMailBlockquotedParagraph();
-
Position positionAvoidingSpecialElementBoundary(const Position&);
PassRefPtr<Node> splitTreeToNode(Node*, Node*, bool splitAncestor = false);
« no previous file with comments | « sky/engine/core/core.gni ('k') | sky/engine/core/editing/CompositeEditCommand.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698