Chromium Code Reviews| Index: chrome/browser/chromeos/login/ui/webui_login_view.cc |
| diff --git a/chrome/browser/chromeos/login/ui/webui_login_view.cc b/chrome/browser/chromeos/login/ui/webui_login_view.cc |
| index 65b2c75fcb42aa20f6fed4507b9b4d90cb94da78..c1be463e368346392d4e97511a7b0626e2594796 100644 |
| --- a/chrome/browser/chromeos/login/ui/webui_login_view.cc |
| +++ b/chrome/browser/chromeos/login/ui/webui_login_view.cc |
| @@ -348,7 +348,10 @@ void WebUILoginView::SetStatusAreaVisible(bool visible) { |
| void WebUILoginView::SetUIEnabled(bool enabled) { |
| forward_keyboard_event_ = enabled; |
| - ash::Shell::GetInstance()->GetPrimarySystemTray()->SetEnabled(enabled); |
| + ash::SystemTray* tray = ash::Shell::GetInstance()->GetPrimarySystemTray(); |
| + if (!enabled && tray->HasSystemBubble()) |
|
achuithb
2015/06/19 23:52:06
Could you please add a comment here summarizing wh
|
| + tray->CloseSystemBubble(); |
| + tray->SetEnabled(enabled); |
| } |
| void WebUILoginView::AddFrameObserver(FrameObserver* frame_observer) { |