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

Unified Diff: chrome/browser/ui/cocoa/omnibox/omnibox_popup_cell.mm

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/cocoa/omnibox/omnibox_popup_cell.mm
diff --git a/chrome/browser/ui/cocoa/omnibox/omnibox_popup_cell.mm b/chrome/browser/ui/cocoa/omnibox/omnibox_popup_cell.mm
index 32dfd1fb13bc18d922529766c993aa7c5f28635b..9a43b648de56e43a734937f9848d3558ee9e61af 100644
--- a/chrome/browser/ui/cocoa/omnibox/omnibox_popup_cell.mm
+++ b/chrome/browser/ui/cocoa/omnibox/omnibox_popup_cell.mm
@@ -492,7 +492,7 @@ NSAttributedString* CreateClassifiedAttributedString(
NSMakePoint(kMaterialTextStartOffset + [tableView contentLeftPadding],
kVerticalTextPadding);
if ([cellData matchType] == AutocompleteMatchType::SEARCH_SUGGEST_TAIL) {
- // Infinite suggestions are rendered with a prefix (usually ellipsis), which
+ // Tail suggestions are rendered with a prefix (usually ellipsis), which
// appear vertically stacked.
origin.x += [self drawMatchPrefixWithFrame:cellFrame
tableView:tableView
@@ -569,7 +569,7 @@ NSAttributedString* CreateClassifiedAttributedString(
// Ideally the offset should be |contentsOffset_|. If the max total width
// (|prefixWidth| + |maxMatchContentsWidth|) from offset will exceed the
// |remainingWidth|, then we shift the offset to the left , so that all
- // postfix suggestions are visible.
+ // tail suggestions are visible.
// We have to render the prefix, so offset has to be at least |prefixWidth|.
offset =
std::max(prefixWidth,
« no previous file with comments | « chrome/browser/ui/cocoa/omnibox/omnibox_popup_cell.h ('k') | chrome/browser/ui/cocoa/omnibox/omnibox_popup_matrix.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698