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

Unified Diff: chrome/browser/ui/cocoa/passwords/manage_passwords_bubble_pending_view_controller.mm

Issue 462563002: Add ManagePasswordsBubbleManageViewController and unit tests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix views Created 6 years, 4 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_pending_view_controller.mm
diff --git a/chrome/browser/ui/cocoa/passwords/manage_passwords_bubble_pending_view_controller.mm b/chrome/browser/ui/cocoa/passwords/manage_passwords_bubble_pending_view_controller.mm
index 65cc31d42938a3cef351063ba7414d82b94a3e1e..ed127269dac87e924b1297eb169bfa69e5c1445c 100644
--- a/chrome/browser/ui/cocoa/passwords/manage_passwords_bubble_pending_view_controller.mm
+++ b/chrome/browser/ui/cocoa/passwords/manage_passwords_bubble_pending_view_controller.mm
@@ -78,11 +78,10 @@ using namespace password_manager::mac::ui;
// Password item.
// It should be at least as wide as the box without the padding.
- const CGFloat itemMinWidth = kDesiredBubbleWidth - 2 * kFramePadding;
passwordItem_.reset([[ManagePasswordItemViewController alloc]
initWithModel:model_
- position:password_manager::ui::FIRST_ITEM
- minWidth:itemMinWidth]);
+ passwordForm:model_->pending_credentials()
+ position:password_manager::ui::FIRST_ITEM]);
NSView* password = [passwordItem_ view];
[self.view addSubview:password];

Powered by Google App Engine
This is Rietveld 408576698