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

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

Issue 21724002: rAc: try really hard not to ellipsize addresses (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: one more Created 7 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/autofill/autofill_suggestion_container.mm
diff --git a/chrome/browser/ui/cocoa/autofill/autofill_suggestion_container.mm b/chrome/browser/ui/cocoa/autofill/autofill_suggestion_container.mm
index a2ab4e7691e11fc03c2c24ab7446b6c0891baf93..268b24fa848b03737a4c76e22b8b9072511fc11b 100644
--- a/chrome/browser/ui/cocoa/autofill/autofill_suggestion_container.mm
+++ b/chrome/browser/ui/cocoa/autofill/autofill_suggestion_container.mm
@@ -87,8 +87,7 @@ NSRect CenterVertically(NSRect rect1, NSRect rect2) {
}
- (void)setSuggestionText:(NSString*)line1
- line2:(NSString*)line2
- withFont:(NSFont*)font {
+ line2:(NSString*)line2 {
[label_ setStringValue:line1];
[label2_ setStringValue:line2];
[label2_ setHidden:![line2 length]];

Powered by Google App Engine
This is Rietveld 408576698