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

Unified Diff: chrome/browser/ui/cocoa/passwords/manage_passwords_bubble_manage_view_controller.h

Issue 1409223005: Change the password bubble on Mac so the columns are resized dynamically. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix the crash Created 5 years, 2 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 side-by-side diff with in-line comments
Download patch
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_

Powered by Google App Engine
This is Rietveld 408576698