Close tray bubble before disabling UI for sign-in.
commit54491dc0ca9c5edbbc300e0e7cc56ad2beee3fe7
authordzhioev <dzhioev@chromium.org>
Mon, 22 Jun 2015 21:20:26 +0000 (22 14:20 -0700)
committerCommit bot <commit-bot@chromium.org>
Mon, 22 Jun 2015 21:20:59 +0000 (22 21:20 +0000)
tree54e3351ba244f25355fcc52523d7ae2b3f13fecd
parent02443533743dd265b7a8dec4bee855b0e544a727
Close tray bubble before disabling UI for sign-in.

During Chrome OS sign-in we temperoraly block the UI, to prevent user
from interracting with UI elements, particullary with the system tray
menu. However, if system tray menu is opened before disabling the UI,
it remains opened after. Fixed this by closing the menu together with
disabling the UI.

BUG=497080
TEST=manually

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

Cr-Commit-Position: refs/heads/master@{#335133}

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

Cr-Commit-Position: refs/heads/master@{#335562}
chrome/browser/chromeos/login/ui/webui_login_view.cc