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

Unified Diff: components/omnibox/browser/omnibox_field_trial.cc

Issue 2873423002: Omnibox UI Experiments: Add flag to change max autocomplete matches. (Closed)
Patch Set: format Created 3 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/browser/omnibox_field_trial.cc
diff --git a/components/omnibox/browser/omnibox_field_trial.cc b/components/omnibox/browser/omnibox_field_trial.cc
index 7d652f9194822cebe2c5b2fa373f56f6e0981f0e..e106fa9090474565db539e6be4686147f8735dc4 100644
--- a/components/omnibox/browser/omnibox_field_trial.cc
+++ b/components/omnibox/browser/omnibox_field_trial.cc
@@ -80,6 +80,11 @@ const base::Feature kZeroSuggestSwapTitleAndUrl{
const base::Feature kDisplayTitleForCurrentUrl{
"OmniboxDisplayTitleForCurrentUrl", base::FEATURE_DISABLED_BY_DEFAULT};
+// Feature used for the max autocomplete matches UI experiment.
+const base::Feature kUIExperimentMaxAutocompleteMatches{
+ "OmniboxUIExperimentMaxAutocompleteMatches",
+ base::FEATURE_DISABLED_BY_DEFAULT};
+
// Feature used for the vertical margin UI experiment.
const base::Feature kUIExperimentVerticalMargin{
"OmniboxUIExperimentVerticalMargin", base::FEATURE_DISABLED_BY_DEFAULT};
@@ -740,6 +745,8 @@ const char
OmniboxFieldTrial::kZeroSuggestRedirectToChromeAdditionalFieldsParam[] =
"ZeroSuggestRedirectToChromeAdditionalFields";
+const char OmniboxFieldTrial::kUIMaxAutocompleteMatchesParam[] =
+ "UIMaxAutocompleteMatches";
const char OmniboxFieldTrial::kUIVerticalMarginParam[] = "UIVerticalMargin";
// static

Powered by Google App Engine
This is Rietveld 408576698