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

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

Issue 2733933003: Move CompositeEditCommand::deleteSelection() to TypingCommand::deleteSelectionIfRange() (Closed)
Patch Set: 2017-03-07T14:29:09 Created 3 years, 9 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: third_party/WebKit/Source/core/editing/commands/TypingCommand.h
diff --git a/third_party/WebKit/Source/core/editing/commands/TypingCommand.h b/third_party/WebKit/Source/core/editing/commands/TypingCommand.h
index 7a52aa8e667ac4f7effa930e1032ec2b29425124..ae0a0d3420510f87b726c72d16afcf6b113dc8c7 100644
--- a/third_party/WebKit/Source/core/editing/commands/TypingCommand.h
+++ b/third_party/WebKit/Source/core/editing/commands/TypingCommand.h
@@ -161,6 +161,13 @@ class CORE_EXPORT TypingCommand final : public CompositeEditCommand {
bool isIncrementalInsertion() const { return m_isIncrementalInsertion; }
+ void deleteSelectionIfRange(const VisibleSelection&,
+ EditingState*,
+ bool smartDelete = false,
+ bool mergeBlocksAfterDelete = true,
+ bool expandForSpecialElements = true,
+ bool sanitizeMarkup = true);
+
ETypingCommand m_commandType;
String m_textToInsert;
bool m_openForMoreTyping;

Powered by Google App Engine
This is Rietveld 408576698