aura: Updates the text input client when native activation changes.
commit01fea841c5655bd0d05fbd299da95f9d91fec41b
authoryukishiino@chromium.org <yukishiino@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Wed, 11 Jun 2014 17:25:04 +0000 (11 17:25 +0000)
committeryukishiino@chromium.org <yukishiino@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Wed, 11 Jun 2014 17:25:04 +0000 (11 17:25 +0000)
treeb359e05a05deae9132561e087d92b7a4e964b2e9
parent0e5c10faee75daa74c300b19345f8e53b81b5906
aura: Updates the text input client when native activation changes.

It turned out that we should update the focused text input client not only when native focus/blur but also when native activate/deactivate.

See crbug.com/377479 for details.

Also this CL fixes the initial text input focus on CrOS login screen.

BUG=323376,290701
TEST=Confirmed that the Omnibox gets the text input focus by default when a new window is created.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@276437 0039d316-1c4b-4281-b951-d872f2087c98
chrome/browser/chromeos/login/ui/login_display_host_impl.cc
chrome/browser/chromeos/login/ui/webui_login_view.cc
chrome/browser/chromeos/login/ui/webui_login_view.h
chrome/browser/ui/views/omnibox/omnibox_view_views_browsertest.cc
ui/views/focus/focus_manager.cc
ui/views/focus/focus_manager_unittest.cc
ui/views/widget/widget.cc