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

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

Issue 2874593002: Omnibox UI Experiments: Clean up naming for Vertical Margin (Closed)
Patch Set: fix 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') | 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 fe37056d252e74ee5315aacd73316aa2a61a6ad7..4bef122df76fbf997b550123a981f3d42b9cc8d1 100644
--- a/components/omnibox/browser/omnibox_field_trial.cc
+++ b/components/omnibox/browser/omnibox_field_trial.cc
@@ -80,9 +80,9 @@ const base::Feature kZeroSuggestSwapTitleAndUrl{
const base::Feature kDisplayTitleForCurrentUrl{
"OmniboxDisplayTitleForCurrentUrl", base::FEATURE_DISABLED_BY_DEFAULT};
-// Feature used for UI experiments.
-const base::Feature kUIExperiments{"OmniboxUIExperiments",
- base::FEATURE_DISABLED_BY_DEFAULT};
+// Feature used for the Vertical Margin UI experiment.
Peter Kasting 2017/05/10 20:26:34 Nit: Maybe wouldn't capitalize V, M?
tommycli 2017/05/10 20:30:39 Done.
+const base::Feature kUIExperimentVerticalMargin{
+ "OmniboxUIExperimentVerticalMargin", base::FEATURE_DISABLED_BY_DEFAULT};
Peter Kasting 2017/05/10 20:26:34 We're not very consistent about whether to put "Om
tommycli 2017/05/10 20:30:39 I would probably advocate keeping it, since this s
Peter Kasting 2017/05/10 20:31:42 Should we add it to the things that don't have it
tommycli 2017/05/10 20:35:54 I think that would be a good thing. But would that
Peter Kasting 2017/05/10 20:43:51 Maybe? I dunno. My job as reviewer is to lob the
} // namespace omnibox
@@ -740,8 +740,7 @@ const char
OmniboxFieldTrial::kZeroSuggestRedirectToChromeAdditionalFieldsParam[] =
"ZeroSuggestRedirectToChromeAdditionalFields";
-const char OmniboxFieldTrial::kUIExperimentsVerticalMarginParam[] =
- "UIExperimentsVerticalMargin";
+const char OmniboxFieldTrial::kUIVerticalMarginParam[] = "UIVerticalMargin";
// static
int OmniboxFieldTrial::kDefaultMinimumTimeBetweenSuggestQueriesMs = 100;
« 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