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

Unified Diff: chrome/browser/autocomplete/history_url_provider.h

Issue 77453007: Omnibox: Make HistoryURL Highlight Titles like HistoryQuick Provider (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: highlight exact input title too Created 7 years, 1 month 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/history_url_provider.h
diff --git a/chrome/browser/autocomplete/history_url_provider.h b/chrome/browser/autocomplete/history_url_provider.h
index b42faf335d4ce1013ce4ef4d58b38b0106a9bb0e..93a4d55606f320c6ae9fb080e8b93bbb765b1245 100644
--- a/chrome/browser/autocomplete/history_url_provider.h
+++ b/chrome/browser/autocomplete/history_url_provider.h
@@ -291,6 +291,11 @@ class HistoryURLProvider : public HistoryProvider {
MatchType match_type,
int relevance);
+ // Returns a set of classification that highlight all the occurrences
Peter Kasting 2013/11/23 02:15:36 Nit: classification -> classifications
Mark P 2013/11/25 19:59:16 Done.
+ // of |input_text| at word breaks in |description|.
+ static ACMatchClassifications ClassifyDescription(
+ const string16& input_text, const string16& description);
Peter Kasting 2013/11/23 02:15:36 Nit: One arg per line
Mark P 2013/11/25 19:59:16 Done.
+
// Params for the current query. The provider should not free this directly;
// instead, it is passed as a parameter through the history backend, and the
// parameter itself is freed once it's no longer needed. The only reason we

Powered by Google App Engine
This is Rietveld 408576698