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 2935 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2946 #endif | 2946 #endif |
2947 | 2947 |
2948 {"omnibox-ui-max-autocomplete-matches", | 2948 {"omnibox-ui-max-autocomplete-matches", |
2949 flag_descriptions::kOmniboxUIMaxAutocompleteMatchesName, | 2949 flag_descriptions::kOmniboxUIMaxAutocompleteMatchesName, |
2950 flag_descriptions::kOmniboxUIMaxAutocompleteMatchesDescription, kOsDesktop, | 2950 flag_descriptions::kOmniboxUIMaxAutocompleteMatchesDescription, kOsDesktop, |
2951 FEATURE_WITH_PARAMS_VALUE_TYPE( | 2951 FEATURE_WITH_PARAMS_VALUE_TYPE( |
2952 omnibox::kUIExperimentMaxAutocompleteMatches, | 2952 omnibox::kUIExperimentMaxAutocompleteMatches, |
2953 kOmniboxUIMaxAutocompleteMatchesVariations, | 2953 kOmniboxUIMaxAutocompleteMatchesVariations, |
2954 "OmniboxUIMaxAutocompleteVariations")}, | 2954 "OmniboxUIMaxAutocompleteVariations")}, |
2955 | 2955 |
| 2956 {"omnibox-ui-vertical-layout", |
| 2957 flag_descriptions::kOmniboxUIVerticalLayoutName, |
| 2958 flag_descriptions::kOmniboxUIVerticalLayoutDescription, kOsDesktop, |
| 2959 FEATURE_VALUE_TYPE(omnibox::kUIExperimentVerticalLayout)}, |
| 2960 |
2956 {"omnibox-ui-vertical-margin", | 2961 {"omnibox-ui-vertical-margin", |
2957 flag_descriptions::kOmniboxUIVerticalMarginName, | 2962 flag_descriptions::kOmniboxUIVerticalMarginName, |
2958 flag_descriptions::kOmniboxUIVerticalMarginDescription, kOsDesktop, | 2963 flag_descriptions::kOmniboxUIVerticalMarginDescription, kOsDesktop, |
2959 FEATURE_WITH_PARAMS_VALUE_TYPE(omnibox::kUIExperimentVerticalMargin, | 2964 FEATURE_WITH_PARAMS_VALUE_TYPE(omnibox::kUIExperimentVerticalMargin, |
2960 kOmniboxUIVerticalMarginVariations, | 2965 kOmniboxUIVerticalMarginVariations, |
2961 "OmniboxUIVerticalMarginVariations")}, | 2966 "OmniboxUIVerticalMarginVariations")}, |
2962 | 2967 |
2963 {"use-suggestions-even-if-few", | 2968 {"use-suggestions-even-if-few", |
2964 flag_descriptions::kUseSuggestionsEvenIfFewFeatureName, | 2969 flag_descriptions::kUseSuggestionsEvenIfFewFeatureName, |
2965 flag_descriptions::kUseSuggestionsEvenIfFewFeatureDescription, kOsAll, | 2970 flag_descriptions::kUseSuggestionsEvenIfFewFeatureDescription, kOsAll, |
(...skipping 256 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3222 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; | 3227 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; |
3223 | 3228 |
3224 const FeatureEntry* GetFeatureEntries(size_t* count) { | 3229 const FeatureEntry* GetFeatureEntries(size_t* count) { |
3225 *count = arraysize(kFeatureEntries); | 3230 *count = arraysize(kFeatureEntries); |
3226 return kFeatureEntries; | 3231 return kFeatureEntries; |
3227 } | 3232 } |
3228 | 3233 |
3229 } // namespace testing | 3234 } // namespace testing |
3230 | 3235 |
3231 } // namespace about_flags | 3236 } // namespace about_flags |
OLD | NEW |