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

Unified Diff: chrome/browser/ui/views/omnibox/omnibox_result_view.cc

Issue 2836453002: Standardizing on the name "tail suggestions" (in comments) (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: chrome/browser/ui/views/omnibox/omnibox_result_view.cc
diff --git a/chrome/browser/ui/views/omnibox/omnibox_result_view.cc b/chrome/browser/ui/views/omnibox/omnibox_result_view.cc
index bc71cdf4d05f2003db63b53907d6dd64e74b89d9..60cdea85d8ad7683a6250c166efc71f85e8b3023 100644
--- a/chrome/browser/ui/views/omnibox/omnibox_result_view.cc
+++ b/chrome/browser/ui/views/omnibox/omnibox_result_view.cc
@@ -407,7 +407,7 @@ int OmniboxResultView::DrawRenderText(
const int remaining_width = mirroring_context_->remaining_width(x);
int right_x = x + max_width;
- // Infinite suggestions should appear with the leading ellipses vertically
+ // Tail suggestions should appear with the leading ellipses vertically
// stacked.
if (render_text_type == CONTENTS &&
match.type == AutocompleteMatchType::SEARCH_SUGGEST_TAIL) {
@@ -428,8 +428,8 @@ int OmniboxResultView::DrawRenderText(
const int max_match_contents_width = model_->max_match_contents_width();
if (is_ui_rtl != is_match_contents_rtl) {
- // RTL infinite suggestions appear near the left edge in LTR UI, while LTR
- // infinite suggestions appear near the right edge in RTL UI. This is
+ // RTL tail suggestions appear near the left edge in LTR UI, while LTR
+ // tail suggestions appear near the right edge in RTL UI. This is
// against the natural horizontal alignment of the text. We reduce the
// width of the box for suggestion display, so that the suggestions appear
// in correct confines. This reduced width allows us to modify the text
« no previous file with comments | « chrome/browser/ui/views/omnibox/omnibox_result_view.h ('k') | components/omnibox/browser/search_suggestion_parser.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698