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

Unified Diff: components/omnibox/autocomplete_match.h

Issue 1154063003: removing ShouldHideTopMatch (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Review changes Created 5 years, 7 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: components/omnibox/autocomplete_match.h
diff --git a/components/omnibox/autocomplete_match.h b/components/omnibox/autocomplete_match.h
index 53fa3417db5cdf03c1460ecc2e346acc679887ce..5b3c277683bb1be460d57de6ac7d0cd6f4236be7 100644
--- a/components/omnibox/autocomplete_match.h
+++ b/components/omnibox/autocomplete_match.h
@@ -246,16 +246,6 @@ struct AutocompleteMatch {
// dictionary. Returns the empty string if no such value exists.
std::string GetAdditionalInfo(const std::string& property) const;
- // Returns whether this match is a "verbatim" match: a URL navigation directly
- // to the user's input, a search for the user's input with the default search
- // engine, or a "keyword mode" search for the query portion of the user's
- // input. Note that rare or unusual types that could be considered verbatim,
- // such as keyword engine matches or extension-provided matches, aren't
- // detected by this IsVerbatimType, as the user will not be able to infer
- // what will happen when he or she presses enter in those cases if the match
- // is not shown.
- bool IsVerbatimType() const;
-
// Returns whether this match or any duplicate of this match can be deleted.
// This is used to decide whether we should call DeleteMatch().
bool SupportsDeletion() const;

Powered by Google App Engine
This is Rietveld 408576698