| Index: chrome/browser/chromeos/login/ui/login_display_host_impl.cc
|
| diff --git a/chrome/browser/chromeos/login/ui/login_display_host_impl.cc b/chrome/browser/chromeos/login/ui/login_display_host_impl.cc
|
| index 304e8c54d48fbb8de6f5a7791a80d1b242db1c8a..cbb11c8d6d2b0fa882339805b5779c2ab0a200e2 100644
|
| --- a/chrome/browser/chromeos/login/ui/login_display_host_impl.cc
|
| +++ b/chrome/browser/chromeos/login/ui/login_display_host_impl.cc
|
| @@ -23,7 +23,6 @@
|
| #include "chrome/browser/chromeos/app_mode/kiosk_app_manager.h"
|
| #include "chrome/browser/chromeos/base/locale_util.h"
|
| #include "chrome/browser/chromeos/boot_times_loader.h"
|
| -#include "chrome/browser/chromeos/charger_replace/charger_replacement_dialog.h"
|
| #include "chrome/browser/chromeos/first_run/drive_first_run_controller.h"
|
| #include "chrome/browser/chromeos/first_run/first_run.h"
|
| #include "chrome/browser/chromeos/input_method/input_method_util.h"
|
| @@ -994,12 +993,6 @@ void LoginDisplayHostImpl::LoadURL(const GURL& url) {
|
| // Subscribe to crash events.
|
| content::WebContentsObserver::Observe(login_view_->GetWebContents());
|
| login_view_->LoadURL(url);
|
| -
|
| - // LoadURL could be called after the spring charger dialog shows, and
|
| - // take away the focus from it. Set the focus back to the charger dialog
|
| - // if it is visible.
|
| - // See crbug.com/328538.
|
| - ChargerReplacementDialog::SetFocusOnChargerDialogIfVisible();
|
| }
|
|
|
| void LoginDisplayHostImpl::ShowWebUI() {
|
| @@ -1015,12 +1008,6 @@ void LoginDisplayHostImpl::ShowWebUI() {
|
| login_view_->SetStatusAreaVisible(status_area_saved_visibility_);
|
| login_view_->OnPostponedShow();
|
|
|
| - // Login window could be shown after the spring charger dialog shows, and
|
| - // take away the focus from it. Set the focus back to the charger dialog
|
| - // if it is visible.
|
| - // See crbug.com/328538.
|
| - ChargerReplacementDialog::SetFocusOnChargerDialogIfVisible();
|
| -
|
| // We should reset this flag to allow changing of status area visibility.
|
| initialize_webui_hidden_ = false;
|
| }
|
|
|