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

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

Issue 7314018: Don't autocomplete searches of >1 word if they've only been visited once and the user has not yet... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 5 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
===================================================================
--- chrome/browser/autocomplete/autocomplete.h (revision 92729)
+++ chrome/browser/autocomplete/autocomplete.h (working copy)
@@ -490,6 +490,13 @@
bool is_history_what_you_typed_match;
};
+ // Max number of matches we'll show from the various providers.
+ static const size_t kMaxMatches;
+
+ // The lowest score a match can have and still potentially become the default
+ // match for the result set.
+ static const int kLowestDefaultScore;
+
AutocompleteResult();
~AutocompleteResult();
@@ -544,9 +551,6 @@
void Validate() const;
#endif
- // Max number of matches we'll show from the various providers.
- static const size_t kMaxMatches;
-
private:
typedef std::map<AutocompleteProvider*, ACMatches> ProviderToMatches;
« no previous file with comments | « no previous file | chrome/browser/autocomplete/autocomplete.cc » ('j') | chrome/browser/autocomplete/shortcuts_provider.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698