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

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

Issue 2939563002: Omnibox UI Experiments: Add feature flags for 3 URL elision experiments. (Closed)
Patch Set: Replace 'Protocol' with 'Scheme' Created 3 years, 6 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') | tools/metrics/histograms/enums.xml » ('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 a814bb1d1190aa5b909828e9b9d1a204e1b322c9..8fd924055d21ef8b5b21704ec5e3bd233ed28b9d 100644
--- a/components/omnibox/browser/omnibox_field_trial.cc
+++ b/components/omnibox/browser/omnibox_field_trial.cc
@@ -91,6 +91,22 @@ const base::Feature kUIExperimentMaxAutocompleteMatches{
"OmniboxUIExperimentMaxAutocompleteMatches",
base::FEATURE_DISABLED_BY_DEFAULT};
+// Feature used for hiding the suggestion URL path as a UI experiment.
+const base::Feature kUIExperimentHideSuggestionUrlPath{
+ "OmniboxUIExperimentHideSuggestionUrlPath",
+ base::FEATURE_DISABLED_BY_DEFAULT};
+
+// Feature used for hiding the suggestion URL scheme as a UI experiment.
+const base::Feature kUIExperimentHideSuggestionUrlScheme{
+ "OmniboxUIExperimentHideSuggestionUrlScheme",
+ base::FEATURE_DISABLED_BY_DEFAULT};
+
+// Feature used for hiding the suggestion URL subdomain as a UI experiment.
+// This only hides some trivially informative subdomains such as "www" or "m".
+const base::Feature kUIExperimentHideSuggestionUrlTrivialSubdomains{
+ "OmniboxUIExperimentHideSuggestionUrlTrivialSubdomains",
+ base::FEATURE_DISABLED_BY_DEFAULT};
+
// Feature used for the omnibox narrow suggestions dropdown UI experiment.
const base::Feature kUIExperimentNarrowDropdown{
"OmniboxUIExperimentNarrowDropdown", base::FEATURE_DISABLED_BY_DEFAULT};
« no previous file with comments | « components/omnibox/browser/omnibox_field_trial.h ('k') | tools/metrics/histograms/enums.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698