| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "chrome/browser/ui/webui/signin/inline_login_handler.h" | 5 #include "chrome/browser/ui/webui/signin/inline_login_handler.h" |
| 6 | 6 |
| 7 #include <limits.h> | 7 #include <limits.h> |
| 8 | 8 |
| 9 #include "base/bind.h" | 9 #include "base/bind.h" |
| 10 #include "base/strings/string_number_conversions.h" | 10 #include "base/strings/string_number_conversions.h" |
| (...skipping 267 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 278 browser->signin_view_controller()->delegate()->PerformNavigation(); | 278 browser->signin_view_controller()->delegate()->PerformNavigation(); |
| 279 } | 279 } |
| 280 | 280 |
| 281 void InlineLoginHandler::HandleDialogClose(const base::ListValue* args) { | 281 void InlineLoginHandler::HandleDialogClose(const base::ListValue* args) { |
| 282 Browser* browser = signin::GetDesktopBrowser(web_ui()); | 282 Browser* browser = signin::GetDesktopBrowser(web_ui()); |
| 283 // If the dialog was opened in the User Manager browser will be null here. | 283 // If the dialog was opened in the User Manager browser will be null here. |
| 284 if (browser) | 284 if (browser) |
| 285 browser->CloseModalSigninWindow(); | 285 browser->CloseModalSigninWindow(); |
| 286 | 286 |
| 287 // Does nothing if user manager is not showing. | 287 // Does nothing if user manager is not showing. |
| 288 UserManager::HideReauthDialog(); | 288 UserManagerProfileDialog::HideDialog(); |
| 289 } | 289 } |
| OLD | NEW |