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

Unified Diff: chrome/browser/ui/cocoa/autofill/password_generation_popup_view_cocoa.mm

Issue 342833002: [Password Generation] Update Aura UI (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Latest coments Created 6 years, 6 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/autofill/password_generation_popup_view_cocoa.mm
diff --git a/chrome/browser/ui/cocoa/autofill/password_generation_popup_view_cocoa.mm b/chrome/browser/ui/cocoa/autofill/password_generation_popup_view_cocoa.mm
index fb9ab45f17fa33b253b49602beaf12b11cbbb307..0da6adee480fc6e940b7f99dfaf4ac67c7f161e5 100644
--- a/chrome/browser/ui/cocoa/autofill/password_generation_popup_view_cocoa.mm
+++ b/chrome/browser/ui/cocoa/autofill/password_generation_popup_view_cocoa.mm
@@ -106,10 +106,6 @@ NSColor* HelpLinkColor() {
if (controller_->password_selected()) {
// Draw a highlight under the suggested password.
NSRect highlightBounds = [self passwordBounds];
- highlightBounds.origin.y +=
- PasswordGenerationPopupView::kPasswordVerticalInset;
- highlightBounds.size.height -=
- 2 * PasswordGenerationPopupView::kPasswordVerticalInset;
[[self highlightColor] set];
[NSBezierPath fillRect:highlightBounds];
}
@@ -188,15 +184,15 @@ NSColor* HelpLinkColor() {
}
- (NSRect)passwordBounds {
- return NSRectFromCGRect(controller_->password_bounds().ToCGRect());
+ return NSZeroRect;
}
- (NSRect)helpBounds {
- return NSRectFromCGRect(controller_->help_bounds().ToCGRect());
+ return NSZeroRect;
}
- (NSRect)dividerBounds {
- return NSRectFromCGRect(controller_->divider_bounds().ToCGRect());
+ return NSZeroRect;
}
- (NSFont*)textFont {

Powered by Google App Engine
This is Rietveld 408576698