Chromium Code Reviews| 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 d17c8dc2e2c4ad3d78f90828a07c986d8a02d5d4..5e3e9bd9a80561d3e8200f167adcbfdf5bc94fc8 100644 |
| --- a/third_party/WebKit/Source/core/editing/commands/TypingCommand.h |
| +++ b/third_party/WebKit/Source/core/editing/commands/TypingCommand.h |
| @@ -82,6 +82,8 @@ class CORE_EXPORT TypingCommand final : public CompositeEditCommand { |
| static bool insertParagraphSeparatorInQuotedContent(Document&); |
| static void closeTyping(LocalFrame*); |
| + static TypingCommand* lastTypingCommandIfStillOpenForTyping(LocalFrame*); |
|
yosin_UTC9
2017/03/02 03:38:40
It seems we want to move this function to |Editor|
Xiaocheng
2017/03/02 04:34:59
Hmm, agreed that Editor is a better place for this
|
| + |
| void insertText(const String& text, bool selectInsertedText, EditingState*); |
| void insertTextRunWithoutNewlines(const String& text, |
| bool selectInsertedText, |
| @@ -135,8 +137,6 @@ class CORE_EXPORT TypingCommand final : public CompositeEditCommand { |
| bool isOpenForMoreTyping() const { return m_openForMoreTyping; } |
| void closeTyping() { m_openForMoreTyping = false; } |
| - static TypingCommand* lastTypingCommandIfStillOpenForTyping(LocalFrame*); |
| - |
| void doApply(EditingState*) override; |
| InputEvent::InputType inputType() const override; |
| bool isTypingCommand() const override; |