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

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

Issue 115753002: [rAc] [OSX] Use vertically compact text to show suggestions, when it fits. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Clean up more Created 7 years 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.h
diff --git a/chrome/browser/ui/cocoa/autofill/autofill_suggestion_container.h b/chrome/browser/ui/cocoa/autofill/autofill_suggestion_container.h
index 95b94464a9d754ae2d00fe9b46937f9e5be0d05c..8e1cb3243ab9d8980164a1ec7b0ffe8c26f74a85 100644
--- a/chrome/browser/ui/cocoa/autofill/autofill_suggestion_container.h
+++ b/chrome/browser/ui/cocoa/autofill/autofill_suggestion_container.h
@@ -35,7 +35,10 @@ namespace autofill {
@property (readonly, nonatomic) AutofillTextField* inputField;
// Set the main suggestion text and the corresponding |icon|.
-- (void)setSuggestionText:(NSString*)line icon:(NSImage*)icon;
+// Attempts to wrap the text if |wrapText| is set.
+- (void)setSuggestionText:(NSString*)line
+ icon:(NSImage*)icon
+ wrapText:(BOOL)wrapText;
// Shows an auxiliary textfield to the right of the suggestion icon and
// text. This is currently only used to show a CVC field for the CC section.

Powered by Google App Engine
This is Rietveld 408576698