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

Unified Diff: chrome/browser/autocomplete/history_quick_provider.cc

Issue 231023006: Omnibox: Remove HQP Default Match Line that isn't true (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/autocomplete/history_quick_provider.cc
diff --git a/chrome/browser/autocomplete/history_quick_provider.cc b/chrome/browser/autocomplete/history_quick_provider.cc
index 0f0405f918c96770f95cfec4c0708713fcf5016a..63be4d2ad822d3bad019101e416bc72506112c47 100644
--- a/chrome/browser/autocomplete/history_quick_provider.cc
+++ b/chrome/browser/autocomplete/history_quick_provider.cc
@@ -64,13 +64,9 @@ void HistoryQuickProvider::Start(const AutocompleteInput& input,
if (disabled_)
return;
- // Don't bother with INVALID and FORCED_QUERY. Also pass when looking for
- // BEST_MATCH and there is no inline autocompletion because none of the HQP
- // matches can score highly enough to qualify.
+ // Don't bother with INVALID and FORCED_QUERY.
if ((input.type() == AutocompleteInput::INVALID) ||
- (input.type() == AutocompleteInput::FORCED_QUERY) ||
- (input.matches_requested() == AutocompleteInput::BEST_MATCH &&
- input.prevent_inline_autocomplete()))
+ (input.type() == AutocompleteInput::FORCED_QUERY))
return;
autocomplete_input_ = input;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698