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

Unified Diff: chrome/browser/autocomplete/bookmark_provider.cc

Issue 1155673002: Omnibox - Add About Flag to Reverse Title and URLs in the Dropdown (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove extra blank line Created 5 years, 7 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/autocomplete/bookmark_provider.cc
diff --git a/chrome/browser/autocomplete/bookmark_provider.cc b/chrome/browser/autocomplete/bookmark_provider.cc
index 297089def367a31bb60fb50c794caecfa070adad..0e94050ea21156f266d8c3a1b2d1064e3258255b 100644
--- a/chrome/browser/autocomplete/bookmark_provider.cc
+++ b/chrome/browser/autocomplete/bookmark_provider.cc
@@ -224,6 +224,7 @@ AutocompleteMatch BookmarkProvider::BookmarkMatchToACMatch(
ClassificationsFromMatch(bookmark_match.title_match_positions,
match.description.size(),
false);
+ match.PossiblySwapContentsAndDescriptionForURLSuggestion(input);
Peter Kasting 2015/05/21 21:55:33 Rather than adding these calls to each provider, c
Mark P 2015/05/21 23:47:36 I thought about it quite a bit. If we wanted to s
Peter Kasting 2015/05/22 00:52:42 Huh. Seems a lot simpler and clearer to me the ot
Mark P 2015/05/22 22:51:29 I tried the other way. It looks less messy than I
// Summary on how a relevance score is determined for the match:
//

Powered by Google App Engine
This is Rietveld 408576698