| 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 05d3a325ce63785f64e4be5e71c3a0b1eb71bc8f..da620bf0b82128d1232469a7b375b3b7f6ec7b27 100644
|
| --- a/third_party/WebKit/Source/core/editing/commands/TypingCommand.h
|
| +++ b/third_party/WebKit/Source/core/editing/commands/TypingCommand.h
|
| @@ -71,12 +71,14 @@ class CORE_EXPORT TypingCommand final : public CompositeEditCommand {
|
| Options,
|
| TextCompositionType = TextCompositionNone,
|
| const bool isIncrementalInsertion = false);
|
| - static void insertText(Document&,
|
| - const String&,
|
| - const SelectionInDOMTree&,
|
| - Options,
|
| - TextCompositionType = TextCompositionNone,
|
| - const bool isIncrementalInsertion = false);
|
| + static void insertText(
|
| + Document&,
|
| + const String&,
|
| + const SelectionInDOMTree&,
|
| + Options,
|
| + TextCompositionType = TextCompositionNone,
|
| + const bool isIncrementalInsertion = false,
|
| + InputEvent::InputType = InputEvent::InputType::InsertText);
|
| static bool insertLineBreak(Document&);
|
| static bool insertParagraphSeparator(Document&);
|
| static bool insertParagraphSeparatorInQuotedContent(Document&);
|
| @@ -188,6 +190,7 @@ class CORE_EXPORT TypingCommand final : public CompositeEditCommand {
|
|
|
| bool m_isIncrementalInsertion;
|
| size_t m_selectionStart;
|
| + InputEvent::InputType m_inputType;
|
| };
|
|
|
| DEFINE_TYPE_CASTS(TypingCommand,
|
|
|