Fixes browser_tests with --enable-text-input-focus-manager enabled.

http://crrev.com/173803002 introduced WebView::NotifyMaybeTextInputClientChanged, but the CL missed some cases.  We should be aware of more cases that the underlying web_contents may change.
- When an interstitial page is attached / detached
- When the render process is gone

browser_tests are broken with these cases when --enable-text-input-focus-manager enabled.  This CL fixes the broken tests.

BUG=290701
TEST=Run browser_tests with --enable-text-input-focus-manager enabled.

Review URL: https://codereview.chromium.org/347103002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@278861 0039d316-1c4b-4281-b951-d872f2087c98
2 files changed