Chromium Code Reviews| Index: third_party/WebKit/Source/core/editing/commands/EditCommand.h |
| diff --git a/third_party/WebKit/Source/core/editing/commands/EditCommand.h b/third_party/WebKit/Source/core/editing/commands/EditCommand.h |
| index 562137c66bfd10c1b9ca8293a63e42cf6f77da6d..5fbba3a4d4f93f8b144d4c7abb0fc8a118f4a082 100644 |
| --- a/third_party/WebKit/Source/core/editing/commands/EditCommand.h |
| +++ b/third_party/WebKit/Source/core/editing/commands/EditCommand.h |
| @@ -54,6 +54,9 @@ public: |
| // The |EditingState*| argument must not be nullptr. |
| virtual void doApply(EditingState*) = 0; |
| + // |TypingCommand| will return |textData()| of the last |m_commands|. |
| + virtual String textData() const { return emptyString(); } |
|
yosin_UTC9
2016/07/06 01:20:55
Please move implementation of virtual member funct
chongz
2016/07/06 23:34:32
Done.
|
| + |
| DECLARE_VIRTUAL_TRACE(); |
| protected: |