| Index: chrome/browser/chromeos/login/ui/webui_login_view.h
|
| diff --git a/chrome/browser/chromeos/login/ui/webui_login_view.h b/chrome/browser/chromeos/login/ui/webui_login_view.h
|
| index e6a337b5860be059e7996f2087f3341520c9afbe..1a24a5fdff191118da81a1fbb038c5b731e5c05f 100644
|
| --- a/chrome/browser/chromeos/login/ui/webui_login_view.h
|
| +++ b/chrome/browser/chromeos/login/ui/webui_login_view.h
|
| @@ -8,6 +8,7 @@
|
| #include <map>
|
| #include <string>
|
|
|
| +#include "ash/common/system/status_area_focus_observer.h"
|
| #include "base/macros.h"
|
| #include "base/observer_list.h"
|
| #include "chrome/browser/ui/chrome_web_modal_dialog_manager_delegate.h"
|
| @@ -39,7 +40,8 @@ class WebUILoginView : public views::View,
|
| public content::WebContentsDelegate,
|
| public content::NotificationObserver,
|
| public ChromeWebModalDialogManagerDelegate,
|
| - public web_modal::WebContentsModalDialogHost {
|
| + public web_modal::WebContentsModalDialogHost,
|
| + public ash::StatusAreaFocusObserver {
|
| public:
|
| // Internal class name.
|
| static const char kViewClassName[];
|
| @@ -135,6 +137,9 @@ class WebUILoginView : public views::View,
|
| bool PreHandleGestureEvent(content::WebContents* source,
|
| const blink::WebGestureEvent& event) override;
|
|
|
| + // Overridden from ash::StatusAreaFocusObserver.
|
| + void OnWillReturnFocusToWebContents(bool reverse) override;
|
| +
|
| // Performs series of actions when login prompt is considered
|
| // to be ready and visible.
|
| // 1. Emits LoginPromptVisible signal if needed
|
|
|