DescriptionRevert of [EditCommandSource] Pass source from |Editor::Command| to |Editor::apply*()/insert*()/...| (2/3) (patchset #2 id:40001 of https://codereview.chromium.org/2576903002/ )
Reason for revert:
We want to revert all CLs and start over the refactor process, see:
https://crbug.com/673789.
Original issue's description:
> [EditCommandSource] Pass source from |Editor::Command| to |Editor::apply*()/insert*()/...| (2/3)
>
> This is the sub-patch (2/3) of supporting |EditCommandSource| in
> |CompositeEditCommand| (https://crrev.com/2574793002).
>
> This CL:
> 1. Added method |Editor::replaceSelectionForSpellChecker()| for
> |SpellChecker::replaceMisspelledRange()| to hide editor details;
> 2. Passed command source from |Editor::Command| to various methods in |Editor|,
> such as |performDelete()|, |removeFormattingAndStyle()|, |applyStyle()|,
> |replaceSelectionWithText()| etc.
>
> Note:
> It's OK to add extra |EditCommandSource| parameter to those methods because
> they are going to be moved to "EditorCommand.cpp" (according to the editing
> refactor doc), which means they should share the similar pattern as other
> |static execute*()| methods.
>
> This CL shouldn't have any behavior change.
>
> Next CL will pass command source down to |CompositeEditCommand| and
> |TypingCommand|.
>
> Editing Refactor doc:
> https://docs.google.com/a/chromium.org/document/d/1i-f5ByGHIvTcvy2UEAvOtBK14BNMFTB8ms9uedeArbw/edit?usp=sharing
>
> BUG=673789
>
> Committed: https://crrev.com/f6fddd7fab5cf706023fc4f2edbdfa4fdd93d56f
> Cr-Commit-Position: refs/heads/master@{#439010}
TBR=tkent@chromium.org,xiaochengh@chromium.org,yosin@chromium.org
# Not skipping CQ checks because original CL landed more than 1 days ago.
BUG=673789
Review-Url: https://codereview.chromium.org/2635963004
Cr-Commit-Position: refs/heads/master@{#444085}
Committed: https://chromium.googlesource.com/chromium/src/+/5d43e0f5fb5702f1873a4e9e94ea0f418ded2406
Patch Set 1 #Patch Set 2 : Fix revert conflcts #
Messages
Total messages: 13 (6 generated)
|