CrOS shelf: switch to feature mechanism and enable by default
Fix a lot of tests that hardcode the size of the shelf.
Bug: 871846
Change-Id: I586da09835f03beb3e92712fbf32ebefd521a5d5
Reviewed-on: https://chromium-review.googlesource.com/1188848
Commit-Queue: Manu Cornet <[email protected]>
Reviewed-by: Xiyuan Xia <[email protected]>
Reviewed-by: Alex Newcomer <[email protected]>
Cr-Commit-Position: refs/heads/master@{#587038}
diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
index 88f84c06..5075d1fd 100644
--- a/chrome/browser/about_flags.cc
+++ b/chrome/browser/about_flags.cc
@@ -1732,7 +1732,7 @@
SINGLE_VALUE_TYPE(chromeos::switches::kShelfHoverPreviews)},
{"shelf-new-ui", flag_descriptions::kShelfNewUiName,
flag_descriptions::kShelfNewUiDescription, kOsCrOS,
- SINGLE_VALUE_TYPE(chromeos::switches::kShelfNewUi)},
+ FEATURE_VALUE_TYPE(chromeos::switches::kEnableShelfNewUi)},
{"show-taps", flag_descriptions::kShowTapsName,
flag_descriptions::kShowTapsDescription, kOsCrOS,
SINGLE_VALUE_TYPE(ash::switches::kShowTaps)},