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

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

Issue 77453007: Omnibox: Make HistoryURL Highlight Titles like HistoryQuick Provider (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase 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_quick_provider.h
diff --git a/chrome/browser/autocomplete/history_quick_provider.h b/chrome/browser/autocomplete/history_quick_provider.h
index 470e7b9c61ca84af74acbe90fe8b60c6623c676a..7d2c5cd318018a06eed0a5d2c92fdcec4564bc0d 100644
--- a/chrome/browser/autocomplete/history_quick_provider.h
+++ b/chrome/browser/autocomplete/history_quick_provider.h
@@ -16,7 +16,6 @@
#include "chrome/browser/history/in_memory_url_index.h"
class Profile;
-class TermMatches;
namespace history {
class ScoredHistoryMatch;
@@ -64,13 +63,6 @@ class HistoryQuickProvider : public HistoryProvider {
// Returns the index that should be used for history lookups.
history::InMemoryURLIndex* GetIndex();
- // Fill and return an ACMatchClassifications structure given the term
- // matches (|matches|) to highlight where terms were found.
- static ACMatchClassifications SpansFromTermMatch(
- const history::TermMatches& matches,
- size_t text_length,
- bool is_url);
-
// Only for use in unittests. Takes ownership of |index|.
void set_index(history::InMemoryURLIndex* index) {
index_for_testing_.reset(index);
« no previous file with comments | « chrome/browser/autocomplete/history_provider.cc ('k') | chrome/browser/autocomplete/history_quick_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698