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 ecc6a3df2097432c17d46c927a6ed7a77490a758..1836cc6b016049ce0a7e33ce1fd73dff689ff3ac 100644 |
| --- a/third_party/WebKit/Source/core/editing/commands/TypingCommand.h |
| +++ b/third_party/WebKit/Source/core/editing/commands/TypingCommand.h |
| @@ -107,8 +107,10 @@ class CORE_EXPORT TypingCommand final : public CompositeEditCommand { |
| ETypingCommand commandTypeOfOpenCommand() const { return m_commandType; } |
| TextCompositionType compositionType() const { return m_compositionType; } |
| + InputEvent::InputType inputType() const final; |
|
Xiaocheng
2016/12/20 05:49:57
Same as for ReplaceSelectionCommand
chongz
2016/12/20 23:27:51
Done.
|
| // Returns text data of the last added typing. |
| String textDataForInputEvent() const final; |
| + RangeVector* targetRangesForInputEvent() const final; |
| private: |
| static TypingCommand* create( |
| @@ -144,7 +146,6 @@ class CORE_EXPORT TypingCommand final : public CompositeEditCommand { |
| static TypingCommand* lastTypingCommandIfStillOpenForTyping(LocalFrame*); |
| void doApply(EditingState*) override; |
| - InputEvent::InputType inputType() const override; |
| bool isTypingCommand() const override; |
| bool preservesTypingStyle() const override { return m_preservesTypingStyle; } |
| void setShouldRetainAutocorrectionIndicator(bool retain) override { |