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

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

Issue 2854893002: Force URLs in omnibox suggestions to layout LTR. (Closed)
Patch Set: Created 3 years, 8 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/truncating_attributed_label.h
diff --git a/ios/chrome/browser/ui/omnibox/truncating_attributed_label.h b/ios/chrome/browser/ui/omnibox/truncating_attributed_label.h
index 41ab47e64047134467fa1e604941a01d9a209451..b42556716ef36deb9bee5dfeffb3f83378ddecff 100644
--- a/ios/chrome/browser/ui/omnibox/truncating_attributed_label.h
+++ b/ios/chrome/browser/ui/omnibox/truncating_attributed_label.h
@@ -25,6 +25,9 @@ typedef enum {
// Which side(s) to truncate.
@property(nonatomic, assign) OmniboxPopupTruncatingMode truncateMode;
+// Whether the text being displayed should be treated as a URL.
+@property(nonatomic, assign) BOOL displayAsURL;
rohitrao (ping after 24h) 2017/05/03 16:19:37 Total nit: would something like "forceLTR" be a be
Justin Donnelly 2017/05/03 17:35:52 Your suggestion makes sense but I'm interested in
+
@end
#endif // IOS_CHROME_BROWSER_UI_OMNIBOX_TRUNCATING_ATTRIBUTED_LABEL_H_

Powered by Google App Engine
This is Rietveld 408576698