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

Unified Diff: components/search/search.h

Issue 450663002: Move ShouldHideTopVerbatimMatch to components/search (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 4 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/search/search.h
diff --git a/components/search/search.h b/components/search/search.h
index df27e608350e1a384d557b0d8e4d94c314b9a56f..6cc792772502ef5bd415e4a0279c1bd18f37eb3c 100644
--- a/components/search/search.h
+++ b/components/search/search.h
@@ -54,6 +54,11 @@ bool GetBoolValueForFlagWithDefault(const std::string& flag,
bool default_value,
const FieldTrialFlags& flags);
+// Returns true if 'hide_verbatim' flag is enabled in field trials
+// to hide the top match in the native suggestions dropdown if it is a verbatim
+// match. See comments on ShouldHideTopMatch in autocomplete_result.h.
+bool ShouldHideTopVerbatimMatch();
+
} // namespace chrome
#endif // COMPONENTS_SEARCH_SEARCH_H_

Powered by Google App Engine
This is Rietveld 408576698