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

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

Issue 2873423002: Omnibox UI Experiments: Add flag to change max autocomplete matches. (Closed)
Patch Set: fix merge' 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
« no previous file with comments | « components/omnibox/browser/omnibox_field_trial.h ('k') | components/omnibox/browser/search_provider.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 ca7554b7a8d7d124417c644ab19801a74749821c..f73625412a28e18887f8ed3f6f706db14526e5c0 100644
--- a/components/omnibox/browser/omnibox_field_trial.cc
+++ b/components/omnibox/browser/omnibox_field_trial.cc
@@ -81,6 +81,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};
@@ -761,6 +766,8 @@ const char
OmniboxFieldTrial::kZeroSuggestRedirectToChromeAdditionalFieldsParam[] =
"ZeroSuggestRedirectToChromeAdditionalFields";
+const char OmniboxFieldTrial::kUIMaxAutocompleteMatchesParam[] =
+ "UIMaxAutocompleteMatches";
const char OmniboxFieldTrial::kUIVerticalMarginParam[] = "UIVerticalMargin";
// static
« no previous file with comments | « components/omnibox/browser/omnibox_field_trial.h ('k') | components/omnibox/browser/search_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698