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

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

Issue 2117543003: [InputEvent] Fill |data| field for 'input' event InsertText (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed |dataFromCommand()| helper function Created 4 years, 5 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/InsertTextCommand.h
diff --git a/third_party/WebKit/Source/core/editing/commands/InsertTextCommand.h b/third_party/WebKit/Source/core/editing/commands/InsertTextCommand.h
index b922761634ba937880c70fc21add94f556d91be4..b2553350d0b74a9bad88ae3176dc97080f30a3ad 100644
--- a/third_party/WebKit/Source/core/editing/commands/InsertTextCommand.h
+++ b/third_party/WebKit/Source/core/editing/commands/InsertTextCommand.h
@@ -43,6 +43,8 @@ public:
return new InsertTextCommand(document, text, selectInsertedText, rebalanceType);
}
+ String textDataForInputEvent() const final;
+
private:
InsertTextCommand(Document&, const String& text, bool selectInsertedText, RebalanceType);

Powered by Google App Engine
This is Rietveld 408576698