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

Unified Diff: components/omnibox/autocomplete_result.h

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: fix mac and add command line flag to histograms.xml 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
« no previous file with comments | « components/omnibox/autocomplete_match.cc ('k') | components/omnibox/autocomplete_result.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/omnibox/autocomplete_result.h
diff --git a/components/omnibox/autocomplete_result.h b/components/omnibox/autocomplete_result.h
index 6681581647dc5ee6a1e352fbbd0decbd73001ced..6d8d746f986c90f779780ce099161e6e04f30a7c 100644
--- a/components/omnibox/autocomplete_result.h
+++ b/components/omnibox/autocomplete_result.h
@@ -69,8 +69,11 @@ class AutocompleteResult {
const AutocompleteResult& old_matches,
TemplateURLService* template_url_service);
- // Adds a new set of matches to the result set. Does not re-sort.
- void AppendMatches(const ACMatches& matches);
+ // Adds a new set of matches to the result set. Does not re-sort. Calls
+ // PossiblySwapContentsAndDescriptionForURLSuggestion(input)" on all added
+ // matches; see comments there for more information.
+ void AppendMatches(const AutocompleteInput& input,
+ const ACMatches& matches);
// Removes duplicates, puts the list in sorted order and culls to leave only
// the best kMaxMatches matches. Sets the default match to the best match
« no previous file with comments | « components/omnibox/autocomplete_match.cc ('k') | components/omnibox/autocomplete_result.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698