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

Unified Diff: ios/chrome/browser/ui/omnibox/omnibox_popup_material_row.h

Issue 2721383002: Use a plain UILabel for answers in suggest detail text. (Closed)
Patch Set: Add TODO. Created 3 years, 10 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: ios/chrome/browser/ui/omnibox/omnibox_popup_material_row.h
diff --git a/ios/chrome/browser/ui/omnibox/omnibox_popup_material_row.h b/ios/chrome/browser/ui/omnibox/omnibox_popup_material_row.h
index 9721629e1b4fec52e29d7d26c13425953a6dd389..48817cb021b427ef0539e0cc02912324c216756a 100644
--- a/ios/chrome/browser/ui/omnibox/omnibox_popup_material_row.h
+++ b/ios/chrome/browser/ui/omnibox/omnibox_popup_material_row.h
@@ -12,12 +12,16 @@
// View used to display an omnibox autocomplete match in the omnibox popup.
@interface OmniboxPopupMaterialRow : UITableViewCell
-// A truncating version of the textLabel of a UITableViewCell.
+// A truncate-by-fading version of the textLabel of a UITableViewCell.
@property(nonatomic, readonly, retain)
OmniboxPopupTruncatingLabel* textTruncatingLabel;
-// A truncating version of the detailTextLabel of a UITableViewCell.
+// A truncate-by-fading version of the detailTextLabel of a UITableViewCell.
@property(nonatomic, readonly, retain)
OmniboxPopupTruncatingLabel* detailTruncatingLabel;
+// A standard UILabel for answers, which truncates with ellipses to support
+// multi-line text.
+@property(nonatomic, readonly, retain) UILabel* detailAnswerLabel;
+
@property(nonatomic, readonly, retain) UIImageView* imageView;
@property(nonatomic, readonly, retain) UIImageView* answerImageView;
@property(nonatomic, readonly, retain) UIButton* appendButton;

Powered by Google App Engine
This is Rietveld 408576698