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

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

Issue 6268005: Removes the link in the omnibox for searching history. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Update attributes so that git deals with deleting pdf Created 9 years, 11 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/autocomplete.h
diff --git a/chrome/browser/autocomplete/autocomplete.h b/chrome/browser/autocomplete/autocomplete.h
index f91dbabbc27ab1dbadb189694b96dd1bb5c3b6eb..63eb19e50889c8f38788c8c793b77263528f5c80 100644
--- a/chrome/browser/autocomplete/autocomplete.h
+++ b/chrome/browser/autocomplete/autocomplete.h
@@ -504,9 +504,7 @@ class AutocompleteResult {
void Validate() const;
#endif
- // Max number of matches we'll show from the various providers. We may end
- // up showing an additional shortcut for Destinations->History, see
- // AddHistoryContentsShortcut.
+ // Max number of matches we'll show from the various providers.
static const size_t kMaxMatches;
private:
@@ -642,16 +640,6 @@ class AutocompleteController : public ACProviderListener {
// notificiations.
void CommitResult(bool notify_default_match);
- // Returns the matches from |provider| whose destination urls are not in
- // |latest_result_|.
- ACMatches GetMatchesNotInLatestResult(
- const AutocompleteProvider* provider) const;
-
- // If the HistoryContentsAutocomplete provider is done and there are more
- // matches in the database than currently shown, an entry is added to
- // |latest_result_| to show all history matches.
- void AddHistoryContentsShortcut();
-
// Updates |done_| to be accurate with respect to current providers' statuses.
void CheckIfDone();

Powered by Google App Engine
This is Rietveld 408576698