diff options
author | pkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-10-08 21:55:42 +0000 |
---|---|---|
committer | pkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-10-08 21:55:42 +0000 |
commit | 337669856b5dcc1642c8f8270404b9d62590b5d4 (patch) | |
tree | 6da2e1d8efcea73ac89cae36b57bc994d1589a65 /chrome/browser | |
parent | 5e24a9861f56772b42bb173554e55a831f98f746 (diff) | |
download | chromium_src-337669856b5dcc1642c8f8270404b9d62590b5d4.zip chromium_src-337669856b5dcc1642c8f8270404b9d62590b5d4.tar.gz chromium_src-337669856b5dcc1642c8f8270404b9d62590b5d4.tar.bz2 |
This file was supposed to get committed during my last refactoring chunk but got left out by mistake.
Review URL: http://codereview.chromium.org/5659
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3061 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser')
-rw-r--r-- | chrome/browser/autocomplete/keyword_provider.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/chrome/browser/autocomplete/keyword_provider.h b/chrome/browser/autocomplete/keyword_provider.h index 657aaeb..b39b90f 100644 --- a/chrome/browser/autocomplete/keyword_provider.h +++ b/chrome/browser/autocomplete/keyword_provider.h @@ -83,11 +83,12 @@ class KeywordProvider : public AutocompleteProvider { AutocompleteMatch* match); // Determines the relevance for some input, given its type, whether the user - // typed the complete keyword, and whether the keyword is a bookmark keyword - // (i.e. one that does not support replacement). + // typed the complete keyword, and whether the keyword needs query text (true + // if the keyword supports replacement and the user isn't in "prefer keyword + // matches" mode). static int CalculateRelevance(AutocompleteInput::Type type, bool complete, - bool is_bookmark_keyword); + bool no_query_text_needed); // Creates a fully marked-up AutocompleteMatch from the user's input. AutocompleteMatch CreateAutocompleteMatch( |