| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 #import "chrome/browser/ui/cocoa/passwords/manage_passwords_bubble_account_choos
er_view_controller.h" | 5 #import "chrome/browser/ui/cocoa/passwords/account_chooser_view_controller.h" |
| 6 | 6 |
| 7 #include <cmath> | 7 #include <cmath> |
| 8 | 8 |
| 9 #include "base/strings/sys_string_conversions.h" | 9 #include "base/strings/sys_string_conversions.h" |
| 10 #include "chrome/browser/profiles/profile.h" | 10 #include "chrome/browser/profiles/profile.h" |
| 11 #import "chrome/browser/ui/cocoa/bubble_combobox.h" | 11 #import "chrome/browser/ui/cocoa/bubble_combobox.h" |
| 12 #import "chrome/browser/ui/cocoa/passwords/account_avatar_fetcher_manager.h" | 12 #import "chrome/browser/ui/cocoa/passwords/account_avatar_fetcher_manager.h" |
| 13 #include "chrome/browser/ui/passwords/account_chooser_more_combobox_model.h" | 13 #include "chrome/browser/ui/passwords/account_chooser_more_combobox_model.h" |
| 14 #include "chrome/browser/ui/passwords/manage_passwords_bubble_model.h" | 14 #include "chrome/browser/ui/passwords/manage_passwords_bubble_model.h" |
| 15 #include "chrome/grit/generated_resources.h" | 15 #include "chrome/grit/generated_resources.h" |
| (...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 267 } | 267 } |
| 268 | 268 |
| 269 - (void)tableViewSelectionDidChange:(NSNotification *)notification { | 269 - (void)tableViewSelectionDidChange:(NSNotification *)notification { |
| 270 CredentialItemView* item = | 270 CredentialItemView* item = |
| 271 [credentialItems_.get() objectAtIndex:[credentialsView_ selectedRow]]; | 271 [credentialItems_.get() objectAtIndex:[credentialsView_ selectedRow]]; |
| 272 model_->OnChooseCredentials(item.passwordForm, item.credentialType); | 272 model_->OnChooseCredentials(item.passwordForm, item.credentialType); |
| 273 [delegate_ viewShouldDismiss]; | 273 [delegate_ viewShouldDismiss]; |
| 274 } | 274 } |
| 275 | 275 |
| 276 @end | 276 @end |
| OLD | NEW |