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

Side by Side Diff: chrome/browser/ui/cocoa/passwords/credentials_selection_view_cocoa.h

Issue 2808823002: MacViews: Allows the toolkit-views Manage Passwords Dialog to be used (Closed)
Patch Set: MacViews: Allows the toolkit-views Manage Passwords Dialog to be used (tests compile) Created 3 years, 8 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_COCOA_PASSWORDS_CREDENTIALS_SELECTION_VIEW_H_ 4 #ifndef CHROME_BROWSER_UI_COCOA_PASSWORDS_CREDENTIALS_SELECTION_VIEW_H_
5 #define CHROME_BROWSER_UI_COCOA_PASSWORDS_CREDENTIALS_SELECTION_VIEW_H_ 5 #define CHROME_BROWSER_UI_COCOA_PASSWORDS_CREDENTIALS_SELECTION_VIEW_H_
6 6
7 #import <Cocoa/Cocoa.h> 7 #import <Cocoa/Cocoa.h>
8 8
9 #import "base/mac/scoped_nsobject.h" 9 #import "base/mac/scoped_nsobject.h"
10 10
11 class ManagePasswordsBubbleModel; 11 class ManagePasswordsBubbleModel;
12 namespace autofill { 12 namespace autofill {
13 struct PasswordForm; 13 struct PasswordForm;
14 } // namespace autofill 14 } // namespace autofill
15 15
16 // Shows a combobox for choosing username and obscured password in a single row. 16 // Shows a combobox for choosing username and obscured password in a single row.
17 @interface CredentialsSelectionView : NSView { 17 @interface CredentialsSelectionView : NSView {
18 @private 18 @private
19 ManagePasswordsBubbleModel* model_; // weak 19 ManagePasswordsBubbleModel* model_; // weak
20 base::scoped_nsobject<NSPopUpButton> usernamePopUpButton_; 20 base::scoped_nsobject<NSPopUpButton> usernamePopUpButton_;
21 base::scoped_nsobject<NSSecureTextField> passwordField_; 21 base::scoped_nsobject<NSSecureTextField> passwordField_;
22 } 22 }
23 - (id)initWithModel:(ManagePasswordsBubbleModel*)model; 23 - (id)initWithModel:(ManagePasswordsBubbleModel*)model;
24 - (const autofill::PasswordForm*)getSelectedCredentials; 24 - (const autofill::PasswordForm*)getSelectedCredentials;
25 @end 25 @end
26 26
27 #endif // CHROME_BROWSER_UI_COCOA_PASSWORDS_CREDENTIALS_SELECTION_VIEW_H_ 27 #endif // CHROME_BROWSER_UI_COCOA_PASSWORDS_CREDENTIALS_SELECTION_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698