cygprofile: increase timeouts to allow showing web contents
[chromium-blink-merge.git] / chrome / browser / ui / views / passwords / credentials_selection_view.h
blobe495a98f0bf1f8e96bbd6ccd4328f6980c77acd4
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_
7 #include <vector>
9 #include "components/autofill/core/common/password_form.h"
10 #include "ui/views/view.h"
12 namespace views {
13 class Combobox;
16 class ManagePasswordsBubbleModel;
18 // A view where the user can select a credential.
19 class CredentialsSelectionView : public views::View {
20 public:
21 CredentialsSelectionView(
22 ManagePasswordsBubbleModel* manage_passwords_bubble_model,
23 const std::vector<const autofill::PasswordForm*>& password_forms,
24 const base::string16& best_matched_username);
26 const autofill::PasswordForm* GetSelectedCredentials();
28 private:
29 const std::vector<const autofill::PasswordForm*>& password_forms_;
30 views::Combobox* combobox_;
32 DISALLOW_COPY_AND_ASSIGN(CredentialsSelectionView);
35 #endif // CHROME_BROWSER_UI_VIEWS_PASSWORDS_CREDENTIALS_SELECTION_VIEW_H_