| 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..00b94297073b608f65054e5e0434556fa695b0b2 100644
|
| --- a/third_party/WebKit/Source/core/editing/commands/CompositeEditCommand.h
|
| +++ b/third_party/WebKit/Source/core/editing/commands/CompositeEditCommand.h
|
| @@ -116,6 +116,10 @@ class CORE_EXPORT CompositeEditCommand : public EditCommand {
|
| protected:
|
| explicit CompositeEditCommand(Document&);
|
|
|
| + // Returns |false| to cancel applying command. Only "beforeinput" event
|
| + // handler asks to cancel.
|
| + virtual bool willApply();
|
| +
|
| //
|
| // sugary-sweet convenience functions to help create and apply edit commands
|
| // in composite commands
|
|
|