Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(161)

Side by Side Diff: chrome/browser/ui/views/passwords/credentials_selection_view.h

Issue 1545153002: Switch to standard integer types in chrome/browser/ui/views/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 #ifndef CHROME_BROWSER_UI_VIEWS_PASSWORDS_CREDENTIALS_SELECTION_VIEW_H_ 4 #ifndef CHROME_BROWSER_UI_VIEWS_PASSWORDS_CREDENTIALS_SELECTION_VIEW_H_
5 #define CHROME_BROWSER_UI_VIEWS_PASSWORDS_CREDENTIALS_SELECTION_VIEW_H_ 5 #define CHROME_BROWSER_UI_VIEWS_PASSWORDS_CREDENTIALS_SELECTION_VIEW_H_
6 6
7 #include <vector> 7 #include <vector>
8 8
9 #include "base/macros.h"
9 #include "components/autofill/core/common/password_form.h" 10 #include "components/autofill/core/common/password_form.h"
10 #include "ui/views/view.h" 11 #include "ui/views/view.h"
11 12
12 namespace views { 13 namespace views {
13 class Combobox; 14 class Combobox;
14 } 15 }
15 16
16 class ManagePasswordsBubbleModel; 17 class ManagePasswordsBubbleModel;
17 18
18 // A view where the user can select a credential. 19 // A view where the user can select a credential.
19 class CredentialsSelectionView : public views::View { 20 class CredentialsSelectionView : public views::View {
20 public: 21 public:
21 CredentialsSelectionView( 22 CredentialsSelectionView(
22 ManagePasswordsBubbleModel* manage_passwords_bubble_model, 23 ManagePasswordsBubbleModel* manage_passwords_bubble_model,
23 const std::vector<const autofill::PasswordForm*>& password_forms, 24 const std::vector<const autofill::PasswordForm*>& password_forms,
24 const base::string16& best_matched_username); 25 const base::string16& best_matched_username);
25 26
26 const autofill::PasswordForm* GetSelectedCredentials(); 27 const autofill::PasswordForm* GetSelectedCredentials();
27 28
28 private: 29 private:
29 const std::vector<const autofill::PasswordForm*>& password_forms_; 30 const std::vector<const autofill::PasswordForm*>& password_forms_;
30 views::Combobox* combobox_; 31 views::Combobox* combobox_;
31 32
32 DISALLOW_COPY_AND_ASSIGN(CredentialsSelectionView); 33 DISALLOW_COPY_AND_ASSIGN(CredentialsSelectionView);
33 }; 34 };
34 35
35 #endif // CHROME_BROWSER_UI_VIEWS_PASSWORDS_CREDENTIALS_SELECTION_VIEW_H_ 36 #endif // CHROME_BROWSER_UI_VIEWS_PASSWORDS_CREDENTIALS_SELECTION_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698