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

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

Issue 1773443002: Revert of Simplify TypingCommand::insertText (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 04d12b847458ae37f9e2164fff748c83ccc6e1ef..a2fc7f7ef4f1df5528a8e1e3ebb35b75c7b01b09 100644
--- a/third_party/WebKit/Source/core/editing/commands/TypingCommand.h
+++ b/third_party/WebKit/Source/core/editing/commands/TypingCommand.h
@@ -61,6 +61,7 @@ public:
static void deleteKeyPressed(Document&, Options, TextGranularity = CharacterGranularity);
static void forwardDeleteKeyPressed(Document&, EditingState*, Options = 0, TextGranularity = CharacterGranularity);
static void insertText(Document&, const String&, Options, TextCompositionType = TextCompositionNone);
+ static void insertText(Document&, const String&, const VisibleSelection&, Options, TextCompositionType = TextCompositionNone);
static bool insertLineBreak(Document&);
static bool insertParagraphSeparator(Document&);
static bool insertParagraphSeparatorInQuotedContent(Document&);

Powered by Google App Engine
This is Rietveld 408576698