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

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

Issue 6268005: Removes the link in the omnibox for searching history. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address review comments 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_match.h
diff --git a/chrome/browser/autocomplete/autocomplete_match.h b/chrome/browser/autocomplete/autocomplete_match.h
index d65ff5f606052f722de99ad563bad26d00bb0f04..88cbfeee30e2875849527e742eada435eeff048f 100644
--- a/chrome/browser/autocomplete/autocomplete_match.h
+++ b/chrome/browser/autocomplete/autocomplete_match.h
@@ -77,8 +77,6 @@ struct AutocompleteMatch {
// containing the input.
SEARCH_SUGGEST, // A suggested search (with the default engine).
SEARCH_OTHER_ENGINE, // A search with a non-default engine.
- OPEN_HISTORY_PAGE, // A synthetic result that opens the history page
- // to search for the input.
NUM_TYPES,
};
@@ -135,13 +133,6 @@ struct AutocompleteMatch {
// providers, so different providers must be carefully tuned to supply
// matches with appropriate relevance.
//
- // If the relevance is negative, it will only be displayed if there are not
- // enough non-negative items in all the providers to max out the popup. In
- // this case, the relevance of the additional items will be inverted so they
- // can be mixed in with the rest of the relevances. This allows a provider
- // to group its matches, having the added items appear intermixed with its
- // other matches.
- //
// TODO(pkasting): http://b/1111299 This should be calculated algorithmically,
// rather than being a fairly fixed value defined by the table above.
int relevance;

Powered by Google App Engine
This is Rietveld 408576698