[reland] Browser Side Text Input State Tracking for OOPIF (Aura Only)
This CL relands the original issue
https://codereview.chromium.org/1652483002/,
with modifications and for aura only (Linux, Windows). The new design is based
on RenderWidgetHostViewObserver which will fix some of the lifetime management
issues in the original CL that caused DCHECK and crashes.
This CL will introduce a TextInputManager class which is owned by the outermost
WebContentsImpl and tracks the TextInputState from all RWHV belonging to
WebContentsImpl itself or any of the inner WebContents inside. TextInputManager
is accessed by the RWHVs to set or obtain TextInputState for the tab.
This CL also adds multiple tests for TextInputState tracking and IME.
BUG=
578168,
602723
CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:linux_site_isolation