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

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: reformat 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
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..e133003e0a8788403a031f76d878b68fac4bd836 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 protocol as a UI experiment.
+const base::Feature kUIExperimentHideSuggestionUrlProtocol{
+ "OmniboxUIExperimentHideSuggestionUrlProtocol",
+ base::FEATURE_DISABLED_BY_DEFAULT};
+
+// Feature used for hiding the suggestion URL subdomain as a UI experiment.
+// This only hides some special non-informative subdomains such as "www" or "m".
Justin Donnelly 2017/06/13 20:58:12 And then s/non-/trivially/ here.
tommycli 2017/06/13 21:47:09 Done.
+const base::Feature kUIExperimentHideSuggestionUrlSubdomain{
+ "OmniboxUIExperimentHideSuggestionUrlSubdomain",
+ 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};

Powered by Google App Engine
This is Rietveld 408576698