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

Unified Diff: third_party/WebKit/Source/core/editing/commands/EditCommand.h

Issue 2450603003: Introduce EditCommand::setEndingSelection() taking SelectionInDOMTree (Closed)
Patch Set: 2016-10-25T16:39:38 Created 4 years, 2 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 | third_party/WebKit/Source/core/editing/commands/EditCommand.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/editing/commands/EditCommand.h
diff --git a/third_party/WebKit/Source/core/editing/commands/EditCommand.h b/third_party/WebKit/Source/core/editing/commands/EditCommand.h
index 48c993e8191f9dd6f50813525adac39c6377c330..3e95154faa3676ac22871bff6864e84c387c0876 100644
--- a/third_party/WebKit/Source/core/editing/commands/EditCommand.h
+++ b/third_party/WebKit/Source/core/editing/commands/EditCommand.h
@@ -68,6 +68,9 @@ class CORE_EXPORT EditCommand : public GarbageCollectedFinalized<EditCommand> {
Document& document() const { return *m_document.get(); }
CompositeEditCommand* parent() const { return m_parent; }
void setStartingSelection(const VisibleSelection&);
+ void setEndingSelection(const SelectionInDOMTree&);
+ // TODO(yosin): We should get rid of overloads of |setEndingSelection()|
+ // except for taking |SelectionInDOMTree|.
void setEndingSelection(const VisibleSelection&);
void setEndingSelection(const VisiblePosition&);
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/editing/commands/EditCommand.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698