Index: chrome/browser/autocomplete/autocomplete_result.h |
diff --git a/chrome/browser/autocomplete/autocomplete_result.h b/chrome/browser/autocomplete/autocomplete_result.h |
index 69bdbed24dd56b7afc89d75e817762381f00690f..e7fec6cb3bd7477a1a1fd73b453e4bad06c22a05 100644 |
--- a/chrome/browser/autocomplete/autocomplete_result.h |
+++ b/chrome/browser/autocomplete/autocomplete_result.h |
@@ -125,6 +125,11 @@ class AutocompleteResult { |
// the dropdown should be closed. |
bool ShouldHideTopMatch() const; |
+ // Returns true if the top match is a verbatim search or URL match (see |
+ // IsVerbatimType() in autocomplete_match.h), and the next match is not also |
+ // some kind of verbatim match. |
+ bool TopMatchIsVerbatimAndHasNoConsecutiveVerbatimMatches() const; |
+ |
const GURL& alternate_nav_url() const { return alternate_nav_url_; } |
// Clears the matches for this result set. |