Chromium Code Reviews| 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 2964 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 2975 FEATURE_WITH_PARAMS_VALUE_TYPE( | 2975 FEATURE_WITH_PARAMS_VALUE_TYPE( |
| 2976 omnibox::kUIExperimentMaxAutocompleteMatches, | 2976 omnibox::kUIExperimentMaxAutocompleteMatches, |
| 2977 kOmniboxUIMaxAutocompleteMatchesVariations, | 2977 kOmniboxUIMaxAutocompleteMatchesVariations, |
| 2978 "OmniboxUIMaxAutocompleteVariations")}, | 2978 "OmniboxUIMaxAutocompleteVariations")}, |
| 2979 | 2979 |
| 2980 {"omnibox-ui-vertical-layout", | 2980 {"omnibox-ui-vertical-layout", |
| 2981 flag_descriptions::kOmniboxUIVerticalLayoutName, | 2981 flag_descriptions::kOmniboxUIVerticalLayoutName, |
| 2982 flag_descriptions::kOmniboxUIVerticalLayoutDescription, kOsDesktop, | 2982 flag_descriptions::kOmniboxUIVerticalLayoutDescription, kOsDesktop, |
| 2983 FEATURE_VALUE_TYPE(omnibox::kUIExperimentVerticalLayout)}, | 2983 FEATURE_VALUE_TYPE(omnibox::kUIExperimentVerticalLayout)}, |
| 2984 | 2984 |
| 2985 {"omnibox-ui-suggestions-dropdown-width", | |
|
Peter Kasting
2017/06/05 18:25:44
Nit: The name of the flag/associated variables sou
tommycli
2017/06/05 22:39:20
Done.
| |
| 2986 flag_descriptions::kOmniboxUISuggestionsDropdownWidthName, | |
| 2987 flag_descriptions::kOmniboxUISuggestionsDropdownWidthDescription, | |
| 2988 kOsDesktop, | |
| 2989 FEATURE_VALUE_TYPE(omnibox::kUIExperimentSuggestionsDropdownWidth)}, | |
| 2990 | |
| 2985 {"omnibox-ui-vertical-margin", | 2991 {"omnibox-ui-vertical-margin", |
| 2986 flag_descriptions::kOmniboxUIVerticalMarginName, | 2992 flag_descriptions::kOmniboxUIVerticalMarginName, |
| 2987 flag_descriptions::kOmniboxUIVerticalMarginDescription, kOsDesktop, | 2993 flag_descriptions::kOmniboxUIVerticalMarginDescription, kOsDesktop, |
| 2988 FEATURE_WITH_PARAMS_VALUE_TYPE(omnibox::kUIExperimentVerticalMargin, | 2994 FEATURE_WITH_PARAMS_VALUE_TYPE(omnibox::kUIExperimentVerticalMargin, |
| 2989 kOmniboxUIVerticalMarginVariations, | 2995 kOmniboxUIVerticalMarginVariations, |
| 2990 "OmniboxUIVerticalMarginVariations")}, | 2996 "OmniboxUIVerticalMarginVariations")}, |
| 2991 | 2997 |
| 2992 {"use-suggestions-even-if-few", | 2998 {"use-suggestions-even-if-few", |
| 2993 flag_descriptions::kUseSuggestionsEvenIfFewFeatureName, | 2999 flag_descriptions::kUseSuggestionsEvenIfFewFeatureName, |
| 2994 flag_descriptions::kUseSuggestionsEvenIfFewFeatureDescription, kOsAll, | 3000 flag_descriptions::kUseSuggestionsEvenIfFewFeatureDescription, kOsAll, |
| (...skipping 263 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 3258 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; | 3264 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; |
| 3259 | 3265 |
| 3260 const FeatureEntry* GetFeatureEntries(size_t* count) { | 3266 const FeatureEntry* GetFeatureEntries(size_t* count) { |
| 3261 *count = arraysize(kFeatureEntries); | 3267 *count = arraysize(kFeatureEntries); |
| 3262 return kFeatureEntries; | 3268 return kFeatureEntries; |
| 3263 } | 3269 } |
| 3264 | 3270 |
| 3265 } // namespace testing | 3271 } // namespace testing |
| 3266 | 3272 |
| 3267 } // namespace about_flags | 3273 } // namespace about_flags |
| OLD | NEW |