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_COCOA_PASSWORDS_CREDENTIALS_SELECTION_VIEW_H_ | |
5 #define CHROME_BROWSER_UI_COCOA_PASSWORDS_CREDENTIALS_SELECTION_VIEW_H_ | |
6 | |
7 #import <Cocoa/Cocoa.h> | |
8 | |
9 #import "base/mac/scoped_nsobject.h" | |
10 | |
11 class ManagePasswordsBubbleModel; | |
12 namespace autofill { | |
13 struct PasswordForm; | |
14 } // namespace autofill | |
15 | |
16 // Shows a combobox for choosing username and obscured password in a single row. | |
17 @interface CredentialsSelectionView : NSView { | |
18 @private | |
19 ManagePasswordsBubbleModel* model_; // weak | |
20 base::scoped_nsobject<NSPopUpButton> usernamePopUpButton_; | |
21 base::scoped_nsobject<NSSecureTextField> passwordField_; | |
22 } | |
23 - (id)initWithModel:(ManagePasswordsBubbleModel*)model; | |
24 - (const autofill::PasswordForm*)getSelectedCredentials; | |
25 @end | |
26 | |
27 #endif // CHROME_BROWSER_UI_COCOA_PASSWORDS_CREDENTIALS_SELECTION_VIEW_H_ | |
OLD | NEW |