OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "chrome/browser/about_flags.h" | 5 #include "chrome/browser/about_flags.h" |
6 | 6 |
7 #include <iterator> | 7 #include <iterator> |
8 #include <map> | 8 #include <map> |
9 #include <set> | 9 #include <set> |
10 #include <utility> | 10 #include <utility> |
(...skipping 2978 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2989 FEATURE_WITH_PARAMS_VALUE_TYPE( | 2989 FEATURE_WITH_PARAMS_VALUE_TYPE( |
2990 omnibox::kUIExperimentMaxAutocompleteMatches, | 2990 omnibox::kUIExperimentMaxAutocompleteMatches, |
2991 kOmniboxUIMaxAutocompleteMatchesVariations, | 2991 kOmniboxUIMaxAutocompleteMatchesVariations, |
2992 "OmniboxUIMaxAutocompleteVariations")}, | 2992 "OmniboxUIMaxAutocompleteVariations")}, |
2993 | 2993 |
2994 {"omnibox-ui-vertical-layout", | 2994 {"omnibox-ui-vertical-layout", |
2995 flag_descriptions::kOmniboxUIVerticalLayoutName, | 2995 flag_descriptions::kOmniboxUIVerticalLayoutName, |
2996 flag_descriptions::kOmniboxUIVerticalLayoutDescription, kOsDesktop, | 2996 flag_descriptions::kOmniboxUIVerticalLayoutDescription, kOsDesktop, |
2997 FEATURE_VALUE_TYPE(omnibox::kUIExperimentVerticalLayout)}, | 2997 FEATURE_VALUE_TYPE(omnibox::kUIExperimentVerticalLayout)}, |
2998 | 2998 |
| 2999 {"omnibox-ui-narrow-dropdown", |
| 3000 flag_descriptions::kOmniboxUINarrowDropdownName, |
| 3001 flag_descriptions::kOmniboxUINarrowDropdownDescription, kOsDesktop, |
| 3002 FEATURE_VALUE_TYPE(omnibox::kUIExperimentNarrowDropdown)}, |
| 3003 |
2999 {"omnibox-ui-vertical-margin", | 3004 {"omnibox-ui-vertical-margin", |
3000 flag_descriptions::kOmniboxUIVerticalMarginName, | 3005 flag_descriptions::kOmniboxUIVerticalMarginName, |
3001 flag_descriptions::kOmniboxUIVerticalMarginDescription, kOsDesktop, | 3006 flag_descriptions::kOmniboxUIVerticalMarginDescription, kOsDesktop, |
3002 FEATURE_WITH_PARAMS_VALUE_TYPE(omnibox::kUIExperimentVerticalMargin, | 3007 FEATURE_WITH_PARAMS_VALUE_TYPE(omnibox::kUIExperimentVerticalMargin, |
3003 kOmniboxUIVerticalMarginVariations, | 3008 kOmniboxUIVerticalMarginVariations, |
3004 "OmniboxUIVerticalMarginVariations")}, | 3009 "OmniboxUIVerticalMarginVariations")}, |
3005 | 3010 |
3006 {"use-suggestions-even-if-few", | 3011 {"use-suggestions-even-if-few", |
3007 flag_descriptions::kUseSuggestionsEvenIfFewFeatureName, | 3012 flag_descriptions::kUseSuggestionsEvenIfFewFeatureName, |
3008 flag_descriptions::kUseSuggestionsEvenIfFewFeatureDescription, kOsAll, | 3013 flag_descriptions::kUseSuggestionsEvenIfFewFeatureDescription, kOsAll, |
(...skipping 263 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3272 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; | 3277 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; |
3273 | 3278 |
3274 const FeatureEntry* GetFeatureEntries(size_t* count) { | 3279 const FeatureEntry* GetFeatureEntries(size_t* count) { |
3275 *count = arraysize(kFeatureEntries); | 3280 *count = arraysize(kFeatureEntries); |
3276 return kFeatureEntries; | 3281 return kFeatureEntries; |
3277 } | 3282 } |
3278 | 3283 |
3279 } // namespace testing | 3284 } // namespace testing |
3280 | 3285 |
3281 } // namespace about_flags | 3286 } // namespace about_flags |
OLD | NEW |