Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 #ifndef CHROME_BROWSER_UI_VIEWS_PASSWORDS_CREDENTIALS_SELECTION_VIEW_H_ | |
| 5 #define CHROME_BROWSER_UI_VIEWS_PASSWORDS_CREDENTIALS_SELECTION_VIEW_H_ | |
| 6 | |
| 7 #include <vector> | |
| 8 | |
| 9 #include "components/autofill/core/common/password_form.h" | |
| 10 #include "ui/views/controls/combobox/combobox_listener.h" | |
|
vasilii
2015/08/05 15:42:55
Remove
dvadym
2015/08/05 16:40:43
Done.
| |
| 11 #include "ui/views/view.h" | |
| 12 | |
| 13 namespace views { | |
| 14 class Combobox; | |
| 15 class Label; | |
|
vasilii
2015/08/05 15:42:55
Remove
dvadym
2015/08/05 16:40:43
Done.
| |
| 16 } | |
| 17 | |
| 18 class ManagePasswordsBubbleModel; | |
| 19 | |
| 20 // A view where the user can select a credential. | |
| 21 class CredentialsSelectionView : public views::View { | |
| 22 public: | |
| 23 CredentialsSelectionView( | |
| 24 ManagePasswordsBubbleModel* manage_passwords_bubble_model, | |
| 25 const std::vector<const autofill::PasswordForm*>& password_forms, | |
| 26 const base::string16& best_matched_username); | |
| 27 | |
| 28 const autofill::PasswordForm* GetSelectedCredentials(); | |
| 29 | |
| 30 private: | |
| 31 const std::vector<const autofill::PasswordForm*>& password_forms_; | |
| 32 views::Combobox* combobox_; | |
| 33 | |
| 34 DISALLOW_COPY_AND_ASSIGN(CredentialsSelectionView); | |
| 35 }; | |
| 36 | |
| 37 #endif // CHROME_BROWSER_UI_VIEWS_PASSWORDS_CREDENTIALS_SELECTION_VIEW_H_ | |
| OLD | NEW |