summaryrefslogtreecommitdiffstats
path: root/chrome/browser/autocomplete/autocomplete_match.h
diff options
context:
space:
mode:
authorsky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-01-20 17:45:01 +0000
committersky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-01-20 17:45:01 +0000
commitdff945e14e892bec8e9f8f17649ae35168076b66 (patch)
tree95ced4af337470d1b252d1b9f9fbe46d6a0c0f13 /chrome/browser/autocomplete/autocomplete_match.h
parenta5c1ec5d4fbd4bab0e1d179bffbb78d2e0dfbddf (diff)
downloadchromium_src-dff945e14e892bec8e9f8f17649ae35168076b66.zip
chromium_src-dff945e14e892bec8e9f8f17649ae35168076b66.tar.gz
chromium_src-dff945e14e892bec8e9f8f17649ae35168076b66.tar.bz2
Removes the link in the omnibox for searching history.
BUG=58975 TEST=none Review URL: http://codereview.chromium.org/6268005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71963 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/autocomplete/autocomplete_match.h')
-rw-r--r--chrome/browser/autocomplete/autocomplete_match.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/chrome/browser/autocomplete/autocomplete_match.h b/chrome/browser/autocomplete/autocomplete_match.h
index d65ff5f..88cbfee 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;