OLD | NEW |
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 | 4 |
5 #ifndef CHROME_BROWSER_UI_COCOA_PASSWORDS_MANAGE_PASSWORDS_BUBBLE_ACCOUNT_CHOOSE
R_VIEW_CONTROLLER_H_ | 5 #ifndef CHROME_BROWSER_UI_COCOA_PASSWORDS_ACCOUNT_CHOOSER_VIEW_CONTROLLER_H_ |
6 #define CHROME_BROWSER_UI_COCOA_PASSWORDS_MANAGE_PASSWORDS_BUBBLE_ACCOUNT_CHOOSE
R_VIEW_CONTROLLER_H_ | 6 #define CHROME_BROWSER_UI_COCOA_PASSWORDS_ACCOUNT_CHOOSER_VIEW_CONTROLLER_H_ |
7 | 7 |
8 #import <Cocoa/Cocoa.h> | 8 #import <Cocoa/Cocoa.h> |
9 | 9 |
10 #include "base/mac/scoped_nsobject.h" | 10 #include "base/mac/scoped_nsobject.h" |
| 11 #import "chrome/browser/ui/cocoa/passwords/base_passwords_content_view_controlle
r.h" |
11 #import "chrome/browser/ui/cocoa/passwords/credential_item_view.h" | 12 #import "chrome/browser/ui/cocoa/passwords/credential_item_view.h" |
12 #import "chrome/browser/ui/cocoa/passwords/manage_passwords_bubble_content_view_
controller.h" | |
13 | 13 |
14 @class AccountAvatarFetcherManager; | 14 @class AccountAvatarFetcherManager; |
15 @class BubbleCombobox; | 15 @class BubbleCombobox; |
16 class ManagePasswordsBubbleModel; | 16 class ManagePasswordsBubbleModel; |
17 @class ManagePasswordCredentialItemViewController; | 17 @class ManagePasswordCredentialItemViewController; |
18 | 18 |
19 // A custom cell that displays a credential item in an NSTableView. | 19 // A custom cell that displays a credential item in an NSTableView. |
20 @interface CredentialItemCell : NSCell | 20 @interface CredentialItemCell : NSCell |
21 - (id)initWithView:(CredentialItemView*)view; | 21 - (id)initWithView:(CredentialItemView*)view; |
22 @property(nonatomic, readonly) CredentialItemView* view; | 22 @property(nonatomic, readonly) CredentialItemView* view; |
(...skipping 13 matching lines...) Expand all Loading... |
36 base::scoped_nsobject<NSArray> credentialItems_; | 36 base::scoped_nsobject<NSArray> credentialItems_; |
37 base::scoped_nsobject<AccountAvatarFetcherManager> avatarManager_; | 37 base::scoped_nsobject<AccountAvatarFetcherManager> avatarManager_; |
38 } | 38 } |
39 | 39 |
40 // Initializes a new account chooser and populates it with the credentials | 40 // Initializes a new account chooser and populates it with the credentials |
41 // stored in |model|. Designated initializer. | 41 // stored in |model|. Designated initializer. |
42 - (id)initWithModel:(ManagePasswordsBubbleModel*)model | 42 - (id)initWithModel:(ManagePasswordsBubbleModel*)model |
43 delegate:(id<ManagePasswordsBubbleContentViewDelegate>)delegate; | 43 delegate:(id<ManagePasswordsBubbleContentViewDelegate>)delegate; |
44 @end | 44 @end |
45 | 45 |
46 #endif // CHROME_BROWSER_UI_COCOA_PASSWORDS_MANAGE_PASSWORDS_BUBBLE_ACCOUNT_CHO
OSER_VIEW_CONTROLLER_H_ | 46 #endif // CHROME_BROWSER_UI_COCOA_PASSWORDS_ACCOUNT_CHOOSER_VIEW_CONTROLLER_H_ |
OLD | NEW |