| 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_impl.h" | 5 #include "chrome/browser/ui/webui/signin/inline_login_handler_impl.h" |
| 6 | 6 |
| 7 #include <string> | 7 #include <string> |
| 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 367 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 378 int index = tab_strip_model->GetIndexOfWebContents(tab); | 378 int index = tab_strip_model->GetIndexOfWebContents(tab); |
| 379 if (index != TabStripModel::kNoTab) { | 379 if (index != TabStripModel::kNoTab) { |
| 380 tab_strip_model->ExecuteContextMenuCommand( | 380 tab_strip_model->ExecuteContextMenuCommand( |
| 381 index, TabStripModel::CommandCloseTab); | 381 index, TabStripModel::CommandCloseTab); |
| 382 } | 382 } |
| 383 } | 383 } |
| 384 | 384 |
| 385 if (show_account_management) { | 385 if (show_account_management) { |
| 386 browser->window()->ShowAvatarBubbleFromAvatarButton( | 386 browser->window()->ShowAvatarBubbleFromAvatarButton( |
| 387 BrowserWindow::AVATAR_BUBBLE_MODE_ACCOUNT_MANAGEMENT, | 387 BrowserWindow::AVATAR_BUBBLE_MODE_ACCOUNT_MANAGEMENT, |
| 388 signin::GAIA_SERVICE_TYPE_NONE); | 388 signin::ManageAccountsParams()); |
| 389 } | 389 } |
| 390 } | 390 } |
| 391 } | 391 } |
| OLD | NEW |