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

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

Issue 67693004: Omnibox: Don't Let Users Escape Keyword Mode Accidentally (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix incorrect comment Created 7 years, 1 month 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/search_provider.h
diff --git a/chrome/browser/autocomplete/search_provider.h b/chrome/browser/autocomplete/search_provider.h
index 9b63da08e3a272b5da17be58024c1696f08b85f3..c3a70ea64690725a3806af7f3a772ef7dca933a7 100644
--- a/chrome/browser/autocomplete/search_provider.h
+++ b/chrome/browser/autocomplete/search_provider.h
@@ -428,7 +428,9 @@ class SearchProvider : public AutocompleteProvider,
// Checks if suggested relevances violate certain expected constraints.
// See UpdateMatches() for the use and explanation of these constraints.
- bool IsTopMatchNavigationInKeywordMode(
+ bool IsTopMatchNavigation(
+ bool autocomplete_result_will_reorder_for_default_match) const;
+ bool HasKeywordMatchThatCanBeDefault(
bool autocomplete_result_will_reorder_for_default_match) const;
bool IsTopMatchScoreTooLow(
bool autocomplete_result_will_reorder_for_default_match) const;
« no previous file with comments | « no previous file | chrome/browser/autocomplete/search_provider.cc » ('j') | chrome/browser/autocomplete/search_provider.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698