Revert "Replace blink::TextDirection with base::i18n::TextDirection"

This reverts commit d5df8b85fcf1a724ba77715b249b4b4db2f8de5b.

Reason for revert: Memory Regression

Original change's description:
> Replace blink::TextDirection with base::i18n::TextDirection
>
> This is a precursor CL to replace ExternalPopupMenu class by a
> mojo connection, and replace blink::TextDirection with
> base::i18n::TextDirection.
>
> Bug: 1044268
> Change-Id: I0b6802201b05c48abaf19de78e81a848d5dc94b3
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2061985
> Commit-Queue: Miyoung Shin <myid.shin@igalia.com>
> Reviewed-by: Kentaro Hara <haraken@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#743450}

TBR=haraken@chromium.org,myid.shin@igalia.com

# Not skipping CQ checks because original CL landed > 1 day ago.

Bug: 1044268, 1055696
Change-Id: I4b7d7073ffaf729e23272c83573a957fc3c03a67
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2076755
Commit-Queue: Miyoung Shin <myid.shin@igalia.com>
Reviewed-by: Miyoung Shin <myid.shin@igalia.com>
Reviewed-by: Kentaro Hara <haraken@chromium.org>
Cr-Commit-Position: refs/heads/master@{#744987}
220 files changed