| 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 ecc6a3df2097432c17d46c927a6ed7a77490a758..49242a6bc4405b9ea382348852ab1b920c6dc62f 100644
|
| --- a/third_party/WebKit/Source/core/editing/commands/TypingCommand.h
|
| +++ b/third_party/WebKit/Source/core/editing/commands/TypingCommand.h
|
| @@ -107,7 +107,8 @@
|
|
|
| ETypingCommand commandTypeOfOpenCommand() const { return m_commandType; }
|
| TextCompositionType compositionType() const { return m_compositionType; }
|
| - // Returns text data of the last added typing.
|
| + // |TypingCommand| may contain multiple |InsertTextCommand|, should return
|
| + // |textDataForInputEvent()| of the last one.
|
| String textDataForInputEvent() const final;
|
|
|
| private:
|
| @@ -159,10 +160,6 @@
|
| LocalFrame*);
|
|
|
| void updatePreservesTypingStyle(ETypingCommand);
|
| - // Returns |false| to cancel adding typing.
|
| - bool willAddTypingToOpenCommand(EditCommandSource,
|
| - InputEvent::InputType,
|
| - const String& text = nullAtom);
|
| void typingAddedToOpenCommand(ETypingCommand);
|
| bool makeEditableRootEmpty(EditingState*);
|
|
|
| @@ -174,7 +171,6 @@
|
|
|
| ETypingCommand m_commandType;
|
| String m_textToInsert;
|
| - InputEvent::InputType m_inputType;
|
| bool m_openForMoreTyping;
|
| bool m_selectInsertedText;
|
| bool m_smartDelete;
|
|
|