Index: chrome/browser/ui/cocoa/passwords/manage_passwords_bubble_manage_view_controller.h |
diff --git a/chrome/browser/ui/cocoa/passwords/manage_passwords_bubble_manage_view_controller.h b/chrome/browser/ui/cocoa/passwords/manage_passwords_bubble_manage_view_controller.h |
index df91368aa843bed74105fa549b39f6d409bdbe8c..f3b9b0fdeb2a30e69caf156a0f1c37614fb9e474 100644 |
--- a/chrome/browser/ui/cocoa/passwords/manage_passwords_bubble_manage_view_controller.h |
+++ b/chrome/browser/ui/cocoa/passwords/manage_passwords_bubble_manage_view_controller.h |
@@ -11,17 +11,7 @@ |
#import "chrome/browser/ui/cocoa/passwords/manage_passwords_bubble_content_view_controller.h" |
class ManagePasswordsBubbleModel; |
- |
-// Shows a list of passwords saved for the current site.. |
-@interface PasswordItemListView : NSView { |
- base::scoped_nsobject<NSArray> itemViews_; |
-} |
-- (id)initWithModel:(ManagePasswordsBubbleModel*)model; |
-@end |
- |
-@interface PasswordItemListView (Testing) |
-@property(readonly) NSArray* itemViews; |
-@end |
+@class PasswordsListViewController; |
// Informs the user that no passwords are stored for the current site. |
@interface NoPasswordsView : NSTextField |
@@ -35,7 +25,8 @@ class ManagePasswordsBubbleModel; |
ManagePasswordsBubbleModel* model_; // weak |
base::scoped_nsobject<NSButton> doneButton_; |
base::scoped_nsobject<NSButton> manageButton_; |
- base::scoped_nsobject<NSView> contentView_; |
+ base::scoped_nsobject<NoPasswordsView> noPasswordsView_; |
+ base::scoped_nsobject<PasswordsListViewController> passwordsListController_; |
} |
- (id)initWithModel:(ManagePasswordsBubbleModel*)model |
delegate:(id<ManagePasswordsBubbleContentViewDelegate>)delegate; |
@@ -44,7 +35,8 @@ class ManagePasswordsBubbleModel; |
@interface ManagePasswordsBubbleManageViewController (Testing) |
@property(readonly) NSButton* doneButton; |
@property(readonly) NSButton* manageButton; |
-@property(readonly) NSView* contentView; |
+@property(readonly) NoPasswordsView* noPasswordsView; |
+@property(readonly) PasswordsListViewController* passwordsListController; |
@end |
#endif // CHROME_BROWSER_UI_COCOA_PASSWORDS_MANAGE_PASSWORDS_BUBBLE_MANAGE_VIEW_CONTROLLER_H_ |