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 7eb723f149dfcef20662bb7d21ca21d9e97a25e3..600d9375b34786445104cec78f2907e4eb2c8600 100644 |
| --- a/third_party/WebKit/Source/core/editing/commands/TypingCommand.h |
| +++ b/third_party/WebKit/Source/core/editing/commands/TypingCommand.h |
| @@ -79,6 +79,8 @@ public: |
| ETypingCommand commandTypeOfOpenCommand() const { return m_commandType; } |
| TextCompositionType compositionType() const { return m_compositionType; } |
| + // TyingCommand may contain multiple InsertTextCommand, |textOfLastCommand()| returns the text of the last one. |
|
yosin_UTC9
2016/07/05 01:22:07
s/Tying/Typing/
chongz
2016/07/05 20:33:27
Done.
|
| + String textOfLastCommand() const; |
| private: |
| static TypingCommand* create(Document& document, ETypingCommand command, const String& text = "", Options options = 0, TextGranularity granularity = CharacterGranularity) |