summaryrefslogtreecommitdiffstats
path: root/chrome/browser/autocomplete/autocomplete_result.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/autocomplete/autocomplete_result.h')
-rw-r--r--chrome/browser/autocomplete/autocomplete_result.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/chrome/browser/autocomplete/autocomplete_result.h b/chrome/browser/autocomplete/autocomplete_result.h
index 69bdbed..e7fec6c 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.