Index: chrome/browser/ui/views/profiles/user_manager_view.cc |
diff --git a/chrome/browser/ui/views/profiles/user_manager_view.cc b/chrome/browser/ui/views/profiles/user_manager_view.cc |
index eee57009c836e15fe946fafa290d10231d50b297..8e6c6a7498a9ecd1fb3546edad864dd8848bcd0d 100644 |
--- a/chrome/browser/ui/views/profiles/user_manager_view.cc |
+++ b/chrome/browser/ui/views/profiles/user_manager_view.cc |
@@ -75,6 +75,7 @@ class ReauthDelegate : public views::DialogDelegateView, |
void DeleteDelegate() override; |
base::string16 GetWindowTitle() const override; |
int GetDialogButtons() const override; |
+ views::View* GetInitiallyFocusedView() override; |
// UserManager::ReauthObserver: |
void CloseReauthDialog() override; |
@@ -138,6 +139,10 @@ int ReauthDelegate::GetDialogButtons() const { |
return ui::DIALOG_BUTTON_NONE; |
} |
+views::View* ReauthDelegate::GetInitiallyFocusedView() { |
+ return static_cast<views::View*>(web_view_); |
sky
2015/09/14 22:49:50
You shouldn't need the static_cast. web_view_ is a
|
+} |
+ |
void ReauthDelegate::CloseReauthDialog() { |
GetWidget()->Close(); |
} |