Description[Editing] Introduce |EditCommandComposition::willUn/Reapply()| in prepare for 'beforeinput' (2/3)
This is the second sub-patch (2/3) of unifying 'beforeinput' logic. (Original CL
https://crrev.com/2558643003)
This CL:
1. Updated calling path |Editor::undo()| =>
|UndoStack::undo()| =>
|EditCommandComposition::unapply()| =>
*|EditCommandComposition::willUnapply()|.
2. Similar for redo.
* Marks new methods.
The next step is to fire 'beforeinput' in |EditCommandComposition::willUn/Reapply()|.
This CL shouldn't have any behavior change.
To help reviewing, here is a simple doc describing the following plans:
https://docs.google.com/a/chromium.org/document/d/1M9bQaLKdRpR1qJ9i7zZKN-hKwd4ZkgJs5GPde2ZsDy0/edit?usp=sharing
BUG=670035
Committed: https://crrev.com/c6596482a643b73b8cfe7b615639e6fea449e08b
Cr-Commit-Position: refs/heads/master@{#439640}
Patch Set 1 #
Total comments: 2
Patch Set 2 : xiaocheng's review: Add TODO for implementation #
Depends on Patchset: Dependent Patchsets: Messages
Total messages: 26 (18 generated)
|