Fix input type for forward delete on selected text range
Fixes bug where deleting selected text with forward delete was updating
inputType as "deleteContentBackward" instead of "deleteContentForward".
In this change, |DeleteWithDirection| in |EditorCommand| is fixed to
obey |direction| and call equivalent |{Delete,ForwardDelete}KeyPressed|
function.
Bug: 346606164
Change-Id: I7debf214286fe3e553e621da939d46b5775eeae4
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5613690
Reviewed-by: Siye Liu siliu@microsoft.com
Reviewed-by: Koji Ishii kojii@chromium.org
Commit-Queue: Sambamurthy Bandaru sambamurthy.bandaru@microsoft.com
Cr-Commit-Position: refs/heads/main@{#1314453}