Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(219)

Unified Diff: third_party/WebKit/Source/core/editing/commands/CompositeEditCommand.h

Issue 2558643003: [InputEvent] Move 'beforeinput' logic into |CompositeEditCommand::willApplyEditing()| (3/3) (Closed)
Patch Set: Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld 408576698