Index: third_party/WebKit/Source/core/editing/commands/CompositeEditCommand.h |
diff --git a/third_party/WebKit/Source/core/editing/commands/CompositeEditCommand.h b/third_party/WebKit/Source/core/editing/commands/CompositeEditCommand.h |
index 2289ba003dbe6ab03853a66d221e545f53d649ea..ab3954b3959cdd694e13e606a214cbdd85227c3e 100644 |
--- a/third_party/WebKit/Source/core/editing/commands/CompositeEditCommand.h |
+++ b/third_party/WebKit/Source/core/editing/commands/CompositeEditCommand.h |
@@ -116,6 +116,9 @@ class CORE_EXPORT CompositeEditCommand : public EditCommand { |
protected: |
explicit CompositeEditCommand(Document&); |
+ // Returns |false| to abort applying command. |
yosin_UTC9
2016/12/07 07:51:27
Is "cancel" better than "abort"?
Should we mention
chongz
2016/12/07 15:22:21
Done.
|
+ virtual bool willApply(); |
+ |
// |
// sugary-sweet convenience functions to help create and apply edit commands |
// in composite commands |